GitHub Models

Verified βœ… Truly Free

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
Get API Key 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)

Why Choose GitHub Models?

GitHub Models stands out for its unique features and capabilities. With a developer-friendly API and comprehensive documentation, you can integrate AI capabilities into your applications within minutes.

Available Models

Model Name ID Context Capabilities
GPT-4o Free
gpt-4o
128 000
Reasoning
Llama 3.3 70B Instruct Free
Meta-Llama-3.3-70B-Instruct
128 000
-
Phi-4 Free
Phi-4
128 000
Reasoning
Mistral Large (24.11) Free
Mistral-large-2411
128 000
Reasoning Multilingual
Cohere Command R+ Free
Cohere-command-r-plus-08-2024
128 000
-
AI21 Jamba 1.5 Large Free
AI21-Jamba-1.5-Large
256 000
-
GPT-5 Chat Free
gpt-5-chat
128 000
-
GPT-5 Mini Free
gpt-5-mini
128 000
-
Llama 4 Scout Free
Llama-4-Scout-17B-16E-Instruct
128 000
-
Llama 4 Maverick Free
Llama-4-Maverick-17B-128E-Instruct-FP8
1 000 000
-

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