- Model
Qwen/Qwen3.5-397B-A17B- Provider
huggingface- API
openai-completions- Base URL
https://router.huggingface.co/v1- Input
- text, image
- Reasoning
- Yes
- Context window
- 262,144
- Max tokens
- 32,768
- Cost / million input
- $0.6
- Cost / million output
- $3.6
- Cost / million cache read
- $0
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"huggingface": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "Qwen/Qwen3.5-397B-A17B",
"name": "Qwen3.5-397B-A17B",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 262144,
"maxTokens": 32768,
"cost": {
"input": 0.6,
"output": 3.6,
"cacheRead": 0,
"cacheWrite": 0
},
"compat": {
"supportsDeveloperRole": false
}
}
],
"api": "openai-completions",
"baseUrl": "https://router.huggingface.co/v1"
}
}
}