- Model
openai/gpt-4o-2024-11-20- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text, image
- Reasoning
- No
- Context window
- 128,000
- Max tokens
- 16,384
- Cost / million input
- $2.5
- Cost / million output
- $10
- Cost / million cache read
- $1.25
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "openai/gpt-4o-2024-11-20",
"name": "OpenAI: GPT-4o (2024-11-20)",
"reasoning": false,
"input": [
"text",
"image"
],
"contextWindow": 128000,
"maxTokens": 16384,
"cost": {
"input": 2.5,
"output": 10,
"cacheRead": 1.25,
"cacheWrite": 0
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}