GitHub Models

🔴 Officially Retired as of July 30, 2026

Retired · Migrate to Baidu Qianfan, SenseNova, Google AI Studio, or Azure AI Foundry

💡 HIGHLIGHT

GitHub Models Retirement Announcement & Free Alternative Guide

⚡ Speed & Latency
Unavailable (HTTP 410)
Microsoft Azure has turned off the models.inference.ai.azure.com endpoint
🎁 Free Quota & Policy
Fully Terminated (0 calls/day)
All free quotas and playgrounds have been shut down; cease legacy API calls
🛡️ Auth & Access Requirements
GitHub PAT Auth Deprecated
Newly generated GitHub tokens will no longer work for model inference
📊 Concurrency & Context
0 RPM · Calls return 404/410
The service has been decommissioned and is no longer usable in production

🔌 OpenAI-Compatible Base URL

https://models.inference.ai.azure.com

💡 Directly paste the address above as Base URL into any OpenAI-compatible client (NextChat, Cherry Studio, Immersive Translate, etc.).

📋 Featured Models:

Click Model ID to copy
Retired gpt-4o
Legacy Azure-hosted GPT-4o endpoint is completely discontinued
Retired gpt-4o-mini
GPT-4o-mini rapid endpoint was decommissioned with the platform
Retired DeepSeek-R1
Endpoint closed; migrate to Baidu Qianfan or SiliconFlow
Retired Meta-Llama-3.3-70B-Instruct
Llama 3.3 70B endpoint closed; migrate to Groq or Cerebras

🎁 Free Tier Reality & Limits

Officially retired on July 30, 2026 · Inference API discontinued
🔄 Reset Cycle Service permanently terminated
🛡️ Overage Behavior All API requests return HTTP 404 / 410 Gone
📋 Access Requirements
✓ No Credit Card

Microsoft and GitHub officially announced: GitHub Models has been fully retired as of July 30, 2026. The playground, model catalog, inference API, and bring your own key (BYOK) are no longer available to any customer.

For existing GitHub Models users looking for replacements, Microsoft recommends Azure AI Foundry. For developers seeking zero-cost, card-free alternatives with generous recurring daily quotas, we recommend Baidu Qianfan (17M tokens), Google AI Studio (19 free models), SenseNova, or SiliconFlow.

⚠️ Worth Knowing & Gotchas

🔴 Service Fully Decommissioned

Since July 30, 2026, all inference requests sent to https://models.inference.ai.azure.com return 404/410 errors. Please remove old PAT keys from your projects.

💡 Official Successor: Azure AI Foundry

Microsoft's official enterprise alternative is Azure AI Foundry, providing comprehensive model hosting (requires an Azure account and billing profile).

🎁 Card-Free Community Alternatives

If you need instant free API keys without credit card requirements, switch to Google AI Studio (Gemini 3.8 Flash), Baidu Qianfan (17M tokens including DeepSeek R1), or SenseNova.

🚀 30-Second Quick Setup Guide

01

Stop Calling Discontinued Endpoints

Review your configuration and remove https://models.inference.ai.azure.com to prevent broken requests.

02

Select a Zero-Cost Card-Free Alternative

Visit FreeAI Dog to claim free API keys from Baidu Qianfan, Google AI Studio, or SenseNova.

03

Update Your Client Configuration

Replace the Base URL and API Key in NextChat, ChatBox, or Cursor to restore full model inference in seconds!

💻 Quick Python OpenAI SDK Example

from openai import OpenAI

client = OpenAI(
    api_key="your_api_key_here",  # 填入申请的 Key
    base_url="https://models.inference.ai.azure.com"
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[
        [object Object]
    ]
)

print(response.choices[0].message.content)

📖 Related In-Depth Tutorials & Strategies

Guides →
← Radar 🚀 Toolbox