Developer Tools · Version Control & Collaboration
Coder
Self-hosted cloud development environments for teams and AI agents
Coder is a self-hosted platform for Terraform-defined cloud development environments and AI coding agents. It targets development teams using Kubernetes, EC2, Docker, or similar infrastructure, with Community under AGPL-3.0 and paid Premium plans for enterprise needs. Coder does not present a standard hosted SaaS version as its primary deployment model.
Key facts
- License
- AGPL-3.0
- Main language
- Go, TypeScript, JavaScript, HCL, Terraform, SQL, Shell
- Maintainer
- Coder
- First released
- 2021
- Latest release
- v2.38.1, October 20, 2026
- GitHub stars
- About 17.1k, October 2026
- Hosted option
- No primary hosted version; Community is free to self-host, Premium and AI Premium use custom enterprise pricing
What Coder is
Coder is a self-hosted platform for cloud development environments and AI coding agents. Coder maintains the project, which was created in 2021 and has about 17,100 GitHub stars and 1,600 forks. The repository lists contributors including kylecarbs, mafredri, johnstcn, Emyrk, spikecurtis, and matifali. Coder positions the product around controlled environments for developers and their agents, with workspaces defined through Terraform and connected through a WireGuard tunnel. The Community edition is open source and free to install. The project also sells Premium and AI Premium plans for enterprises that need support, governance, high availability, and expanded agent capabilities. Its intended users are teams that want control over development infrastructure rather than a vendor-managed coding workspace.
How it works
Coder turns a workspace definition into a repeatable development environment. Administrators write Terraform templates describing infrastructure, tools, dependencies, and configuration, then users provision workspaces on EC2 virtual machines, Kubernetes pods, Docker containers, or other supported targets. Developers can connect through VS Code, JetBrains, Cursor, a web terminal, remote desktop, or SSH. Coder automatically shuts down idle resources, and administrators can apply quotas, scheduling rules, identity policies, and audit logging. The platform also supports Git providers, OIDC identity providers, REST APIs, a CLI, Prometheus metrics, dev containers, and GitHub Actions. Teams can run coding agents inside isolated workspaces and connect models from Anthropic, OpenAI, Google, Bedrock, or self-hosted services.
Architecture and recent releases
Coder is written mainly in Go, with Terraform and HCL central to workspace provisioning and configuration. Its deployment model separates the Coder control plane from workspace infrastructure, allowing teams to place environments on EC2, Kubernetes, Docker, or related compute. Connections use a WireGuard tunnel, while production installations use PostgreSQL 13 or later and an external access URL. The repository lists TypeScript, JavaScript, CSS, HTML, SQL, shell, PowerShell, and other supporting languages alongside Go. The observed release page lists v2.38.1 from October 20, 2026. Current documentation also describes Coder Agents, an AI Gateway, workspace proxies, external provisioners, and a self-hosted extension marketplace for restricted networks.
License and pricing
Coder is licensed under AGPL-3.0. The license permits commercial use, modification, and redistribution, but distribution of modified covered software carries source-sharing obligations under the license. Private internal use does not by itself trigger distribution obligations, while teams offering modified functionality to users over a network should review AGPL requirements with counsel. Community is free and includes unlimited self-hosted workspaces, core IDE access, Terraform templates, and AI governance. Premium is priced per user annually through a sales process and adds enterprise support, high availability, workspace proxies, external provisioners, multi-organization access control, and expanded policy features. AI Premium uses custom pricing and adds unlimited Coder Agents, API-triggered agents, isolated workflows, and model connections.
Limitations and how it compares
Coder requires more infrastructure ownership than a managed development environment. Operators provision compute, databases, networking, identity integration, backups, upgrades, and workspace policy, while the workspaces themselves still create cloud costs. Gitpod and GitHub Codespaces offer more managed onboarding, while code-server provides a narrower browser-based VS Code experience without Coder's Terraform workspace control plane. Open source platforms such as DevPod can provide portable development environments, but Coder is more focused on centralized administration, identity, quotas, and team-wide provisioning. Choose Coder when a team needs self-hosted control across several compute backends and wants policy-managed developer or AI workspaces. Choose a managed alternative when reducing platform operations matters more than infrastructure control.
Main features
- Terraform Workspaces. Define repeatable development environments as Terraform templates across supported infrastructure such as EC2, Kubernetes, and Docker.
- Multi-IDE Access. Connect to workspaces through VS Code, JetBrains, Cursor, web terminals, remote desktop, and SSH.
- Idle Shutdown. Automatically stop unused workspace resources to reduce infrastructure spending and enforce scheduling policies.
- AI Coding Agents. Run supported coding agents inside Coder workspaces while keeping agent execution and credentials within controlled infrastructure.
- Identity Controls. Use OIDC, roles, groups, quotas, audit logging, and organization policies to govern workspace access.
- Operational APIs. Manage deployments and workspaces through the web interface, command-line client, REST API, Terraform provider, and Prometheus metrics.
- Private Networking. Connect users and workspaces through a WireGuard tunnel instead of exposing every development environment directly.
Self-hosting Coder
Coder provides an install script for Linux and macOS, Windows installers and binaries, and Docker images. A quick evaluation can run the server with its built-in database, while production deployments require PostgreSQL 13 or later and an external access URL. Workspace infrastructure can use EC2, Kubernetes, Docker, or other configured targets through Terraform templates. The documentation does not specify a universal minimum CPU or memory requirement, because sizing depends on users, workspaces, agents, provisioners, and selected infrastructure. Operators should plan database backups, workspace data protection, upgrade testing, access URL continuity, and recovery procedures before production use.
Strengths
- Terraform templates make workspace configuration repeatable across EC2, Kubernetes, and Docker.
- Developers can use established desktop and browser IDEs instead of adopting a proprietary editor.
- Idle shutdown, quotas, and scheduling policies can limit unused workspace infrastructure costs.
- Community includes unlimited self-hosted workspaces and core platform features.
Drawbacks
- Operators still provision, secure, monitor, and pay for workspace infrastructure.
- Production deployments require PostgreSQL 13 or later and an externally reachable access URL.
- Premium enterprise capabilities use sales-led pricing rather than published fixed rates.
What teams replace with it
Teams usually evaluate Coder when they want to move off GitHub Codespaces, Gitpod, Amazon Web Services Cloud9.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Coder
- DevPod
- OpenVSCode Server
- code-server
- Eclipse Che
- Theia
Frequently asked questions
Is Coder free?
Coder Community is free and open source under AGPL-3.0. The pricing page describes unlimited self-hosted workspaces, development through supported IDEs, Terraform-defined environments, and community support. Premium and AI Premium are paid enterprise offerings. Coder itself does not provide a standard low-cost hosted workspace plan in the published pricing material, so users must budget for the infrastructure running the control plane and workspaces.
Can businesses use Coder commercially?
Yes. AGPL-3.0 permits commercial use, modification, and redistribution, subject to its license conditions. Distribution of modified covered software can create source-sharing obligations, while private internal use is treated differently from distribution. Teams offering modified functionality over a network should review the license carefully with legal counsel. Coder also offers paid Premium and AI Premium plans for enterprise support and additional capabilities.
What does Coder require for self-hosting?
Coder can be installed with an install script on Linux and macOS, Windows installers and binaries, or Docker images. Evaluation can use the built-in database. Production deployments require PostgreSQL 13 or later and an external access URL. Workspace compute is separate and can use EC2, Kubernetes, Docker, or other Terraform-managed infrastructure. The project does not publish one universal minimum hardware specification.
How does Coder compare with Gitpod?
Coder emphasizes self-hosted control, Terraform-defined workspaces, identity policies, quotas, audit logging, and multiple workspace backends. Gitpod is commonly selected for a more managed cloud development workflow. Coder therefore fits teams that want to operate infrastructure and control where workspaces run. Gitpod is a closer fit when reducing platform administration and adopting a managed developer environment are higher priorities.
Does Coder protect workspace and AI data?
Coder connects workspaces through a WireGuard tunnel and supports identity, audit logging, quotas, network-isolated agent workspaces, and model governance features. Its AI material says agents can run on self-hosted infrastructure without placing LLM credentials in workspaces. Actual privacy depends on deployment configuration, workspace network access, selected model provider, logging settings, and the policies applied by the operating team.
Similar projects to compare
- ForgejoGPL-3.0-or-laterForgejo is a lightweight, self-hosted software forge for Git repositories, issues, pull requests, wikis, packages, and team collaboration. The community maintains it under GPL-3.0-or-later for version 9 and later, with Codeberg e.V. providing resources and domain custody. No official paid hosted plan is listed, although public Forgejo instances exist.
- GitButlerFSL-1.1-MIT (source-available)GitButler is a desktop Git client and command line tool for developers managing parallel branches, stacked changes, and pull request workflows. Maintained by GitButler Inc, it uses FSL 1.1 MIT, allowing commercial internal use while restricting competing services before a two year MIT conversion. The client is free, and GitButler Cloud provides account based features.
- GitCometAGPL-3.0-onlyGitComet is an AGPL 3.0 desktop Git interface for Linux, macOS, and Windows, maintained by AutoExplore Oy. It targets developers who want repository browsing, staging, history, diffs, worktrees, Git LFS, and git annex locally. The open source edition is free for commercial use, and no hosted version is offered.
- GiteaMITGitea is a self hosted development service for Git repositories, code review, issues, package registries, and CI workflows. It targets individuals, teams, and organizations, uses the MIT license, and offers Gitea Cloud and paid Gitea Enterprise options for users who prefer hosted or commercial services.
- GogsMITGogs is a lightweight self hosted Git service for people and teams that want repositories, issues, review, accounts, and automation without a large server footprint. It is MIT licensed and distributed as binaries and containers. The project documents self hosting rather than a first party paid cloud plan, so hosted use generally comes from an operator or third party.
Sources
Last updated 2026-10-22.