GitHub Models Free Tier: Retired July 2026
Retired: no longer available
GitHub Models, which offered free rate-limited access to AI models for prototyping, was fully retired on July 30, 2026. GitHub closed it to new customers on June 16, 2026, ran brownouts on July 16 and July 23, and then removed the playground, model catalog, inference API and bring-your-own-key (BYOK) for every customer. GitHub points users to Microsoft Foundry for model access and to GitHub Copilot for AI workflows on GitHub.
This offer has ended. We keep the page so you know it no longer works; see the alternatives below.
Catches & caveats
GitHub Models has been retired and can no longer be used. For free API access to AI models, see the other free tiers in this directory.
GitHub Models is retired. As of July 30, 2026 it is no longer available to any customer, including existing customers with active usage. There is nothing to claim. This page explains what the free tier was, how it ended, and where to go instead.
GitHub Models was GitHub's built-in way to try AI models: a playground, a model catalog and an inference API, free within rate limits for anyone with a GitHub account. GitHub closed it to new customers on June 16, 2026 and shut it down for everyone on July 30, 2026. If you relied on it, the practical replacement is another free model API with an OpenAI-compatible endpoint — options are compared below.
What GitHub Models was
GitHub introduced GitHub Models in August 2024, pitching it as a way for developers on GitHub to become "AI engineers" by experimenting with models where their code already lived. The launch catalog included Llama 3.1, GPT-4o, GPT-4o mini, Phi 3 and Mistral Large 2, and the built-in playground let you test prompts and parameters for free. The intended path was to start in the playground, move to code in Codespaces or VS Code, and then take the project to production on Azure AI.
Over time it grew into several pieces:
- Playground — a chat-style interface on github.com to compare models and tune prompts and parameters.
- Model catalog — models from providers such as OpenAI, Meta, Microsoft, Mistral and DeepSeek, browsable inside GitHub.
- Inference API — an endpoint you could call from code using a GitHub token, which made it popular for scripts, GitHub Actions and quick prototypes.
- Prompts and evaluations — tooling for working with prompts and comparing model outputs, which BYOK later extended to GitHub Actions as well.
- Bring your own key (BYOK) — added in June 2025, letting organizations connect their own OpenAI or Azure AI keys so usage was billed by that provider.
How the free tier worked
The free tier was rate-limited rather than credit-based. GitHub's documentation described limits on requests per minute, requests per day, tokens per request and concurrent requests, with different limits for "low" and "high" model tiers and higher limits for users on paid Copilot plans. Free usage was explicitly meant for prototyping and experimentation, not production traffic.
On June 24, 2025, GitHub added a way past those limits: opt-in pay-as-you-go billing through your GitHub account (payable by credit card, PayPal or invoice), organization-level controls over which models members could use, and BYOK. GitHub said model access remained "free to start within our rate limits", that data stayed on GitHub and Azure infrastructure, and that it was not used for training. Paid usage was off by default for organizations and enterprises, with a $0 spending limit until an admin raised the budget.
Retirement timeline
| Date | What happened | Source |
|---|---|---|
| August 2024 | GitHub Models launched with a free playground and rate-limited API | GitHub Blog |
| June 24, 2025 | Pay-as-you-go billing and BYOK added for usage beyond the free limits | GitHub Changelog |
| June 16, 2026 | Closed to new customers: new organizations and enterprises with no prior usage lost access on free and paid plans; existing users unaffected | GitHub Changelog |
| July 1, 2026 | Full retirement date announced for July 30, 2026, with brownouts scheduled | GitHub Changelog |
| July 16 and July 23, 2026 | Scheduled brownouts: requests temporarily returned errors | GitHub Changelog |
| July 30, 2026 | Fully retired: playground, catalog, inference API and BYOK removed for all customers; related UI removed | GitHub Changelog |
Why it ended
GitHub hasn't published a reason. The June 16 post simply says "We are retiring GitHub Models", and the July posts confirm dates and alternatives without explanation. We haven't found an official statement beyond that, so we won't speculate about one.
What GitHub recommends instead
- Microsoft Foundry (ai.azure.com) — GitHub's suggested home for new and existing projects that need access to a broad model catalog. It is a paid Azure service; free Azure credit routes include Azure for Students and Microsoft for Startups.
- GitHub Copilot — for AI-powered workflows on GitHub itself, with access to a range of models. GitHub's docs stress that GitHub Models was separate from Copilot, so Copilot plans were not affected. See GitHub Copilot pricing and the free Copilot offer for students.
Who was affected, and what to do now
| If you were… | What changed | Suggested next step |
|---|---|---|
| An individual developer using the free playground or API | Access ended on July 30, 2026 (or June 16 if you had never used it) | Get a free key from a rate-limited tier such as Gemini, Groq or OpenRouter's free models |
| A student who used it alongside Copilot | GitHub Models is gone; your Copilot access is separate and unaffected | Keep using Copilot via the GitHub Student Developer Pack; use a free API tier for code that calls models directly |
| A team running model calls inside GitHub Actions | Workflow steps that called the inference API now fail | Store a new provider key as an Actions secret and update the endpoint |
| An organization using BYOK with OpenAI or Azure keys | The BYOK endpoints were removed, but your provider accounts still exist | Call OpenAI or Microsoft Foundry directly with the same keys |
| An organization on pay-as-you-go billing | No further GitHub Models usage can accrue | Review your GitHub billing page for the final period |
In every case there is no workaround that restores GitHub Models itself: the official posts are explicit that the service is unavailable to all customers, including those with active usage, and the related UI has been removed from GitHub.
Free alternatives for API access
Most people used GitHub Models for one thing: a free API key to call a capable model from a script or prototype. These free tiers on our site cover the same need. All of them offer an OpenAI-compatible endpoint or SDK, so migrating usually means swapping the base URL, key and model name.
| Alternative | What's free | Closest match for |
|---|---|---|
| Gemini API free tier | Rate-limited free access to several Gemini models | General-purpose prototyping with a strong proprietary model family |
| Groq API free tier | Rate-limited free access to open models | Fast chat completions with gpt-oss, Qwen and similar open models |
| OpenRouter free models | Free variants of many models behind one key | The "model catalog" experience of trying many models |
| Cloudflare Workers AI | 10,000 Neurons per day, no expiry | Small always-on features and embeddings |
| Mistral API free tier | Free experimentation tier | Mistral models, which were in the GitHub Models catalog |
| NVIDIA NIM API | Free prototyping access for Developer Program members | Open models such as Llama and DeepSeek on NVIDIA endpoints |
| Cerebras Inference | $5 one-time promotional credit (payment method required) | Very high-throughput open-model inference |
If you need the OpenAI models that were in the catalog, they're available directly from OpenAI's paid API or through Microsoft Foundry. For a full walkthrough of getting a no-cost key, see our guide to free AI API keys.
Migrating code that used GitHub Models
- Find every call site. Search your repositories, scripts and GitHub Actions workflows for the GitHub Models endpoint and for GitHub tokens used as model API keys. Calls made from Actions workflows are easy to miss.
- Pick a provider per use. Prototype chat → Gemini, Groq or OpenRouter's free models; embeddings → Cloudflare Workers AI or a dedicated embeddings tier such as Jina AI or Voyage AI; production with OpenAI models → OpenAI directly or Microsoft Foundry.
- Create a key and store it as a secret. In GitHub Actions, add it under the repository's or organization's Actions secrets rather than hard-coding it.
- Change the base URL, key and model ID. With the OpenAI SDK this is usually a two- or three-line change. Model names differ by provider, so check each provider's model list.
- Re-check limits and output. Free tiers have different per-minute and per-day limits than GitHub Models had, and the same open model can behave slightly differently across hosts. Re-run any evaluations you kept in your repository.
- Remove dead configuration. Delete stored BYOK settings and GitHub Models prompt files you no longer need so teammates don't assume the service still works.
# Example: same OpenAI SDK, new provider
import os
from openai import OpenAI
client = OpenAI(
base_url="https://<new-provider-openai-compatible-url>/v1",
api_key=os.environ["NEW_PROVIDER_API_KEY"],
)
resp = client.chat.completions.create(
model="<model id from the new provider>",
messages=[{"role": "user", "content": "Hello"}],
)What we don't know
- Reason for retirement — not stated by GitHub.
- Data retention — the retirement posts don't say what happens to stored prompts, evaluations or BYOK settings. If this matters for compliance, ask GitHub Support.
- Final billing — the posts don't cover refunds or how outstanding pay-as-you-go usage is invoiced. Check your account's billing page.
- Return — GitHub hasn't indicated any plan to bring the service back.
Lessons for choosing a free AI API
GitHub Models' shutdown came with about six weeks between the new-customer cutoff and full retirement. That's a reminder that free tiers are a business decision, not a guarantee. Keeping your model provider behind a small wrapper (one function that takes a prompt and returns text), using OpenAI-compatible endpoints, and storing the base URL and model name in configuration rather than code makes the next migration a configuration change instead of a rewrite. We track status changes like this one and date every check on this site.
Frequently asked questions
›Is GitHub Models still free?
No. GitHub Models was fully retired on July 30, 2026. The playground, model catalog, inference API and BYOK are unavailable to every customer, including those who were actively using it.
›When did GitHub Models stop accepting new users?
GitHub closed it to new customers on June 16, 2026. Organizations and enterprises with no prior GitHub Models usage lost access then; existing users could continue until the full retirement on July 30, 2026.
›Why was GitHub Models retired?
GitHub's changelog posts announce the retirement and its timeline but don't give a reason.
›What replaced GitHub Models?
GitHub points users to Microsoft Foundry (ai.azure.com) for access to a broad model catalog, and to GitHub Copilot for building AI-powered workflows on GitHub. For free API access to models, see the free tiers listed on this site, such as Gemini, Groq, Cloudflare Workers AI and OpenRouter's free models.
›Does the retirement affect GitHub Copilot?
No. GitHub's documentation notes that GitHub Models was a separate service, unrelated to GitHub Copilot. Copilot plans, including the free Copilot offer for verified students, are unaffected.
›Will my old GitHub Models token or endpoint still work?
No. After July 30, 2026 the inference API and BYOK endpoints were removed, so code that called GitHub Models needs to be pointed at a different provider. Most alternatives offer OpenAI-compatible endpoints, so the change is usually a new base URL, API key and model name.
›What happened to GitHub Models billing and paid usage?
GitHub added pay-as-you-go billing and BYOK in June 2025. The retirement posts don't describe refunds or final invoices; check your GitHub billing page or contact GitHub Support for account-specific questions.
›Were there warnings before the shutdown?
Yes. GitHub announced the full retirement on July 1, 2026 and scheduled brownouts on July 16 and July 23, 2026, during which requests temporarily returned errors.
›Is there still any GitHub Models documentation?
GitHub's docs pages for GitHub Models now show a retirement notice. They state the service has been fully retired as of July 30, 2026, note that it was separate from GitHub Copilot, and point readers to Microsoft Foundry and the Copilot documentation instead. The old rate-limit tables and setup guides are no longer published.
Sources
Checked against these pages on Oct 17, 2026. Providers change offers often: always confirm on the official page before you rely on it.
- Official: GitHub Changelog — GitHub Models is now retired (July 30, 2026)(github.blog)
- Official: GitHub Changelog — GitHub Models is being fully retired on July 30, 2026(github.blog)
- Official: GitHub Changelog — GitHub Models is no longer available to new customers (June 16, 2026)(github.blog)
- Official: GitHub Changelog — GitHub Models now supports moving beyond free limits (June 24, 2025)(github.blog)
- Official: GitHub Blog — Introducing GitHub Models (August 2024)(github.blog)
- Official: GitHub Models docs (retirement notice)(docs.github.com)
- Official: GitHub billing docs — GitHub Models(docs.github.com)
Similar deals
GitHub Copilot Student
Free Copilot Student plan: unlimited completions + 200 monthly AI Credits
Verified students get GitHub Copilot free through the Copilot Student plan, introduced on March 12-13, 2026. It includes unlimited code completions, a monthly allowance of GitHub AI Credits (200 credits, worth $2.00, since June 1, 2026), agent mode, the cloud agent, code review and MCP, with model access through Auto model selection only. New Student sign-ups were paused on April 20, 2026, and GitHub began reopening them gradually from June 17, 2026.
GitHub Student Developer Pack
Copilot Student, GitHub Pro, Codespaces, $100 Azure, JetBrains IDEs and partner credits free
The GitHub Student Developer Pack bundles free developer tools from GitHub and about 80 partners for verified students aged 13+. AI-related items include GitHub Copilot Student, Camber's free agentic data-science plan, Deepnote's Team plan and Microsoft 365 with built-in AI. It also includes GitHub Pro, Pro-level Codespaces, $100 Azure credit (18+), Heroku ($13/month for 24 months), MongoDB Atlas ($50), Stripe ($25), a free JetBrains IDE subscription and many one-year SaaS plans.
Google Cloud Free Trial
$300 Welcome credit valid for 90 days
New Google Cloud customers get a $300 Welcome credit to spend over a 90-day Free Trial on most Google Cloud services. You must add a valid payment method, but you are not billed during the trial. The credit cannot pay for the Gemini API in AI Studio or for partner models offered as managed APIs, and trial accounts cannot add GPUs, use Marketplace or request quota increases. If you don't upgrade, resources are stopped at the end and deleted after a 30-day grace period. Separately, the always-free Free Tier keeps running with no end date.
Deepgram Speech API
$200 free credit for new accounts, no credit card
Every new Deepgram account gets $200 in free credit on the Pay As You Go plan, with no credit card required. Deepgram says this is about 43,000 minutes (over 700 hours) of Nova transcription, and the credit works across speech-to-text, text-to-speech, the Voice Agent API and audio intelligence. Deepgram's pricing page says the credit lasts until used, but its developer docs say free promotional credits expire one year from signup.