Qwen3.8 27B Xploded in Aider
Run qwen3.8-27b-xploded in Aider through MagmaRouter: one key, a hard spend cap, and a model that answers instead of refusing.
| Model id | qwen3.8-27b-xploded |
|---|---|
| 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
- Set OPENAI_API_BASE to https://api.magmarouter.com/v1 and OPENAI_API_KEY to your key.
- Run aider --model openai/qwen3.8-27b-xploded; the openai/ prefix is what sends it to the base URL.
- Add the metadata file below so Aider knows the real context window and price instead of warning that it does not.
# shell setx OPENAI_API_BASE https://api.magmarouter.com/v1 setx OPENAI_API_KEY sk-mr-... aider --model openai/qwen3.8-27b-xploded # .aider.model.metadata.json { "openai/qwen3.8-27b-xploded": { "max_input_tokens": 1048576, "max_output_tokens": 32768, "input_cost_per_token": 0.0000015, "output_cost_per_token": 0.000005, "litellm_provider": "openai", "mode": "chat" } }
What a session costs
For a 12-turn Aider session (about 180K input tokens, half of them cache hits, 12K output), Qwen3.8 27B Xploded comes to about $0.24 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 Qwen3.8 27B Xploded be used in Aider?
Yes. Aider does not depend on tool calling, so any chat model works; this one also brings a 1M context.
What does a session cost?
About $0.24 for a 12-turn Aider session (about 180K input tokens, half of them cache hits, 12K 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 half a million tokens of context and tool calling. The budget pick for agents.