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
Get API Key Suggest Edit
3650

Overview

Provider Type

API

API Endpoint

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

Free Tier Highlights

Varies by Copilot 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
-

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

Varies by Copilot Tier

Daily Quota

Requests per day

Low

Token Limit

Tokens per minute

Restrictive

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