Developer Tools · head to head
GitHub Codespaces vs Microsoft Foundry

GitHub Codespaces
Developer Tools
Cloud hosted development environments configured by dev container files
- From
- Free
- Free plan
- Yes

Microsoft Foundry
Machine Learning
Microsoft platform for building, deploying and governing AI agents and models on Azure
- From
- On request
- Free plan
- No
The short version
- GitHub Codespaces starts at $0.09/mo; Microsoft Foundry prices on request.
- Where GitHub Codespaces falls short: cannot be self hosted, according to GitHub.
- Where Microsoft Foundry falls short: no single list price: cost depends on each Azure service used.
How do GitHub Codespaces and Microsoft Foundry differ?
GitHub Codespaces and Microsoft Foundry differ on starting price (Free against On request), free tier (Yes against No) and platforms. Only the attributes on which GitHub Codespaces and Microsoft Foundry actually diverge.
| Attribute | GitHub Codespaces | Microsoft Foundry |
|---|---|---|
| Starting price | Free | On request |
| Free tier | Yes | No |
| Platforms | Web, Windows, macOS, Linux | Web |
| Category | Developer Tools | Machine Learning |
Identical on both: pricing model (Usage-based).
Which features does each one have?
They share no listed features; 8 appear only for GitHub Codespaces and 9 only for Microsoft Foundry. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in GitHub Codespaces
- Dev container based configuration
- Launch from repository, pull request, commit or template
- Machines from 2 to 32 cores
- Browser based editor
- Connect from Visual Studio Code or IntelliJ
- JetBrains IDEs and JupyterLab support in beta
- Organisation access and spending controls
- Monthly free allowance for personal accounts
Only in Microsoft Foundry
- Model catalogue from multiple providers
- Prompt agents built in the portal
- Hosted agents running your own code
- Foundry Agent Service
- Tracing and evaluations
- Content safety controls
- Entra identity and role based access
- SDKs for Python, C#, JavaScript and Java
What is each one used for?
GitHub Codespaces is most often brought in for onboarding contributors without local setup; Microsoft Foundry for building enterprise AI agents on Azure. The jobs each tool is most often brought in to do.
GitHub Codespaces
- Onboarding contributors without local setupnot Microsoft Foundry
- Fixing bugs from an open pull requestnot Microsoft Foundry
- Consistent environments across a teamnot Microsoft Foundry
- Coding from a tablet or any browsernot Microsoft Foundry
- Teaching with preconfigured environmentsnot Microsoft Foundry
Microsoft Foundry
- Building enterprise AI agents on Azurenot GitHub Codespaces
- Comparing and deploying models from several providersnot GitHub Codespaces
- Governing AI apps with Entra and policy controlsnot GitHub Codespaces
- Upgrading an Azure OpenAI resource to a wider platformnot GitHub Codespaces
Where do GitHub Codespaces and Microsoft Foundry fall short?
GitHub Codespaces's most cited limit: cannot be self hosted, according to GitHub. Microsoft Foundry's: no single list price: cost depends on each Azure service used. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
GitHub Codespaces
- Cannot be self hosted, according to GitHub
- Requires an internet connection and works with GitHub repositories
- Usage billing grows with machine size, since included compute is weighted by core count
- Organisation use needs admin enablement before developers can create codespaces
Microsoft Foundry
- No single list price: cost depends on each Azure service used
- Building agents needs an Azure subscription
- Several platform capabilities are still in preview
- Naming and portal changes (classic versus new) can confuse existing users
How much do GitHub Codespaces and Microsoft Foundry cost?
GitHub Codespaces has a free plan, with paid plans from $0.09/mo. Plan by plan below, from each vendor's own pricing page.
GitHub Codespaces
Free- Compute$0.09/core hour
- Storage$0.07/gb month
Microsoft Foundry
On requestNo published plan breakdown. See the Microsoft Foundry review.
Which should you pick?
Choose GitHub Codespaces if
- You need dev container based configuration.
- You want to start without paying.
- You work on Web, Windows, macOS, Linux.
- You also want launch from repository, pull request, commit or template.
Choose Microsoft Foundry if
- You need model catalogue from multiple providers.
- You also want prompt agents built in the portal.
Questions people ask
- Is GitHub Codespaces or Microsoft Foundry better?
- It depends on the job. GitHub Codespaces fits onboarding contributors without local setup; Microsoft Foundry fits building enterprise AI agents on Azure. GitHub Codespaces starts at Free and Microsoft Foundry at On request.
- Which is cheaper, GitHub Codespaces or Microsoft Foundry?
- GitHub Codespaces has a free tier; the other does not. Paid plans start at Free for GitHub Codespaces and On request for Microsoft Foundry.
- Does GitHub Codespaces or Microsoft Foundry run on more platforms?
- GitHub Codespaces runs on Web, Windows, macOS, Linux. Microsoft Foundry runs on Web.
- Can I use GitHub Codespaces for free?
- Yes. GitHub Codespaces has a free tier, so you can try it without paying. Microsoft Foundry starts at On request.
- What is GitHub Codespaces best used for?
- GitHub Codespaces is most often used for onboarding contributors without local setup, fixing bugs from an open pull request, consistent environments across a team, coding from a tablet or any browser. Of those, onboarding contributors without local setup and fixing bugs from an open pull request are not what Microsoft Foundry is typically brought in for.
- What can GitHub Codespaces do that Microsoft Foundry cannot?
- GitHub Codespaces covers Dev container based configuration, Launch from repository, pull request, commit or template, Machines from 2 to 32 cores, Browser based editor. Microsoft Foundry covers Model catalogue from multiple providers, Prompt agents built in the portal, Hosted agents running your own code, Foundry Agent Service.
Answered from the vendors’ own pages
GitHub Codespaces: How much does GitHub Codespaces cost?
GitHub's billing documentation lists compute at 0.09 dollars per core hour and storage at 0.07 dollars per GB month. A 2 core machine therefore costs 0.18 dollars per hour.
SourceMicrosoft Foundry: What was Microsoft Foundry called before?
Microsoft's documentation lists the previous brand as Azure AI Studio and Azure AI Foundry.
SourceGitHub Codespaces: Is there a free allowance?
Yes. Personal GitHub Free accounts include 120 compute hours and 15 GB month of storage, and GitHub Pro includes 180 compute hours and 20 GB month. Included compute is weighted by core count.
SourceMicrosoft Foundry: How is Microsoft Foundry priced?
Pricing is consumption based and depends on the individual services used. Azure offers a free trial of up to 30 days.
SourceGitHub Codespaces: Which editors can I use?
Codespaces can be used in the browser or connected from Visual Studio Code or IntelliJ. JetBrains IDEs and JupyterLab are listed as beta.
SourceMicrosoft Foundry: Do I need an Azure account to try it?
Exploring Foundry needs no Azure account, but building agents requires an Azure subscription.
SourceGitHub Codespaces: Can Codespaces be self hosted?
No. GitHub states that Codespaces cannot be self hosted.
SourceRelated pages
More on GitHub Codespaces
More on Microsoft Foundry
Other head to heads
- GitHub Codespaces vs CodeSandbox
- GitHub Codespaces vs StackBlitz
- GitHub Codespaces vs Coder
- GitHub Codespaces vs Namespace
- GitHub Codespaces vs Ona (formerly Gitpod)
- GitHub Codespaces vs iTerm2
- GitHub Codespaces vs Depot
- GitHub Codespaces vs Keycloak
- GitHub Codespaces vs Blacksmith
- GitHub Codespaces vs ConfigCat
- GitHub Codespaces vs WarpBuild
- GitHub Codespaces vs Portainer
- GitHub Codespaces vs Losant
- GitHub Codespaces vs Nx Cloud
- GitHub Codespaces vs Pants Build
- GitHub Codespaces vs Python
- GitHub Codespaces vs Yarn
- GitHub Codespaces vs Ansible
- GitHub Codespaces vs Hugging Face
- GitHub Codespaces vs Vertex AI
- GitHub Codespaces vs Databricks
- GitHub Codespaces vs LangChain
- GitHub Codespaces vs DataRobot
- GitHub Codespaces vs H2O.ai
- GitHub Codespaces vs Haystack
- GitHub Codespaces vs Mistral AI
- GitHub Codespaces vs MATLAB
- GitHub Codespaces vs Palantir Foundry
- GitHub Codespaces vs Langwatch
- GitHub Codespaces vs Roboflow
- GitHub Codespaces vs ClearML
- GitHub Codespaces vs Comet ML
- GitHub Codespaces vs Groq
- GitHub Codespaces vs JMP
- GitHub Codespaces vs Neptune.ai
- GitHub Codespaces vs Cohere
- Microsoft Foundry vs CodeSandbox
- Microsoft Foundry vs StackBlitz
- Microsoft Foundry vs Coder
- Microsoft Foundry vs Namespace
- Microsoft Foundry vs Ona (formerly Gitpod)
- Microsoft Foundry vs iTerm2
- Microsoft Foundry vs Depot
- Microsoft Foundry vs Keycloak
- Microsoft Foundry vs Blacksmith
- Microsoft Foundry vs ConfigCat
- Microsoft Foundry vs WarpBuild
- Microsoft Foundry vs Portainer
- Microsoft Foundry vs Losant
- Microsoft Foundry vs Nx Cloud
- Microsoft Foundry vs Pants Build
- Microsoft Foundry vs Python
- Microsoft Foundry vs Yarn
- Microsoft Foundry vs Ansible
- Microsoft Foundry vs Hugging Face
- Microsoft Foundry vs Vertex AI
- Microsoft Foundry vs Databricks
- Microsoft Foundry vs LangChain
- Microsoft Foundry vs DataRobot
- Microsoft Foundry vs H2O.ai
- Microsoft Foundry vs Haystack
- Microsoft Foundry vs Mistral AI
- Microsoft Foundry vs MATLAB
- Microsoft Foundry vs Palantir Foundry
- Microsoft Foundry vs Langwatch
- Microsoft Foundry vs Roboflow
- Microsoft Foundry vs ClearML
- Microsoft Foundry vs Comet ML
- Microsoft Foundry vs Groq
- Microsoft Foundry vs JMP
- Microsoft Foundry vs Neptune.ai
- Microsoft Foundry vs Cohere
