If you run Poolside model inference on your own infrastructure, use the model’s OpenAI-compatible endpoint at https://<model-hostname>/v1. Use the API key configured for the endpoint, if it requires one.
Configure Poolside as a custom OpenAI-compatible provider and provide the endpoint’s API key through the POOLSIDE_API_KEY environment variable.If your endpoint does not require authentication, skip the export and omit the env field from the configuration below.
env: Environment variables OpenCode reads your API key from. Omit this field for an endpoint that does not require authentication.
options.baseURL: Your model’s OpenAI-compatible endpoint.
models: Model IDs served by your endpoint. Use a model available from your model server.
Run the /models command, select a Poolside model, then start a new chat and send a codebase question to confirm OpenCode responds with the selected Poolside model.