GitHub Models

Verified ☠️ Discontinued

This provider has shut down

The API and/or company no longer operate. Everything below is kept for historical reference only — do not build on it.

Free access to GPT-4o, Llama, Mistral and more through GitHub's model marketplace. Requires a GitHub account. Limits vary by Copilot tier.

Free Tier Restrictive Limits Multi-Model GPT-5 Llama 4
Website (defunct) Suggest Edit
3654

Overview

Provider Type

API

API Endpoint

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

Free Tier Highlights

50 RPD (high-tier) / 150 RPD (mini-tier)

What happened to GitHub Models's free tier?

GitHub Models has shut down this service, so it can no longer be used for free. We keep the page for reference.

Free alternatives that work today: Google AI Studio, Groq, OpenRouter, or use several at once with Free-LLM Router.

Available Models

0 free models
Model Name ID Context Capabilities

Integration Examples

Ready-to-use code snippets for your applications.

main.py
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_GITHUB_TOKEN",
    base_url="https://models.inference.ai.azure.com"
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[
        {"role": "user", "content": "Explain how GitHub Models works"}
    ]
)

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

Free Tier Pricing & Limits

Rate Limit

Requests per minute

10 Requests per minute (high-tier) / higher for mini-tier

Daily Quota

Requests per day

50 Requests per day (high-tier models) / 150 Requests per day (mini-tier models)

Token Limit

Tokens per minute

8 000 input / 4 000 output per request

Monthly Quota

Per month limit

-

Limitations & Considerations

Restrictive limits

Requires GitHub account

Rate limits vary by Copilot tier

Community Hub

Live

Join the discussion, share tips, and rate GitHub Models.

Quick Reactions

Add Discussion

Comments are moderated. Be helpful and respectful.

Recent Activity

0 comments

Ready to Get Started?

Join thousands of developers using GitHub Models

Start Building Now