Kimi K3.1 Pro Xploded in OpenCode
Run kimi-k3.1-pro-xploded in OpenCode through MagmaRouter: one key, a hard spend cap, and a model that answers instead of refusing.
| Model id | kimi-k3.1-pro-xploded |
|---|---|
| Context window | 1,048,576 tokens (1M) |
| Tool calling | Supported |
| Price per 1M tokens | $7.50 input, $0.80 on a cache hit, $37.50 output |
| Intelligence | 55 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 magmarouter provider to opencode.json with this model and its limits.
- Export MAGMAROUTER_API_KEY in the shell OpenCode starts from.
- Run opencode and pick magmarouter/kimi-k3.1-pro-xploded with /models.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"magmarouter": {
"npm": "@ai-sdk/openai-compatible",
"name": "MagmaRouter",
"options": {
"baseURL": "https://api.magmarouter.com/v1",
"apiKey": "{env:MAGMAROUTER_API_KEY}"
},
"models": {
"kimi-k3.1-pro-xploded": {
"name": "Kimi K3.1 Pro Xploded",
"limit": { "context": 1048576, "output": 32768 }
}
}
}
},
"model": "magmarouter/kimi-k3.1-pro-xploded",
"small_model": "magmarouter/kimi-k3.1-pro-xploded"
}
Kimi K3.1 Pro Xploded has its own page with every limit and price.
Uncensored Kimi K3.1 Pro sets it against the rest of the line, and uncensored Kimi goes through the Kimi 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), Kimi K3.1 Pro Xploded comes to about $2.29 at today's prices; the cache price does most of the work, since re-read context is billed at $0.80 rather than $7.50 per million.
FAQ
Can Kimi K3.1 Pro Xploded 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 $2.29 for a 25-turn agent task (about 750K input tokens re-read across turns, 85% of them cache hits, 25K output), at $7.50 in, $37.50 out and $0.80 per million on cache hits. Put a spend cap on the key so a long run cannot overrun it.
Is it uncensored?
Kimi K3.1 Pro, uncensored: the strongest model on the line, with a million tokens of context, tool calling, reasoning and vision.