Softwr

Developer Tools · head to head

GitHub Codespaces vs Microsoft Foundry

GitHub Codespaces logo

GitHub Codespaces

Developer Tools

Cloud hosted development environments configured by dev container files

From
Free
Free plan
Yes
Microsoft Foundry logo

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.

Attributes where GitHub Codespaces and Microsoft Foundry differ
AttributeGitHub CodespacesMicrosoft Foundry
Starting priceFreeOn request
Free tierYesNo
PlatformsWeb, Windows, macOS, LinuxWeb
CategoryDeveloper ToolsMachine 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 request

No 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.

Source
Microsoft Foundry: What was Microsoft Foundry called before?

Microsoft's documentation lists the previous brand as Azure AI Studio and Azure AI Foundry.

Source
GitHub 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.

Source
Microsoft 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.

Source
GitHub 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.

Source
Microsoft Foundry: Do I need an Azure account to try it?

Exploring Foundry needs no Azure account, but building agents requires an Azure subscription.

Source
GitHub Codespaces: Can Codespaces be self hosted?

No. GitHub states that Codespaces cannot be self hosted.

Source
Share

Related pages

Other head to heads