- Model
baidu/ernie-4.5-21b-a3b- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text
- Reasoning
- No
- Context window
- 120,000
- Max tokens
- 8,000
- Cost / million input
- $0.07
- Cost / million output
- $0.28
- Cost / million cache read
- $0
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "baidu/ernie-4.5-21b-a3b",
"name": "Baidu: ERNIE 4.5 21B A3B",
"reasoning": false,
"input": [
"text"
],
"contextWindow": 120000,
"maxTokens": 8000,
"cost": {
"input": 0.07,
"output": 0.28,
"cacheRead": 0,
"cacheWrite": 0
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}