Skip to content

GPT-4o

Tools
openai/gpt-4o

1M context · May 2024 · 7 upstreams

GPT-4o ("o" for "omni") is OpenAI's versatile, high-intelligence flagship multimodal model. It processes text and image inputs to generate text outputs and serves as the primary choice for most tasks outside the o-series reasoning models. The model supports a 128,000-token input context with 16,384 output tokens, and exposes streaming, function calling, structured outputs, fine-tuning, and predicted outputs across Chat Completions, Responses, Realtime, and Assistants APIs.

Bring your own keyAnyRouter has no platform route for GPT-4o. Requests use your key and bill your provider account. AnyRouter adds no fee.
context
1M
input / 1M (list)
$2.50
output / 1M (list)
$10.00
routes
7
speed, 24h
—

Routes, in fallback orderThe first healthy route answers. Add a key to use a BYOK route.

7
  1. 1AIHubMixYour key · not addedBYOK–
  2. 2OpenAIYour key · not addedBYOK–
  3. 3OpenRouterYour key · not addedBYOK–
  4. 4ClineYour key · not addedBYOK–
  5. 5Ramp RouterYour key · not addedBYOK–
  6. 6Vercel AI GatewayYour key · not addedBYOK–
  7. 7Nous ResearchYour key · not addedBYOK–

Try itOne message, one streamed reply

Type a message and see the reply stream in here.

Uptime, last 48 hours

OKDegradedDown—

Details

Owner
OpenAI
Kind
Vision
Released
May 2024
Context
1M
Data policy
Provider retention
Endpoint
/api/v1/chat/completions

Quick start

Code

POST /api/v1/chat/completionsSDK docs
import osfrom openai import OpenAI client = OpenAI(    api_key=os.environ["ANYROUTER_API_KEY"],    base_url="https://anyrouter.dev/api/v1",) resp = client.chat.completions.create(    model="openai/gpt-4o",    messages=[{"role": "user", "content": "Say hi in 3 words."}],)print(resp.choices[0].message.content)
More details: pricing table, filters, performance, links

Upstreams and pricing

ProviderCacheContextAccessStatusProvider details
Your own key (BYOK) — provider bills you, $0 AnyRouter fee
2.50 list10.00 list—1M
2.50 list10.00 list0128K
2.50 list10.00 list0128K
2.50 list10.00 list—128K
2.50 list10.00 list—128K
2.50 list10.00 list—128K
2.50 list10.00 list—128K

Which key answers this model

Your request → your own keys first (none added yet). The provider bills you; AnyRouter adds $0.

If none of your keys can serve it → the shared pool: keys other people donated. You pay the list price from AnyRouter credits, and the donor earns a reward.

Pool for this model: not covered yet.

Share cards
GPT-4o share card
GPT-4o
AIHubMix upstream share card
AIHubMix upstream
OpenAI upstream share card
OpenAI upstream
OpenRouter upstream share card
OpenRouter upstream
Cline upstream share card
Cline upstream
Ramp Router upstream share card
Ramp Router upstream
Vercel AI Gateway upstream share card
Vercel AI Gateway upstream
Nous Research upstream share card
Nous Research upstream