Skip to main content

Configure OpenCode

Orbit AI API Team2026/07/113 min read

Configure with AI Toolbox

1. Add a provider

Add a provider in OpenCode configuration management.

Adding an OpenCode provider in AI Toolbox
Figure 1: Add a custom OpenCode provider.

2. Select a request format

Choose the OpenAI-compatible request format for Orbit AI API.

Selecting the OpenCode request format in AI Toolbox
Figure 2: Select the OpenAI-compatible format.

3. Enter connection details

Enter Base URL https://orbitaiapi.site/v1, the API key, and a provider name, then save.

Completed OpenCode provider details in AI Toolbox
Figure 3: OpenCode provider connection details are complete.

4. Add and enable models

Fetch or add available models, then enable the models you want to use.

Adding an OpenCode model in AI Toolbox
Figure 4: Add an OpenCode model.
Enabling an OpenCode model in AI Toolbox
Figure 5: Enable models for OpenCode.

5. Set the primary model

Set a frequently used model as the primary model, save, then open OpenCode and make a test request.

Setting the primary OpenCode model in AI Toolbox
Figure 6: Set OpenCode's primary model.

Final checks

  • You completed the environment check.
  • The API key is stored in AI Toolbox and does not appear in public files.
  • The model name exactly matches the name shown in the console's Model Gallery.

OpenCode configuration formats and fields can change between versions or plugins. AI Toolbox avoids editing several configuration files manually.