Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Connect OpenCode to the LLM Gateway
~/.config/opencode/opencode.jsonc
{ "$schema": "https://opencode.ai/config.json", "provider": { "unbound": { "npm": "@ai-sdk/openai-compatible", "name": "Unbound", "options": { "baseURL": "https://api.getunbound.ai/v1", "apiKey": "{env:UNBOUND_API_KEY}" }, "models": { "claude-sonnet-4-6": { "name": "Claude Sonnet 4.6" } } } } }
export UNBOUND_API_KEY=<your-key>
opencode
/models
Was this page helpful?