Integration guide
OpenCode on Seedrise
OpenCode connects to Seedrise as a custom provider in opencode.json: the @ai-sdk/openai-compatible package with base URL https://api.seedrise.ai/v1 reaches every model on your key, and Claude can also run through OpenCode's built-in Anthropic provider pointed at the same URL.
Updated 2026-11-02
OpenCode settings at a glance
Checked against OpenCode's provider and config docs on 2 November 2026.
| Setting | Value |
|---|---|
| Provider ID | seedrise. Any ID works, but it must match the ID you use with /connect. |
| npm package | @ai-sdk/openai-compatible, which calls /v1/chat/completions |
| options.baseURL | https://api.seedrise.ai/v1 |
| options.apiKey | {env:SEEDRISE_API_KEY}, or store the key with /connect |
| Model IDs | The provider's own ID, no vendor prefix, for example deepseek-v4-pro |
| Claude, optional | The built-in anthropic provider with baseURL set to https://api.seedrise.ai/v1 |
| Not supported | @ai-sdk/openai, which OpenCode uses for the Responses API (/v1/responses). Seedrise does not serve it yet. |
Why run OpenCode through Seedrise
Every model behind one provider
GPT, DeepSeek, Kimi, Qwen and Claude through one base URL and one key. Switch models with /models; nothing else changes.
Rates per account, one invoice
Rates are quoted per account against each provider's published list price, on one monthly invoice in USD or AUD.
Limits on every key
Budget, model, IP and expiry limits per key. Models marked AU, including Claude Opus 5.5, Sonnet 5.5 and Haiku 5.5, can be pinned to Sydney or Melbourne on request.
Setup in five minutes
- Install OpenCode. Follow OpenCode's install guide for macOS, Linux or Windows. Nothing Seedrise-specific here.
- Get your Seedrise key. Request a rate card, receive your console login, and create a key for OpenCode in the console. Limit it to the models you plan to use and set a monthly budget.
- Put the key in your environment. Add it to your shell profile (
~/.zshrcor~/.bashrc). The config reads it with{env:SEEDRISE_API_KEY}, so the key never sits in a file you might commit.bashexport SEEDRISE_API_KEY="sk-..." # your Seedrise key - Add Seedrise to opencode.json. Use
~/.config/opencode/opencode.jsonfor yourself, oropencode.jsonin the project root to share it through the repo. Model IDs have no vendor prefix.opencode.json{ "$schema": "https://opencode.ai/config.json", "provider": { "seedrise": { "npm": "@ai-sdk/openai-compatible", "name": "Seedrise", "options": { "baseURL": "https://api.seedrise.ai/v1", "apiKey": "{env:SEEDRISE_API_KEY}" }, "models": { "gpt-6.1-sol": { "name": "GPT-6.1 Sol", "limit": { "context": 1050000, "output": 128000 } }, "deepseek-v4-pro": { "name": "DeepSeek V4 Pro", "limit": { "context": 1000000, "output": 384000 } }, "kimi-k3.1-pro": { "name": "Kimi K3.1 Pro" }, "qwen3.8-max": { "name": "Qwen3.8 Max", "limit": { "context": 1000000, "output": 131072 } } } }, "anthropic": { "options": { "baseURL": "https://api.seedrise.ai/v1", "apiKey": "{env:SEEDRISE_API_KEY}" }, "whitelist": ["claude-opus-5-5", "claude-sonnet-5-5", "claude-haiku-5-5"] } }, "model": "anthropic/claude-sonnet-5-5", "small_model": "anthropic/claude-haiku-5-5" } - Start and verify. Run
opencode models seedriseto list the models from your config, then startopencode, choose a model with/modelsand send a first prompt.
What the config does
seedriseuses@ai-sdk/openai-compatible, which calls/v1/chat/completionsand works for every model on your key.anthropickeeps OpenCode's built-in Claude provider, with its model metadata, and sends it to Seedrise. The base URL ends in/v1because this provider adds/messagesitself. Claude Code is different: it takes the root URL.whitelistlimits the Claude list to the models your key can call. Addclaude-fable-5-1only if it is enabled on your key.limitgives OpenCode each model's context window and maximum output, so it can show how much context is left. It is optional; the figures come from the model library.- Prefer one provider for everything? Add the Claude IDs under
seedrise.modelsand remove theanthropicblock; Claude then runs over Chat Completions.
Models in this config
Provider list prices in USD per 1M tokens, input / output, as at 1 November 2026. Context windows checked 1 November 2026. Your Seedrise rate card is quoted per account against these prices.
| Model | Select in OpenCode as | Context | List price, input / output | Region |
|---|---|---|---|---|
| Claude Opus 5.5 | anthropic/claude-opus-5-5 | 1M | 4.00 / 20.00 | AU |
| Claude Sonnet 5.5 | anthropic/claude-sonnet-5-5 | 1M | 2.00 / 10.00 | AU |
| Claude Haiku 5.5 | anthropic/claude-haiku-5-5 | 1M | 0.10 / 0.50 | AU |
| GPT-6.1 Sol | seedrise/gpt-6.1-sol | 1.1M | 2.00 / 10.00 | Global |
| DeepSeek V4 Pro | seedrise/deepseek-v4-pro | 1M | 1.32 / 3.96 | Global |
| Kimi K3.1 Pro | seedrise/kimi-k3.1-pro | 1M | 2.00 / 10.00 | Global |
| Qwen3.8 Max | seedrise/qwen3.8-max | 1M | 2.00 / 6.00 | SG |
Any other ID in the model library goes under seedrise.models the same way. See plans and pricing for how rates are set.
Check it is working
opencode models seedriselists the four Seedrise models asseedrise/<id>.- In OpenCode,
/modelsshows the Seedrise provider and only the Claude models in yourwhitelist. opencode run -m seedrise/deepseek-v4-pro "Say hello"answers without opening the interface, which is handy in scripts and CI.- Usage appears in the Seedrise console within a minute, by key and model.
Known errors
| Status | Meaning | Fix |
|---|---|---|
401 | The key is missing, disabled or expired. SEEDRISE_API_KEY may be empty in the shell that started OpenCode, or an old Anthropic key saved with /connect may be used for Claude. | Check echo $SEEDRISE_API_KEY and the key in the console. Remove old credentials with opencode auth logout. |
403 | Model not on this key, or IP not in the allow-list | Adjust the key's model list or allow-list |
404 | Wrong path. Claude requests went to /messages because the anthropic base URL lacks /v1, or the provider uses @ai-sdk/openai and called /v1/responses. | Set both base URLs to https://api.seedrise.ai/v1 and use @ai-sdk/openai-compatible. |
400 | Bad request, usually a wrong model ID or malformed body | Check the ID against GET /v1/models. If Claude fails only through the anthropic provider, move that model under seedrise.models and send us the request time. |
429 | Rate limit or budget reached | Back off and retry; raise the limit in the console or ask us |
| Missing model | The ID is not under seedrise.models, or whitelist hides it. | Add the ID to the config. For Claude metadata, run opencode models --refresh. |
Still stuck? Email support@seedrise.ai with the time of the request, the model ID and the key name.
For teams
Commit opencode.json to the repo so everyone gets the same providers and models, while each developer keeps their own key in SEEDRISE_API_KEY. OpenCode merges config files, so a short file like this can limit OpenCode to the Seedrise providers:
{
"$schema": "https://opencode.ai/config.json",
"enabled_providers": ["seedrise", "anthropic"],
"model": "anthropic/claude-sonnet-5-5",
"small_model": "anthropic/claude-haiku-5-5"
}- To enforce it on company machines, put the config in OpenCode's managed directory, which users cannot override:
/Library/Application Support/opencode/on macOS,/etc/opencode/on Linux,%ProgramData%\opencodeon Windows. - Give each team or project its own key, so spend shows up per project on the invoice.
- Set a monthly budget on every key. When a key reaches its budget, requests return 429 and the agent stops instead of running on.
small_modelhandles session titles and other light tasks. Haiku 5.5 keeps that cost low.
OpenCode questions
Does OpenCode work with Claude through Seedrise? +
anthropic provider at https://api.seedrise.ai/v1 to use the Anthropic Messages format with OpenCode's Claude model metadata, or add the Claude IDs to the seedrise provider to run them over Chat Completions.Which npm package do I use for the Seedrise provider? +
@ai-sdk/openai-compatible. It calls /v1/chat/completions, which Seedrise serves for every model. OpenCode uses @ai-sdk/openai for the Responses API (/v1/responses), which Seedrise does not offer yet.Where should the API key go? +
{env:SEEDRISE_API_KEY}. You can also store it with /connect: choose Other and enter the provider ID seedrise; OpenCode keeps it in ~/.local/share/opencode/auth.json. Do not write the key into an opencode.json you commit.Which model IDs do I use? +
claude-sonnet-5-5, gpt-6.1-sol, deepseek-v4-pro. In OpenCode you select them as provider/model, for example seedrise/deepseek-v4-pro. Every ID is in the model library.Can I keep Claude inference in Australia? +
Sources
- Custom providers, base URL,
whitelistand troubleshooting: opencode.ai/docs/providers, checked 2026-11-02. - Config locations, merging, managed settings,
enabled_providersand{env:...}: opencode.ai/docs/config, checked 2026-11-02. opencode modelsandopencode run: opencode.ai/docs/cli, checked 2026-11-02.
Ready to run OpenCode on Seedrise?
Per-model rates in writing within one business day, then a console login and a trial key.
Also: Claude Code setup · Cursor setup · full docs · plans and pricing · security and data
Seedrise is an independent provider and is not affiliated with or endorsed by Anthropic. Claude is a trademark of Anthropic, PBC.
OpenCode is an independent open-source project. Seedrise is not affiliated with it.