- Model
~openai/gpt-mini-latest- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text, image
- Reasoning
- Yes
- Context window
- 400,000
- Max tokens
- 128,000
- Cost / million input
- $0.75
- Cost / million output
- $4.5
- Cost / million cache read
- $0.075
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "~openai/gpt-mini-latest",
"name": "OpenAI GPT Mini Latest",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 400000,
"maxTokens": 128000,
"cost": {
"input": 0.75,
"output": 4.5,
"cacheRead": 0.075,
"cacheWrite": 0
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}