Skip to main content
Use the Poolside Platform or Poolside deployment option if you want Pi to call Poolside’s inference endpoint directly with your own API key. Use OpenRouter if you already route your models through OpenRouter, or want to compare Poolside models alongside others.

Watch the setup video

Prerequisites

  • You have Pi installed. Run pi --version to confirm the installation. For other installation options, including npm and Windows, see the Pi Quickstart.
  • You have one of the following:
    • A Poolside Platform API key. To create one, go to platform.poolside.ai.
    • An API key for your organization’s Poolside deployment.
    • An OpenRouter API key with access to Poolside models. To create one, go to OpenRouter API keys.

Steps

Pi finds custom providers in ~/.pi/agent/models.json.
  1. Make your Poolside Platform API key available as an environment variable. Add it to your shell profile.
  2. Create or open ~/.pi/agent/models.json and add Poolside as a provider. To find model IDs for your access method, see List available models.
    ~/.pi/agent/models.json
  3. In your terminal, run pi.
  4. Run /model.
  5. Select the Poolside model you added.
  6. Send a codebase question to confirm Pi responds with the selected Poolside model.