o4-mini by GitHub Models

Free prototyping for all GitHub users. 45+ models. Per-request limits (8K in / 4K out).

Access
Free API tier
Free limits
10 RPM, 50 RPD
Modality
text
Credit card
Not required
Commercial use
Unclear, verify
Context window
200,000 tokens
Model ID
openai/o4-mini
Base URL
https://models.github.ai/inference
Last verified
June 2026

How to use o4-mini

Free prototyping for all GitHub users. 45+ models. Per-request limits (8K in / 4K out).

Quickstart

curl https://models.github.ai/inference/chat/completions \
  -H "Authorization: Bearer $KEY" \
  -d '{"model":"openai/o4-mini","messages":[{"role":"user","content":"hi"}]}'

Frequently asked

Is o4-mini free?

Yes. GitHub Models offers it as Free API tier with these limits: 10 RPM, 50 RPD. No credit card is required.

Can I use o4-mini commercially?

Commercial terms are not clearly documented. Check the provider's current terms before shipping.

How do I start using o4-mini?

Free prototyping for all GitHub users. 45+ models. Per-request limits (8K in / 4K out).

Related free models

Want this wired into your business?

We build production automations and agents on free and paid models, picked for your workload and budget.

Book a build call