Retired · Migrate to Baidu Qianfan, SenseNova, Google AI Studio, or Azure AI Foundry
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.).
gpt-4o gpt-4o-mini DeepSeek-R1 Meta-Llama-3.3-70B-Instruct 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.
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.
Microsoft's official enterprise alternative is Azure AI Foundry, providing comprehensive model hosting (requires an Azure account and billing profile).
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.
Review your configuration and remove https://models.inference.ai.azure.com to prevent broken requests.
Visit FreeAI Dog to claim free API keys from Baidu Qianfan, Google AI Studio, or SenseNova.
Replace the Base URL and API Key in NextChat, ChatBox, or Cursor to restore full model inference in seconds!
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)