# Zero\-configuration Go backend support

**Published:** April 2, 2026 | **Authors:** Ricardo Gonzalez, Florentin Eckl

---

Go API backends can now be deployed on Vercel with zero-configuration deployment.

**main.go**
```bash
package main
import (
	"fmt"
	"net/http"
	"os"
)
func main() {
	port := os.Getenv("PORT")
	if port == "" {
		port = "3000"
	}
	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
		fmt.Fprintf(w, "Hello World")
	})
	addr := ":" + port
	fmt.Printf("Listening on %s\n", addr)
	http.ListenAndServe(addr, nil)
}
```

Vercel now recognizes Go servers as first-class backends and automatically provisions the right resources and configures your application without redirects in `vercel.json` or the `/api` folder convention.

Backends on Vercel use [Fluid compute](https://vercel.com/fluid) with [Active CPU pricing](https://vercel.com/blog/introducing-active-cpu-pricing-for-fluid-compute) by default. Your Go API scales automatically with traffic, and you pay only for active CPU time rather than idle capacity.

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)