GitHub Codespaces
GitHub Codespaces provides cloud development environments hosted by GitHub and configured for a repository. Projects can define repeatable setups with dev container configuration files, and developers can create a codespace from a template or a repository branch or commit. Each environment runs in a Docker container on a GitHub-hosted virtual machine, with machine types ranging from 2 cores, 8 GB RAM, and 32 GB storage to 32 cores, 128 GB RAM, and 128 GB storage. Connect using a browser, Visual Studio Code, or GitHub CLI from an internet-connected device, including an iPad. An extension also lets developers work in a local Visual Studio Code installation connected to a GitHub account. Each codespace receives its own virtual machine and isolated network, including when restarted. Connections use a TLS-encrypted tunnel and GitHub authentication, while 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 beyond included amounts is billed monthly. Codespaces cannot be self-hosted and is unavailable for repositories owned by managed user accounts.
Who it is for
Codespaces suits developers who want repository-configured cloud environments accessible through a browser, Visual Studio Code, or GitHub CLI. Organizations can also control repository and user access and set spending limits.
What is good
- 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 and 15 GB-month storage
What to know first
- Cannot be self-hosted
- Unavailable for repositories owned by managed user accounts
- GitHub Free compute and storage have included-use limits
The Geeks Club review
GitHub Codespaces: the full review
Codespaces offers configurable cloud workspaces with several ways to connect and organization controls for access and spending. It is not self-hostable, and developers should account for included-use quotas and monthly-billed usage beyond them.
Overview
GitHub Codespaces is a cloud service for opening configured development environments associated with GitHub repositories. Each codespace runs in a Docker container on a GitHub-hosted virtual machine, while repository dev container files allow a project to define an environment that can be reproduced for other contributors.
Developers can create a codespace from a template or from a repository branch or commit, then connect through a browser, Visual Studio Code, or GitHub CLI. It can be started from any internet-connected device, including an iPad. The service is cloud-hosted and has no self-hosted option.
For a broader look at Cloud Development Environments, Web Development IDEs, or Coding playgrounds, consider how Codespaces' repository-based setup fits your workflow.
Key features
Repository-defined environments
Dev container configuration files provide a repeatable way to describe a project's development setup. Codespaces supports prebuilds and persistent storage, with terminal access and codebase indexing. Supported languages include C#, Go, Java, JavaScript, Python, Ruby, and TypeScript.
Machine sizes start at 2 cores, 8 GB RAM, and 32 GB storage, and extend up to 32 cores, 128 GB RAM, and 128 GB storage. The available range gives projects options from smaller environments to substantially larger virtual machines.
Editor and device access
Users can work in a browser, Visual Studio Code, or through GitHub CLI. The GitHub Codespaces extension also connects a GitHub account to a local Visual Studio Code installation. Supported IDEs additionally include Visual Studio, JetBrains IDEs, Eclipse, and Xcode. The ability to start a codespace from any device with internet access, including an iPad, makes the service less dependent on a particular local computer setup.
Security and organization controls
Each codespace gets its own newly built virtual machine and isolated virtual network, and a restart deploys it to a new VM. Connections use a TLS-encrypted tunnel and GitHub authentication; creation or restart also issues a new GitHub token for that codespace.
Forwarded ports are private by default. Organization owners can limit public or organization-wide port visibility, choose which repositories and users can access Codespaces, and set spending limits. One restriction to check is that Codespaces is not available for repositories owned by managed user accounts.
Pricing
Codespaces has a freemium pricing model with a free plan and paid usage. GitHub Free personal accounts include 120 compute hours and 15 GB-month of storage; GitHub Pro includes 180 compute hours and 20 GB-month. The listed GitHub Codespaces personal included usage plan is 0.00 USD per free, with a monthly included quota and additional use billed monthly. For GitHub Free, use beyond the quota is listed at $0.18/hour for 2-core machines and storage at $0.07/GB-month.
Compute is billed monthly at these listed rates: 2-core compute costs 0.18 USD per month, 4-core compute 0.36 USD per month, 8-core compute 0.72 USD per month, 16-core compute 1.44 USD per month, and 32-core compute 2.88 USD per month. Codespaces storage is listed at 0.07 USD per month. The pay-as-you-go plan lists 0.18 USD per month, with compute and storage billed monthly at the rates above. The pricing note also states “Paid from $0.18”; a separate paid-from figure is 10 /user/mo.
Platforms
Codespaces is available on Android, iOS, Linux, macOS, and Windows, as well as the web. The listed platform coverage also includes API and extension access. It is a cloud deployment rather than a self-hosted service.
Who it's for
Codespaces suits individuals and teams who want repository-linked cloud workspaces that can be described in project configuration and opened from different devices or supported editors. Its organization controls and spending limits are relevant for teams managing access and usage. Those who need to host development environments themselves, or work on repositories owned by managed user accounts, should account for the service's stated limitations.
Pros and cons
- Pros: Repository dev container configuration supports repeatable environments; users have browser, CLI, and editor access; machine sizes span a wide range; organizations can manage repository access and spending.
- Cons: Codespaces cannot be self-hosted, and it is unavailable for repositories owned by managed user accounts. Usage beyond included quotas is billed according to compute and storage rates.
Alternatives
Other options to consider include Coder, Okteto, DevPod, Daytona, CodeSandbox, Google Cloud Workstations, Kloudlite, and Microsoft Dev Box.
Verdict
GitHub Codespaces brings repository configuration, cloud compute, and multiple access routes together in one development environment. Its configurable VM sizes and organization-level access and spending controls give it scope for individual and team use, while the free personal quotas provide an included starting allowance. Its fit depends on whether cloud hosting and GitHub-centered repositories match your needs; self-hosting and managed user account repositories are not supported.
GitHub Codespaces plans and pricing
All plansCompared on coding playgrounds
- Free plan
- Yes
- Paid from
- $10/user/mo
- Agent mode
- Yes




