Model specifications
- Context
- 131,072 tokens
- Maximum output
- 117,964 tokens
- Architecture
- text->text
- Tokenizer
- GPT
- Knowledge cutoff
- 2024-06-30
- Moderated
- No
Complete pricing
Synchronized OpenRouter rates. Token prices are shown per one million tokens.
- Input
- $0.024 per 1M tokens
- Output
- $0.112 per 1M tokens
Model configuration
Reasoning
- Reasoning required
- Yes
- Default parameters
- medium
- Capabilities
- high, medium, low
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-oss-20b","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
No · high · medium · low
Supported API parameters
frequency_penaltyinclude_reasoninglogit_biasmax_tokensmin_ppresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_p1 Provider
Checked: September 23, 2026
Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.
DeepInfra
bf16- Context
- 131K
- Maximum output
- 118K
- Input
- $0.024
- Output
- $0.112
- Cache read
- Not provided
- Cache write
- Not provided