-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Description
Hi, I'm encountering an issue using OpenRouter with the Deepseek (free) model in Opencode.
What I’ve done:
- Successfully authenticated via
opencode auth loginusing my OpenRouter API key. - My
opencode.jsonis configured like this:
{
"$schema": "https://opencode.ai/config.json",
"model": "openrouter/deepseek/deepseek-r1-0528:free",
"disabled_providers": ["anthropic", "mistral", "openai", "xai"],
"provider": {
"openrouter": {
"npm": "@openrouter/ai-sdk-provider",
"name": "OpenRouter",
"options": {},
"models": {
"deepseek/deepseek-r1-0528:free": {
"name": "Deepseek R1 0528 (free)"
},
"deepseek/deepseek-chat-v3-0324:free": {
"name": "Deepseek Chat V3 0324 (free)"
}
}
}
}
}- When running
opencode models, the Deepseek models are listed correctly. - I’ve set
"openrouter/deepseek/deepseek-r1-0528:free"as my default model.
Problem:
When I send a prompt, I get the following error:
AI_APICallError: Not Found
It seems like the model is recognized but not actually callable. Any guidance on resolving this?
Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels