GitHub Codespaces
By GitHub Codespaces · github.com
- Free plan
- Windows
- macOS
- Linux
- Web
- iPhone and iPad
- Android
- Browser extension
- API
What GitHub Codespaces is
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 suits
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.
Good to know, and what to watch
- 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
- Cannot be self-hosted
- Unavailable for repositories owned by managed user accounts
- GitHub Free compute and storage have included-use limits
Plans
Every plan and price2-core compute
4-core compute
8-core compute
16-core compute
Free plan
Getting started
- Open the GitHub Codespaces website
- Sign in with GitHub authentication
- Choose a repository template, branch, or commit
- Use repository devcontainer files to define the workspace
- Connect through a browser, Visual Studio Code, or GitHub CLI
- Select a machine size and start the codespace
Limits to check
GitHub Free personal accounts include 120 compute hours and 15 GB-month of storage; GitHub Pro includes 180 hours and 20 GB-month. Additional usage is billed monthly, with compute and storage charged separately.
The Club's review
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 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 a month, 4-core compute $0.36 a month, 8-core compute $0.72 a month, 16-core compute $1.44 a month, and 32-core compute $2.88 a month. Codespaces storage is listed at $0.07 a month. The pay-as-you-go plan lists $0.18 a 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.
The verdict
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.
Questions people ask
Is GitHub Codespaces free?
Yes. GitHub Free personal accounts include 120 compute hours and 15 GB-month of storage. Paid usage is billed monthly beyond included quotas.
How much does compute cost?
Listed usage prices are $0.18 a month for 2-core compute, $0.36 for 4-core, $0.72 for 8-core, $1.44 for 16-core, and $2.88 for 32-core; storage is $0.07 a month.
Which devices can access a codespace?
You can connect through a browser, Visual Studio Code, or GitHub CLI from any device with internet access, including an iPad.
Can Codespaces be self-hosted?
No. GitHub states that Codespaces cannot be self-hosted.
Which IDEs are supported?
Supported IDEs include Visual Studio Code, Visual Studio, JetBrains IDEs, Eclipse, and Xcode.
Can organizations control access and spending?
Yes. Organizations can choose which repositories and users can use Codespaces and can set spending limits.
What the maker publishes
- Access
- Users can connect through a browser, Visual Studio Code, or GitHub CLI. source
- Authentication
- Codespace connections use a TLS-encrypted tunnel and GitHub authentication, and each codespace receives a new GitHub token when created or restarted. source
- 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. source
- Configuration
- Repository dev container configuration files let projects define repeatable development environments for users. source
- Device support
- Codespaces can be started from any device with internet access, including an iPad. source
- Entry points
- A codespace can be created from a template or from any branch or commit in a repository. source
- Founded
- 2008 source
- Founded
- 2008 source
- Founded
- 2008 source
- Free plan
- Yes source
- Headquarters
- San Francisco, California, United States source
- Headquarters
- San Francisco, California, United States source
- Headquarters
- San Francisco, California, United States source
- Integrations
- The GitHub Codespaces extension connects a GitHub account to develop directly in a local Visual Studio Code installation. source
- Managed accounts
- Codespaces is not available for repositories owned by managed user accounts. source
- Organization controls
- Organizations can choose which repositories and users have access to Codespaces and can set spending limits. source
- Port forwarding
- Forwarded ports are private by default, and organization owners can restrict public or organization-wide port visibility. source
- Purpose
- Codespaces provides configured cloud development environments hosted by GitHub. source
- Security isolation
- Each codespace uses its own newly built virtual machine and isolated virtual network, and is deployed to a new VM when restarted. source
- Self hosting
- GitHub states that Codespaces cannot be self-hosted. source
- 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. source
Checked against the maker's pages on 28 Sept 2026.