GitHub Models logo

gpt-4o Free API on GitHub Models

Free API
★★★★★★★★★★ 3.5 Benchmark-backed score

Omni-era GPT for multimodal chat, practical coding, and general assistants

Free APIOpenAI compatibleTool callingJSON modePDF inputTextImage
API Details

Copy-ready connection details

Use these values in your client or SDK.
Base URL
https://models.github.ai/inference
Model ID
gpt-4o
API format OpenAI Chat Completions
Technical Details

gpt-4o specifications

Provider and model catalog
Context window 128K
Max output 16K
Status Online
Family gpt
Knowledge cutoff 2023-09
Released May 13, 2024
Last updated Aug 6, 2026
Free listing since May 13, 2024
Input text, image, pdf
Output text
Capabilities tool calling, structured output, file attachments, temperature control

External benchmark references

Benchmark Score Metric Date
Aider Polyglot 23.1 percent correct 2024-12-30
AI Recommendation

Should you use gpt-4o?

gpt-4o is listed for chat workloads and supports a 128K context window.

Use it when GitHub Models's free tier is enough for evaluation, demos, or light production traffic.

Best for
  • Chat
Strengths & Weaknesses

Strengths

  • Long context window
  • Tool calling support
  • Structured JSON output
  • Works with OpenAI-style SDKs

Watch outs

  • Free-tier rate limits apply
Benchmark Overview

Benchmark signals for gpt-4o

Measured data
Intelligence General reasoning and instruction following
8.6/100
Coding Programming and code generation
24.2/100
Speed Observed generation speed
70 tok/s
Context Maximum listed context window
128K
Pricing

gpt-4o pricing per 1M tokens

Free tier listed
Input $5 per 1M tokens
Output $15 per 1M tokens
Free access Available GitHub Models
Rate limit 10 RPM, 50 RPD provider policy
Availability

gpt-4o availability by provider

Current provider only

We only found this gpt-4o listing on GitHub Models in the current catalog. Use the related models section for nearby alternatives.

Provider Model listing Access Context API Limits
GitHub Models gpt-4o Free tier 128K OpenAI-style 10 RPM, 50 RPD
View GitHub Models setup guide →
Typical Use Cases

gpt-4o use cases

Chat

gpt-4o is tagged for chat in this catalog and works with OpenAI-compatible client libraries.

FAQ

gpt-4o free API FAQ

Is gpt-4o free to use?

gpt-4o is listed with free API access on GitHub Models, subject to the provider's quota and account policy.

What is the gpt-4o model ID?

The model ID shown in this catalog is gpt-4o.

What are the gpt-4o free tier rate limits on GitHub Models?

The listed free tier limit is 10 RPM, 50 RPD. Limits can change per account tier, so confirm against the provider dashboard.

What context window does gpt-4o support?

The listed context window is 128K tokens with up to 16K output tokens.

More about gpt-4o

GPT-4o is OpenAI's flagship multimodal model, available for free via GitHub Models with no credit card — just a GitHub account. While it supports image inputs natively on OpenAI's own API, the GitHub Models free tier currently serves the text-only path with 128K context and 16K max output. Rate limits are 10 RPM and 50 requests per day, and per-request caps of 8K input / 4K output tokens apply, so it is best for prompt engineering, model evaluation, and personal projects. Fully OpenAI SDK-compatible — drop in the GitHub Models base URL and your GitHub token, and existing OpenAI SDK code works unchanged.

For API keys, setup steps, and provider-level limits, see the GitHub Models provider page.