- Model
meta-llama/llama-4-scout- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text, image
- Reasoning
- No
- Context window
- 327,680
- Max tokens
- 16,384
- Cost / million input
- $0.08
- Cost / million output
- $0.3
- Cost / million cache read
- $0
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "meta-llama/llama-4-scout",
"name": "Meta: Llama 4 Scout",
"reasoning": false,
"input": [
"text",
"image"
],
"contextWindow": 327680,
"maxTokens": 16384,
"cost": {
"input": 0.08,
"output": 0.3,
"cacheRead": 0,
"cacheWrite": 0
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}