Skip to content

GPT-4o Mini

openai/gpt-4o-mini

Vision · 128K context · Jul 2024 · 26 upstreams

GPT-4o Mini is OpenAI's fast, small multimodal model for focused tasks. It takes text and image input and returns text, with a 128,000-token input context and 16,384 output tokens. It supports streaming, function calling and structured outputs.

Needs your own keyTo use GPT-4o Mini, add your OpenAI key, or a key from another provider that serves it. AnyRouter adds no fee.
context
128K
input / 1M (list)
$0.15
output / 1M (list)
$0.60
routes
26
speed, 24h
No data yet

Upstreams

26
  1. 1OpenAIBYOKBilled to your key
  2. 2OpenRouterBYOKBilled to your key
  3. 3GitHub CopilotBYOKBilled to your key
  4. 4ClineBYOKBilled to your key
  5. 5Ramp RouterBYOKBilled to your key
  6. 6Vercel AI GatewayBYOKBilled to your key
  7. 7Nous ResearchBYOKBilled to your key
  8. 8ComputrixBYOKBilled to your key
  9. 9inference.netBYOKBilled to your key
  10. 10InfronBYOKBilled to your key
  11. 11LLM GatewayBYOKBilled to your key
  12. 12PhalaBYOKBilled to your key
  13. 13AI/ML APIBYOKBilled to your key
  14. 14ZenMuxBYOKBilled to your key
  15. 15OcarRouterBYOKBilled to your key
  16. 16AIHubMixBYOKBilled to your key
  17. 17RequestyBYOKBilled to your key
  18. 18OpenGatewayBYOKBilled to your key
  19. 19NanoGPTBYOKBilled to your key
  20. 20Eden AIBYOKBilled to your key
  21. 21Abacus RouteLLMBYOKBilled to your key
  22. 22FluenceBYOKBilled to your key
  23. 23CortecsBYOKBilled to your key
  24. 24HeliconeBYOKBilled to your key
  25. 25PoeBYOKBilled to your key
  26. 26GetVibeBYOKBilled to your key

Benchmarks

GPQA Diamond
42.6%
LiveCodeBench
23.4%
AIME
11.7%
HLE
4.0%

Compare

Compared with models of similar price and context window.

GPT-4o Mini$0.15 (second best)$0.60 (second best)128K (second best)6.964.8%11.423.4%22.9%42.6%11.7%4.0%–––31.0%
GPT-5.4 Nano$0.20$1.25400K (best)17.6–27.9–35.2%55.8%–4.2%24.2%34.8%24.7%32.7%
GPT-5 Nano$0.05 (best)$0.40 (best)400K (best)8.055.6%14.247.0%29.1%42.8%27.3%4.1%6.8%25.7%20.0%32.5%
GPT-5 Mini$0.25$2.00400K (best)30.9 (best)82.8% (best)32.8 (second best)69.2% (second best)41.0% (second best)80.3% (second best)85.0% (second best)14.6% (second best)28.8% (second best)71.1% (best)66.0% (best)71.2% (best)
GPT-5.1 Codex Mini$0.25$2.00400K (best)30.6 (second best)82.0% (second best)36.4 (best)83.6% (best)42.6% (best)81.3% (best)91.7% (best)16.9% (best)33.3% (best)62.9% (second best)62.7% (second best)67.9% (second best)

Quick start

curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "openai/gpt-4o-mini",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'

Details

Owner
OpenAI
Kind
Vision
Released
Jul 2024
Context
128K
Capabilities
Data policy
Provider retention
Endpoint
/api/v1/chat/completions