Run Sidewinder in OpenCode
Run qwen3.8-27b-outlaw in OpenCode through Wild West: one key, a hard spend cap, and a model that answers instead of refusing.
| Model id | qwen3.8-27b-outlaw |
|---|---|
| Context window | 1,048,576 tokens (1M) |
| Tool calling | Supported |
| Price per 1M tokens | $1.50 input, $0.50 on a cache hit, $5.00 output |
| Intelligence | 34 on the Artificial Analysis Intelligence Index v4.3.2, for the base model |
| Web search | Add :online to the id |
Set it up
- Add a wildwest provider to opencode.json with this model and its limits.
- Export WILDWEST_API_KEY in the shell OpenCode starts from.
- Run opencode and pick wildwest/qwen3.8-27b-outlaw with /models.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"wildwest": {
"npm": "@ai-sdk/openai-compatible",
"name": "Wild West",
"options": {
"baseURL": "https://wildwestapi.com/v1",
"apiKey": "{env:WILDWEST_API_KEY}"
},
"models": {
"qwen3.8-27b-outlaw": {
"name": "Sidewinder",
"limit": { "context": 1048576, "output": 32768 }
}
}
}
},
"model": "wildwest/qwen3.8-27b-outlaw",
"small_model": "wildwest/qwen3.8-27b-outlaw"
}
Sidewinder has its own page with every limit and price.
Uncensored Qwen3.8 27B sets it against the rest of the line, and uncensored Qwen goes through the Qwen releases one by one.
What a session costs
For a 25-turn agent task (about 750K input tokens re-read across turns, 85% of them cache hits, 25K output), Sidewinder comes to about $0.6125 at today's prices; the cache price does most of the work, since re-read context is billed at $0.50 rather than $1.50 per million.
FAQ
Can Sidewinder edit files and run commands in OpenCode?
Yes. OpenCode acts through tool calls and this model supports tool calling, so it can read, edit and run, not just chat.
What does a session cost?
About $0.6125 for a 25-turn agent task (about 750K input tokens re-read across turns, 85% of them cache hits, 25K output), at $1.50 in, $5.00 out and $0.50 per million on cache hits. Put a spend cap on the key so a long run cannot overrun it.
Is it uncensored?
A small, cheap uncensored Qwen with a million tokens of context and tool calling. The budget pick for agents.