- Model
qwen/qwen-max- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text
- Reasoning
- No
- Context window
- 32,768
- Max tokens
- 8,192
- Cost / million input
- $1.04
- Cost / million output
- $4.16
- Cost / million cache read
- $0.208
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "qwen/qwen-max",
"name": "Qwen: Qwen-Max ",
"reasoning": false,
"input": [
"text"
],
"contextWindow": 32768,
"maxTokens": 8192,
"cost": {
"input": 1.04,
"output": 4.16,
"cacheRead": 0.20800000000000002,
"cacheWrite": 0
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}