Agent Sandboxesagentsandboxes.org
Head-to-head

GitHub Codespaces vs Ona (formerly Gitpod)

Answer in brief

Choose GitHub Codespaces for developer-driven workspaces tied to GitHub repositories, where an agent assists a human inside a Dev Container; choose Ona (formerly Gitpod) for enterprises that want VM-isolated, Dev Container-based environments for developers and background agents inside their own AWS or GCP VPC. GitHub Codespaces uses Dedicated VM per codespace isolation; Ona (formerly Gitpod) uses Dedicated cloud VM isolation.

By the Agent Sandboxes editors · Updated

Key differences between GitHub Codespaces and Ona (formerly Gitpod)

  • Isolation: GitHub Codespaces uses Dedicated VM per codespace; Ona (formerly Gitpod) uses Dedicated cloud VM.
  • Your own cloud account: Ona (formerly Gitpod) documents a bring-your-own-cloud deployment; GitHub Codespaces does not.
  • GPUs: Ona (formerly Gitpod) documents GPU support; GitHub Codespaces does not.
  • Company headquarters: GitHub is based in San Francisco, United States; Ona is based in Kiel, Germany.
  • SDKs and interfaces: Only Ona (formerly Gitpod) lists Python, JavaScript/TypeScript and Go.

What they have in common

  • Both are hosted platforms.
  • Both use full virtual machines.
  • Neither is open source.
  • Both can pause and resume a sandbox.
  • Both list CLI and REST API.

GitHub Codespaces vs Ona (formerly Gitpod) at a glance

AttributeGitHub CodespacesOna (formerly Gitpod)
What it isGitHub's cloud development environments: a Dev Container running on a freshly built, dedicated VM per codespace, created from the web, gh CLI or REST API, billed per core-hour with a free monthly quota.Enterprise cloud development environments provisioned as isolated VMs (EC2 or Compute Engine) in your own VPC from a Dev Container config, with SDKs, a CLI and Codex-based background agents; hosted Ona Cloud was retired on 31 October 2026.
TypeHosted platformHosted platform
IsolationDocker container on a dedicated virtual machine — "Each codespace is hosted on its own newly-built virtual machine (VM)" with its own virtual network; two codespaces never share a VMEach environment is "an isolated VM with dedicated compute, storage, and networking" — an EC2 instance on AWS runners or a Compute Engine instance on GCP runners — created from a Dev Container configuration; runners live in your VPC and the Ona-hosted management plane never sees source code or secrets
Open sourceNoNo
Self-host / BYOCNo / NoNo / Yes
SDKsCLI, REST APIPython, JavaScript/TypeScript, Go, CLI, REST API
Cold start (vendor claim)Not documentedNot documented
Max sessionStops after 30 minutes of inactivity by default (customisable); a fixed maximum lifetime of 12 hours even while in use; stopped codespaces are deleted after 30 days of inactivity by default (customisable)Auto-stop after a configurable inactivity timeout (--inactivity-timeout); no fixed maximum published
PersistenceStopping preserves saved changes and terminal history; /workspaces survives rebuilds; full rebuilds clear everything outside /workspaces; retained for 30 days by defaultStop an environment "to preserve its state" and start it again; delete removes it permanently; environment classes set instance type and disk (default classes from m6i.large with 45 GB up to g5.4xlarge with 300 GB); warm pools (Enterprise)
Snapshots / pauseNot documented / YesNot documented / Yes
GPUNo — machine types listed on the billing page are 2- to 32-core CPU machines onlyDefault AWS environment classes include GPU classes on g5.4xlarge instances with 300 GB disk
NetworkingFirewalls block inbound internet connections and inter-codespace traffic; forwarded ports default to private (authenticated) and can be made organisation-visible or publicEnvironments run in your VPC; subnets can stay private with outbound through NAT or proxy; "kernel-level policy enforcement" and scoped credentials advertised as guardrails
Pricing2-core $0.18/hour, 4-core $0.36/hour, 8-core $0.72/hour, 16-core $1.44/hour, 32-core $2.88/hour; storage $0.07 per GB-month; prebuilds consume Actions compute and storageContact sales (Enterprise); Ona Cloud, whose usage-based Core tier started at $20/month, was shut down on 31 October 2026
Free tierPersonal accounts: 120 core-hours and 15 GB-month per month on GitHub Free, 180 core-hours and 20 GB-month on GitHub Pro; organisations and enterprises have no included quotaNot documented
ComplianceNot documentedSOC 2 and GDPR logos with a trust portal at trust.ona.com; details not specified on the pages read
RegionsSet automatically from your location or chosen manually in user settings; the region list is shown in the settings dropdown rather than documentedWherever you deploy runners: any AWS or GCP region in your own account
Company headquartersSan Francisco, California, United StatesKiel, Schleswig-Holstein, Germany
Good fit forDeveloper-driven workspaces tied to GitHub repositories, where an agent assists a human inside a Dev ContainerEnterprises that want VM-isolated, Dev Container-based environments for developers and background agents inside their own AWS or GCP VPC

Verified November 14, 2026 from each provider’s documentation. Cold-start figures are vendor claims, not our measurements.

Which should you choose?

Reasons to choose GitHub Codespaces

  • You want repo-linked Dev Container workspaces on dedicated VMs with a REST API and CLI
  • You need per-user isolation, private port forwarding and GitHub secrets without running infrastructure
  • You are a personal account that can use the free monthly core-hour quota

Reasons to choose Ona (formerly Gitpod)

  • You need dedicated-VM environments that never leave your own AWS or GCP account
  • You want Dev Container-defined, reproducible workspaces for both developers and background agents
  • You are an enterprise standardising on Codex-based background agents with audit and policy controls

Trade-offs to check first

  • GitHub Codespaces: 12-hour maximum lifetime per codespace session; 30-minute default idle timeout and 30-day default retention
  • GitHub Codespaces: Snapshot, fork and memory-preserving pause APIs are not documented; no GPU machine types are listed
  • Ona (formerly Gitpod): Hosted Ona Cloud is no longer available; remaining use is on runners in your own AWS or GCP account, with pricing via contact sales
  • Ona (formerly Gitpod): The documented built-in agent is the Codex Agent; the earlier Ona Agent is no longer listed in the docs

Both are worth piloting with your own image and region. See the full GitHub Codespaces profile and Ona (formerly Gitpod) profile, or the complete comparison.

More comparisons

Frequently asked questions

Is GitHub Codespaces or Ona (formerly Gitpod) better for AI agents?
Neither is better for every workload. GitHub Codespaces suits developer-driven workspaces tied to GitHub repositories, where an agent assists a human inside a Dev Container. Ona (formerly Gitpod) suits enterprises that want VM-isolated, Dev Container-based environments for developers and background agents inside their own AWS or GCP VPC.
What is the difference between GitHub Codespaces and Ona (formerly Gitpod)?
GitHub Codespaces uses Dedicated VM per codespace; Ona (formerly Gitpod) uses Dedicated cloud VM. Ona (formerly Gitpod) documents a bring-your-own-cloud deployment; GitHub Codespaces does not. Ona (formerly Gitpod) documents GPU support; GitHub Codespaces does not. GitHub is based in San Francisco, United States; Ona is based in Kiel, Germany. Only Ona (formerly Gitpod) lists Python, JavaScript/TypeScript and Go.
Which is open source, GitHub Codespaces or Ona (formerly Gitpod)?
Neither is open source.
How do GitHub Codespaces and Ona (formerly Gitpod) isolate code?
GitHub Codespaces: Docker container on a dedicated virtual machine — "Each codespace is hosted on its own newly-built virtual machine (VM)" with its own virtual network; two codespaces never share a VM. Ona (formerly Gitpod): Each environment is "an isolated VM with dedicated compute, storage, and networking" — an EC2 instance on AWS runners or a Compute Engine instance on GCP runners — created from a Dev Container configuration; runners live in your VPC and the Ona-hosted management plane never sees source code or secrets.
How does GitHub Codespaces pricing compare with Ona (formerly Gitpod)?
GitHub Codespaces: 2-core $0.18/hour, 4-core $0.36/hour, 8-core $0.72/hour, 16-core $1.44/hour, 32-core $2.88/hour; storage $0.07 per GB-month; prebuilds consume Actions compute and storage. Ona (formerly Gitpod): Contact sales (Enterprise); Ona Cloud, whose usage-based Core tier started at $20/month, was shut down on 31 October 2026. Rates change, so check the GitHub Codespaces and Ona (formerly Gitpod) pricing pages before deciding.
Do GitHub Codespaces and Ona (formerly Gitpod) support GPUs?
GitHub Codespaces: No — machine types listed on the billing page are 2- to 32-core CPU machines only. Ona (formerly Gitpod): Default AWS environment classes include GPU classes on g5.4xlarge instances with 300 GB disk.
Can you self-host GitHub Codespaces or Ona (formerly Gitpod)?
Neither documents a self-hosted option. Ona (formerly Gitpod) offers a bring-your-own-cloud deployment.
How long can sessions run on GitHub Codespaces and Ona (formerly Gitpod)?
GitHub Codespaces: Stops after 30 minutes of inactivity by default (customisable); a fixed maximum lifetime of 12 hours even while in use; stopped codespaces are deleted after 30 days of inactivity by default (customisable). Ona (formerly Gitpod): Auto-stop after a configurable inactivity timeout (--inactivity-timeout); no fixed maximum published.
Do GitHub Codespaces and Ona (formerly Gitpod) support snapshots or pause and resume?
GitHub Codespaces: snapshots not documented, pause and resume yes. Ona (formerly Gitpod): snapshots not documented, pause and resume yes.

Sources

  1. docs.github.com/en/codespaces/about-codespaces/what-are-codespaces
  2. docs.github.com/en/codespaces/about-codespaces/the-codespace-lifecycle
  3. docs.github.com/en/codespaces/reference/security-in-github-codespaces
  4. docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-codespaces/about-billing-for-github-codespaces
  5. ona.com
  6. ona.com/pricing
  7. ona.com/docs/ona/runners/overview
  8. ona.com/docs/ona/understanding/how-ona-works

Check before you rely on it. Products change quickly, and this page reflects public documentation as of November 14, 2026. Confirm anything that matters in the provider’s own documentation.

Cite this page

Agent Sandboxes. (2026). GitHub Codespaces vs Ona (formerly Gitpod). agentsandboxes.org. Last reviewed November 14, 2026. https://agentsandboxes.org/compare/github-codespaces-vs-ona-gitpod/