Skip to content

GPT-4o

openai/gpt-4o

Vision · 128K context · May 2024 · 25 upstreams

GPT-4o is OpenAI's versatile flagship multimodal model, with the o standing for omni. 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, add your OpenAI key, or a key from another provider that serves it. AnyRouter adds no fee.
context
128K
input / 1M (list)
$2.50
output / 1M (list)
$10.00
routes
25
speed, 24h
No data yet

Upstreams

25
  1. 1AIHubMixBYOKBilled to your key
  2. 2OpenAIBYOKBilled to your key
  3. 3OpenRouterBYOKBilled 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. 16RequestyBYOKBilled to your key
  17. 17OpenGatewayBYOKBilled to your key
  18. 18NanoGPTBYOKBilled to your key
  19. 19Eden AIBYOKBilled to your key
  20. 20Abacus RouteLLMBYOKBilled to your key
  21. 21FluenceBYOKBilled to your key
  22. 22CortecsBYOKBilled to your key
  23. 23HeliconeBYOKBilled to your key
  24. 24PoeBYOKBilled to your key
  25. 25OfoxBYOKBilled to your key

Benchmarks

GPQA Diamond
51.1%
AIME
10.3%
HLE
3.7%

Compare

Compared with models of similar price and context window.

GPT-4o$2.50$10.0 (second best)128K8.277.3% (second best)–33.4%51.1%10.3% (second best)3.7%––53.0% (second best)–
GPT-5.2 Chat$1.75 (best)$14.0128K–––––––––––
o3$2.00 (second best)$8.00 (best)200K (second best)–––––––––––
GPT-5.2$1.75 (best)$14.0400K (best)26.0 (second best)81.4% (best)34.7 (second best)40.4% (second best)71.2% (second best)51.0% (best)7.3% (second best)31.8% (second best)46.5% (second best)38.0%47.4% (second best)
GPT-5.2 Codex$1.75 (best)$14.0400K (best)40.1 (best)–38.0 (best)54.6% (best)89.9% (best)–33.5% (best)37.1% (best)92.1% (best)75.7% (best)77.6% (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",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'

Details

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