Coding tools
OpenCode
OpenCode takes Vioneer as a custom provider in its config file. Name the models you want, keep the key in an environment variable, and pick them with /models.
opencode.json
In your project’s opencode.json, or the global ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"providers": {
"vioneer": {
"name": "Vioneer",
"env": ["VIONEER_API_KEY"],
"package": "@opencode/ai/providers/openai-compatible",
"settings": {
"baseURL": "https://vioneer.xyz/api/v1"
},
"models": {
"claude-sonnet-5-5": { "name": "Claude Sonnet 5.5" },
"gpt-6.2-sol": { "name": "GPT-6.2 Sol" }
}
}
}
}
Run it
export VIONEER_API_KEY="your Vioneer key"
opencode
Inside OpenCode, /models lists the models you named: choose one and start. /connect is the other way to enter the key.
Older OpenCode releases write the same provider under "provider", with "npm": "@ai-sdk/openai-compatible" and the address in "options": { "baseURL" }. Use the form your version’s docs show.
If something does not work
- 401: the key is wrong, revoked or missing. Keys are shown once, when you create them; make a new one in the dashboard if in doubt.
- 402: the account is out of credit. Top up and the next request goes through.
- 403: the key is not allowed that model. Check its model allowlist under Keys.
- 404 on a model: the id is not in the catalogue. Copy it from the price list.
- 429: a rate or concurrency limit was hit. Wait for the
retry-afterseconds, or raise the key’s limit.
Every request, failed ones included, is listed in the dashboard’s activity log with its status and cost.