OpenCode / Aider Setup

Use the marketplace with OpenCode, Aider, Continue, or any OpenAI-compatible CLI tool.

OpenCode

Set in your OpenCode config:

json
{
  "provider": "openai",
  "baseUrl": "https://api.surplusintelligence.ai/v1",
  "apiKey": "inf_your_key_here",
  "model": "claude-opus-4.6"
}

Aider

bash
aider --openai-api-base https://api.surplusintelligence.ai/v1 \
      --openai-api-key inf_your_key_here \
      --model claude-opus-4.6

Continue (VS Code)

In .continue/config.json:

json
{
  "models": [{
    "provider": "openai",
    "apiBase": "https://api.surplusintelligence.ai/v1",
    "apiKey": "inf_your_key_here",
    "model": "claude-opus-4.6"
  }]
}

Python (OpenAI SDK)

python
from openai import OpenAI

client = OpenAI(
    api_key="inf_your_key_here",
    base_url="https://api.surplusintelligence.ai/v1"
)

Any tool that accepts a custom OpenAI base URL works — just change the URL and key.