Skip to main content
Poolside provides an OpenAI-compatible Chat API for Poolside models. Thinking is enabled by default.

Watch the setup video

Prerequisites

  • You have one of the following:
    • A Poolside Platform API key. To create one, go to platform.poolside.ai.
    • An OpenRouter API key with access to Poolside models. To create one, go to OpenRouter API keys.
    • An API key for your organization’s Poolside deployment.

Steps

  1. In Poolside Platform, open API Keys.
  2. Click New key.
  3. Copy the API key.
  4. In OpenCode, run the /connect command.
  5. Scroll to Other.
  6. Enter poolside as the provider ID.
  7. Enter your Poolside Platform API key.
  8. Add an example Poolside provider to your opencode.json file. The models block below is an example. Use a Poolside model available to your API key.
    opencode.json
  9. Run the /models command.
  10. Select a Poolside model.
  11. Start a new chat and send a codebase question to confirm OpenCode responds with the selected Poolside model.