Model specifications
- Context
- 128,000 tokens
- Maximum output
- 16,384 tokens
- Architecture
- text+image+file->text
- Tokenizer
- GPT
- Knowledge cutoff
- 2023-10-31
- Moderated
- Yes
Complete pricing
Synchronized OpenRouter rates. Token prices are shown per one million tokens.
- Input
- $1.25 per 1M tokens
- Output
- $5 per 1M tokens
- Cache read
- $0.625 per 1M tokens
Quick start
Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.
This submits an asynchronous batch using the base model ID. A job ID confirms submission, not completion.
curl --fail-with-body https://openrouter.ai/api/beta/batches \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"endpoint":"/v1/chat/completions","model":"openai/gpt-4o","requests":[{"custom_id":"request-1","body":{"messages":[{"role":"user","content":"Hello!"}]}}]}'
# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
-H "Authorization: Bearer $OPENROUTER_API_KEY"Input → Output
Supported API parameters
frequency_penaltylogit_biaslogprobsmax_tokenspredictionpresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_pweb_search_options1 Provider
Checked: September 7, 2026
Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.
OpenAI
Not provided- Context
- 128K
- Maximum output
- 16K
- Input
- $1.25
- Output
- $5
- Cache read
- $0.625
- Cache write
- Not provided