The GitHub Codespaces homepage

GitHub Codespaces

Score9.4
Rank#2 of 136
From$0.07/mo
Free planYes
Runs onAndroid, API, Browser extension, iOS, Linux, macOS, Web, Windows

Summary

GitHub Codespaces provides configured cloud development environments hosted by GitHub. Repository dev container files let a project specify an environment that users can recreate, and a codespace can start from a template or a repository branch or commit. Each runs in a Docker container on a GitHub-hosted virtual machine; available machine sizes span 2 cores, 8 GB RAM and 32 GB storage through 32 cores, 128 GB RAM and 128 GB storage. Developers can connect through a browser, Visual Studio Code or GitHub CLI from any internet-connected device, including an iPad. An extension also connects a GitHub account to a local Visual Studio Code installation. Each codespace gets its own virtual machine and isolated network, including after restart. Connections use a TLS-encrypted tunnel and GitHub authentication, and forwarded ports default to private. GitHub Free personal accounts include 120 compute hours and 15 GB-month storage; Pro includes 180 hours and 20 GB-month. Usage is billed monthly beyond included use. 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, VS Code or the CLI. It can also suit teams that need organization controls for access and spending.

What is good

  • Start from a template, branch or commit
  • Connect from any internet-connected device
  • Dev container files define repeatable environments
  • Each codespace uses an isolated virtual machine and network
  • Organization owners can set access and spending controls

What to know first

  • Cannot be self-hosted
  • Unavailable for managed-user-account repositories
  • Free and Pro accounts have included compute and storage quotas

Verdict

Codespaces offers configurable cloud development environments with browser, editor and CLI access. Its GitHub hosting requirement, included-usage quotas and managed-account restriction are key constraints.

GitHub Codespaces plans and pricing

All plans
2-core compute $0.18/mo Usage is billed monthly. 2-core machine docs.github.com · 22 Sept 2026
4-core compute $0.36/mo Usage is billed monthly. 4-core machine docs.github.com · 22 Sept 2026
8-core compute $0.72/mo Usage is billed monthly. 8-core machine docs.github.com · 22 Sept 2026
16-core compute $1.44/mo Usage is billed monthly. 16-core machine docs.github.com · 22 Sept 2026
32-core compute $2.88/mo Usage is billed monthly. 32-core machine docs.github.com · 22 Sept 2026
Codespaces storage $0.07/mo Usage is billed monthly. Storage for codespaces and prebuilds docs.github.com · 22 Sept 2026

Compared on coding playgrounds

Free plan
Yesgithub.com
Paid from
$10/user/mogithub.com
Agent mode
Yesgithub.com

Facts

Free plan
Yesdocs.github.com · 22 Sept 2026
Purpose
Codespaces provides configured cloud development environments hosted by GitHub.github.com · 28 Sept 2026
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.docs.github.com · 28 Sept 2026
Configuration
Repository dev container configuration files let projects define repeatable development environments for users.docs.github.com · 28 Sept 2026
Access
Users can connect through a browser, Visual Studio Code, or GitHub CLI.docs.github.com · 28 Sept 2026
Device support
Codespaces can be started from any device with internet access, including an iPad.github.com · 28 Sept 2026
Entry points
A codespace can be created from a template or from any branch or commit in a repository.docs.github.com · 28 Sept 2026
Integrations
The GitHub Codespaces extension connects a GitHub account to develop directly in a local Visual Studio Code installation.docs.github.com · 28 Sept 2026
Security isolation
Each codespace uses its own newly built virtual machine and isolated virtual network, and is deployed to a new VM when restarted.docs.github.com · 28 Sept 2026
Authentication
Codespace connections use a TLS-encrypted tunnel and GitHub authentication, and each codespace receives a new GitHub token when created or restarted.docs.github.com · 28 Sept 2026
Port forwarding
Forwarded ports are private by default, and organization owners can restrict public or organization-wide port visibility.docs.github.com · 28 Sept 2026
Organization controls
Organizations can choose which repositories and users have access to Codespaces and can set spending limits.github.com · 28 Sept 2026
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.docs.github.com · 28 Sept 2026
Managed accounts
Codespaces is not available for repositories owned by managed user accounts.docs.github.com · 28 Sept 2026
Self hosting
GitHub states that Codespaces cannot be self-hosted.github.com · 28 Sept 2026

Company

Founded
2008github.com · 23 Sept 2026
Headquarters
San Francisco, California, United Statesgithub.com · 23 Sept 2026
Founded
2008github.com · 28 Sept 2026
Headquarters
San Francisco, California, United Statesgithub.com · 28 Sept 2026
Founded
2008github.com · 23 Sept 2026
Headquarters
San Francisco, California, United Statesgithub.com · 23 Sept 2026

Best GitHub Codespaces alternatives

See all 12