DocsIntegrationOpenCode

OpenCode

Point the provider config at DaoXE.

Prerequisites
Signed in with balance · key created in the right group (create a key) · model IDs from the models table or /v1/models
json
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "daoxe": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "DaoXE",
      "options": {
        "baseURL": "https://api.daoxe.com/v1",
        "apiKey": "sk-xxxx"
      },
      "models": {
        "your-model-id": { "name": "Display name" }
      }
    }
  }
}

Install steps and package names follow OpenCode upstream. curl first before verifying in-app.