Coder
Coder is an open source platform for self-hosted cloud development environments — a GitHub Codespaces alternative that provisions consistent, ready-to-code workspaces for developers and AI coding agents on your own cloud or on-premises infrastructure using Terraform.
What is Coder?
Coder is an open source platform for provisioning cloud development environments on infrastructure you control. You define a workspace as code with Terraform — the VM or container, tools, and dependencies — and developers (or AI coding agents) launch a ready-to-code environment in seconds, reachable from VS Code, JetBrains IDEs, or a browser.
What is Coder best for?
Platform and engineering teams that need standardized, reproducible dev environments but can’t send code to a third-party SaaS — typically because of security, compliance, or data-residency requirements. It fits organizations with the Terraform and infrastructure skills to run a self-hosted control plane, and increasingly those that want AI coding agents running inside governed, audited boundaries.
What can Coder do?
- Define workspaces as code with Terraform, targeting AWS EC2, Kubernetes, Docker, Azure, GCP, or bare metal
- Connect from VS Code, JetBrains IDEs, a web terminal, or SSH over secure WireGuard tunnels
- Auto-stop idle workspaces to cut compute costs, with scheduled start/stop policies
- Run AI coding agents on your own infrastructure with centralized governance and audit logging
- Deploy on-premises or fully air-gapped, with no code leaving your network
- Connect to multiple LLM providers without storing credentials inside workspaces
Is Coder free?
Yes — the core is free and open source under AGPL-3.0, and you only pay for the infrastructure you run it on. Coder is open-core: the paid Premium tier (billed annually per user) adds enterprise features like multi-organization access controls, resource quotas, audit logging, high availability, workspace proxies, OIDC group/role sync, and SLA-backed support, plus optional AI governance add-ons.
Where does Coder fall short?
- It’s a self-hosted control plane, not a one-click SaaS — expect real setup and ongoing operations work, including a PostgreSQL 13+ database and Terraform templates to maintain.
- Many governance and scale features (audit logging, multi-org controls, high availability, RBAC sync, support SLAs) are Premium-only, so larger or regulated teams will likely need the paid tier.
- There’s no managed cloud option: you provision, secure, and pay for all the underlying compute and storage yourself.
What does Coder replace?
Coder is a self-hosted alternative to GitHub Codespaces and other managed cloud development environments. It delivers the same on-demand, consistent workspaces, but runs on your own infrastructure — so you keep code in-network and pay for raw compute instead of per-hour managed pricing.
FAQ
Is Coder open source? Yes. The core is licensed under AGPL-3.0 and the source is public on GitHub. It follows an open-core model, so some enterprise features sit behind a separate paid Premium license.
Can I self-host Coder for free? Yes — self-hosting the open source edition is free, and you only pay for the servers it runs on. You can try it locally with Docker, but production needs a PostgreSQL 13+ database.
Is Coder a good GitHub Codespaces alternative? For teams that need self-hosting, data residency, or air-gapped deployment, yes — it gives more control and no per-hour billing. If you want a zero-setup managed service tied to GitHub, Codespaces is simpler.
What do I need to run Coder? Infrastructure you control (a cloud account, Kubernetes cluster, or servers), a PostgreSQL 13+ database for production, and Terraform skills to author and maintain workspace templates.