Skip to content

Selecting a specific provider with OpenRouter #186

Description

@MartinMikusat

I might be missing something, is it possible to select a specific provider from OpenRouter? I couldn't find any info on this so I searched around, tried a bunch of random stuff but none of this seems to be using Cerebras as the provider (the speed difference should be obvious in their case, that's what I want to try)

{
"$schema": "https://opencode.ai/config.json",
"provider": {
"openrouter": {
"npm": "@openrouter/ai-sdk-provider",
"name": "OpenRouter",
"options": {
"apiKey": },
"models": {
"meta-llama/llama-4-scout:cerebras": {
"name": "Llama 4 Scout",
"order": [
"cerebras"
],
"provider": "cerebras"
}
}
}
}
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions