You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Poe as a model provider has stopped working #17302
Poe as a provider has suddenly stopped working for all of its models in OpenCode CLI. This occurred overnight without an update to OpenCode CLI itself. Models from other providers such as OpenCode Zen and OpenRouter still work.
Logging out of Poe as a provider with opencode auth logout, then logging back into Poe as a provider with opencode auth login makes no difference.
Downgrading to either 1.2.24 or 1.2.23 makes no difference.
Changing models from Poe makes no difference.
Changing agents makes no difference.
Plugins
No response
OpenCode version
1.2.25
Steps to reproduce
Run in terminal: opencode --model "poe/xai/grok-code-fast-1" --agent "plan" --prompt "Write a Typescript function to return the square of a number"
Error displayed immediately in new session: Bot does not exist: xai/grok-code-fast-1
I needed to do this on a few machines so based off yanmi4-coders suggestion I generated the following script which copies all the Poe models into Poe (Fixed)
Basically it just removes the provider from the model name and that seems to work for the couple I tried
Activity
qzmlgfj commentedon Mar 13, 2026
The same.
yanmi4-coder commentedon Mar 15, 2026
You can create a custom provider in opencode.json to fix this:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"poe-fixed": {
"npm": "@ai-sdk/openai-compatible",
"name": "Poe (Fixed)",
"options": {
"baseURL": "https://api.poe.com/v1",
"apiKey": "{env:POE_API_KEY}"
},
"models": {
"claude-haiku-4.5": {
"name": "Claude Haiku 4.5"
},
"claude-sonnet-4.6": {
"name": "Claude Sonnet 4.6"
}
}
}
}
}
Save this to ~/.config/opencode/opencode.json
notna888 commentedon Mar 17, 2026
I needed to do this on a few machines so based off yanmi4-coders suggestion I generated the following script which copies all the Poe models into Poe (Fixed)
Basically it just removes the provider from the model name and that seems to work for the couple I tried
export_poe_models.py
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.