Skip to content

Poe as a model provider has stopped working #17302

Closed as not planned
Closed as not planned

Description

@akoukoullis

Description

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

Screenshot and/or share link

Share link to above example: https://opncd.ai/share/dReU1mkC

Operating System

macOS Sequoia 15.7.4

Terminal

iTerm2

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 13, 2026
  2. qzmlgfj commented on Mar 13, 2026

    @qzmlgfj

    The same.

  3. yanmi4-coder commented on Mar 15, 2026

    @yanmi4-coder

    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

  4. notna888 commented on Mar 17, 2026

    @notna888

    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

  5. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  6. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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