All integrations

opencode

Coding agents & IDEs

Open-source terminal coding agent with a custom-provider config.

Base URL
https://api.ultragpt.pro/v1
Fill the guide with your values

Stays in this browser tab — never sent or stored by us. Sign in to create one

Your system

Setup

  1. 1Add an ultragpt provider to opencode.json (project) or ~/.config/opencode/opencode.json.
  2. 2Export ULTRAGPT_API_KEY, run opencode and pick the model with /models.
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "ultragpt": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "UltraGPT",
      "options": {
        "baseURL": "https://api.ultragpt.pro/v1",
        "apiKey": "{env:ULTRAGPT_API_KEY}"
      },
      "models": {
        "claude-opus-4.8": { "name": "claude-opus-4.8" },
        "grok-4.7": { "name": "grok-4.7" }
      }
    }
  },
  "model": "ultragpt/claude-opus-4.8"
}
Tips
  • Any model id from Models works; suffixes like :online (web search) and :nitro work too.
  • Give each tool its own key with a spend limit, so usage shows separately in Activity.
  • Something off? Error codes · Support