GitHub Codespaces
github.com
What it is
GitHub Codespaces provides cloud development environments configured for a repository and hosted by GitHub. Repository dev container files can define a repeatable environment; users can start from a template or a branch or commit. Each codespace runs in a Docker container on a GitHub-hosted virtual machine, with machine choices from 2 cores, 8 GB RAM, and 32 GB storage to 32 cores, 128 GB RAM, and 128 GB storage. Connect through a browser, Visual Studio Code, or GitHub CLI from an internet-connected device, including an iPad. The Codespaces extension also connects a GitHub account to local Visual Studio Code. Each codespace has its own virtual machine and isolated network; connections use a TLS-encrypted tunnel and GitHub authentication, and forwarded ports are private by default. GitHub Free personal accounts include 120 compute hours and 15 GB-month of storage; Pro includes 180 hours and 20 GB-month. Usage is billed monthly, with 2-core compute at $0.18 a month and storage at $0.07 a month. Codespaces cannot be self-hosted and is unavailable for repositories owned by managed user accounts.
Spec sheet
- Purpose
- Codespaces provides configured cloud development environments hosted by GitHub.Read 28 Sep 2026 · github.com
- Free plan
- YesRead 22 Sep 2026 · docs.github.com
- Integrations
- The GitHub Codespaces extension connects a GitHub account to develop directly in a local Visual Studio Code installation.Read 28 Sep 2026 · docs.github.com
- Headquarters
- San Francisco, California, United StatesRead 28 Sep 2026 · github.com
- Founded
- 2008Read 28 Sep 2026 · github.com
- Access
- Users can connect through a browser, Visual Studio Code, or GitHub CLI.Read 28 Sep 2026 · docs.github.com
- Authentication
- Codespace connections use a TLS-encrypted tunnel and GitHub authentication, and each codespace receives a new GitHub token when created or restarted.Read 28 Sep 2026 · docs.github.com
- Cloud-hosted runtime
- Each codespace runs in a Docker container on a GitHub-hosted virtual machine, with machine types from 2 cores, 8 GB RAM, and 32 GB storage up to 32 cores, 128 GB RAM, and 128 GB storage.Read 28 Sep 2026 · docs.github.com
- Configuration
- Repository dev container configuration files let projects define repeatable development environments for users.Read 28 Sep 2026 · docs.github.com
- Device support
- Codespaces can be started from any device with internet access, including an iPad.Read 28 Sep 2026 · github.com
- Entry points
- A codespace can be created from a template or from any branch or commit in a repository.Read 28 Sep 2026 · docs.github.com
- Managed accounts
- Codespaces is not available for repositories owned by managed user accounts.Read 28 Sep 2026 · docs.github.com
- Organization controls
- Organizations can choose which repositories and users have access to Codespaces and can set spending limits.Read 28 Sep 2026 · github.com
- Port forwarding
- Forwarded ports are private by default, and organization owners can restrict public or organization-wide port visibility.Read 28 Sep 2026 · docs.github.com
- Security isolation
- Each codespace uses its own newly built virtual machine and isolated virtual network, and is deployed to a new VM when restarted.Read 28 Sep 2026 · docs.github.com
- Self hosting
- GitHub states that Codespaces cannot be self-hosted.Read 28 Sep 2026 · github.com
- Usage limits
- GitHub Free personal accounts include 120 compute hours and 15 GB-month of storage, while GitHub Pro includes 180 hours and 20 GB-month.Read 28 Sep 2026 · docs.github.com
Plans and prices
Strong points and limits
Strong points
- Repository dev containers define repeatable environments.
- Connect through browser, Visual Studio Code, or GitHub CLI.
- Separate virtual machines and isolated networks per codespace.
- Forwarded ports are private by default.
- GitHub Free includes 120 compute hours.
Limits
- Codespaces cannot be self-hosted.
- Unavailable for repositories owned by managed user accounts.
- GitHub Free compute and storage are limited quotas.
Who it suits
Codespaces suits developers who want repository-configured cloud environments accessible through a browser, Visual Studio Code, or GitHub CLI. Organizations can control repository and user access and set spending limits.
GitHub Codespaces in depth
Read the full write-up
Overview
GitHub Codespaces is a cloud development environment built around GitHub repositories and repeatable project configuration. It suits developers and teams who want a consistent workspace they can open from different devices or editors. Its main trade-off is that GitHub hosts the machines: you can choose their size, but you cannot self-host them.
Key features
Repository-defined environments
Projects can use dev container configuration files to define an environment that can be recreated for contributors. A codespace can start from a template or from a repository branch or commit, making it useful for onboarding and working across project versions. Prebuilds, persistent storage, terminal access, and codebase indexing round out the workspace features.
Each codespace runs in a Docker container on a GitHub-hosted virtual machine. Machine sizes span 2 cores, 8 GB RAM, and 32 GB storage through to 32 cores, 128 GB RAM, and 128 GB storage. That range accommodates different workloads, but larger machines carry higher hourly compute charges.
Ways to connect
Users can open a codespace in a browser, Visual Studio Code, or GitHub CLI, and start one from any internet-connected device, including an iPad. The GitHub Codespaces extension also connects a GitHub account to development in a local Visual Studio Code installation. Supported IDEs include Visual Studio, JetBrains IDEs, Eclipse, and Xcode as well as Visual Studio Code.
Isolation and controls
Each codespace gets a newly built virtual machine and an isolated virtual network; restarting deploys it to a new VM. Connections use a TLS-encrypted tunnel and GitHub authentication, with a new GitHub token issued when a codespace is created or restarted. Forwarded ports are private by default, and organization owners can restrict public or organization-wide visibility. Organizations can also control repository and user access and set spending limits. These controls help teams manage exposure and costs, but they do not change the cloud-hosted nature of the service.
Pricing
Codespaces has a free plan with included personal usage, then usage-based monthly billing. GitHub Free includes 120 compute hours and 15 GB-month of storage; GitHub Pro includes 180 compute hours and 20 GB-month. The free allowance makes it practical to try or use Codespaces within those quotas, but sustained work beyond them incurs charges.
Beyond included usage, compute costs are $0.18 per hour for a 2-core machine, $0.36 for 4 cores, $0.72 for 8 cores, $1.44 for 16 cores, and $2.88 for 32 cores. Storage costs $0.07/GB-month. Usage is billed monthly. These rates make the smaller machines the lower-cost choice, while teams choosing larger machines should account for their higher hourly rate and storage use. The stated paid-from price is 10 /user/mo.
Platforms
Codespaces is cloud-hosted and can be started from any device with internet access. Supported platforms are Android, iOS, Linux, macOS, Windows, web, API, and extension. It cannot be self-hosted, and it is not available for repositories owned by managed user accounts; those restrictions rule it out for some deployment and account requirements.
Who it's for
Codespaces is a strong fit for GitHub-based projects that benefit from repository-defined environments, flexible editor access, and organization controls over access and spending. It is less suitable for teams that require self-hosted development machines or need to use repositories owned by managed user accounts. Individual users should compare expected compute and storage use with the included quotas before relying on the free allowance.
Pros and cons
Pros: Repository dev container configuration makes workspaces repeatable; browser, editor, and CLI connections support different workflows; organization owners can restrict access, port visibility, and spending.
Cons: Compute and storage beyond included allowances are billed by usage; larger machines cost more per hour; self-hosting is unavailable, and managed-account repositories are excluded.
Alternatives
For a different emphasis, consider Backlog, YouTrack, Linear, OpenProject, Bugsee, Bugzilla, Plane, or Digital.ai TeamForge. For category-level comparisons, see Issue Tracking Software, Game Build Automation Software, Code Quality Management Software, DevOps Platforms, Continuous Integration Software, and Cloud Development Environments.
Verdict
Choose GitHub Codespaces if your team wants cloud workspaces defined alongside GitHub repositories and values access from multiple devices, editors, and the CLI. Its configurable machines and organization controls are compelling, but usage-based charges and the lack of self-hosting make it a poor fit when costs must be fixed in advance or development must run on infrastructure you control.
Verdict
Codespaces pairs repository-defined environments with GitHub-hosted machines and several connection options. Check the included quotas and hosting restrictions before relying on it for a particular account or repository.
Where Specifiction places it
- Coding Playgrounds#14 of 1388.9
- Cloud IDEs#4 of 278.6
- Environment Management#4 of 238.8
- Web Development IDEs#9 of 448.8
- Integrated Development Environment Ide Software#7 of 318.7
- Cloud Development Environments#7 of 278.6