Model specifications
- Context
- 1,047,576 tokens
- Maximum output
- 32,768 tokens
- Architecture
- text+image+file->text
- Tokenizer
- GPT
- Knowledge cutoff
- 2024-06-30
- Moderated
- Yes
Complete pricing
Synchronized OpenRouter rates. Token prices are shown per one million tokens.
- Input
- $0.4 per 1M tokens
- Output
- $1.6 per 1M tokens
- Cache read
- $0.1 per 1M tokens
Quick start
Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.
curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-4.1-mini","messages":[{"role":"user","content":"Hello!"}]}'Input → Output
Supported API parameters
max_completion_tokensmax_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p3 providers
Checked: September 7, 2026
Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.
Azure
Not provided- Context
- 1.0M
- Maximum output
- 943K
- Input
- $0.4
- Output
- $1.6
- Cache read
- $0.1
- Cache write
- Not provided
OpenAI
Not provided- Context
- 1.0M
- Maximum output
- 33K
- Input
- $0.4
- Output
- $1.6
- Cache read
- $0.1
- Cache write
- Not provided
Azure
Not provided- Context
- 1.0M
- Maximum output
- 943K
- Input
- $0.44
- Output
- $1.76
- Cache read
- $0.11
- Cache write
- Not provided