Kimi K2.7 Code vs Qwen3.8 Max
API price, context window, capabilities and live speed, side by side.
Kimi K2.7 Code is about 2.2× cheaper than Qwen3.8 Max at a typical 3:1 input-to-output token mix. Qwen3.8 Max has the larger context window (1M vs 262K tokens). Both run on the same UltraGPT API key, so you can switch between them by changing the model field - or list both in models: [...] for automatic fallback.
Kimi K2.7 Code | Qwen3.8 Max | |
|---|---|---|
| Lab | Moonshot (Kimi) | Alibaba (Qwen) |
| Model id | kimi-k2.7-code | qwen3.8-max |
| Input / 1M tokens | $0.6712 | $2 |
| Cached input / 1M | $0.18 | $0.25 |
| Output / 1M tokens | $3.35 | $6 |
| Context window | 262K | 1M |
| Input | text, image | text, image, video |
| Output | text | text |
| Tool calling | ✓ | ✓ |
| Vision (image input) | ✓ | ✓ |
| Reasoning | — | — |
Cost of 1,000 requests
Estimated from the list prices above; your real cost is reported per request in usage.cost.
| Chatbot1.5K tokens in, 400 out | Kimi K2.7 Code $2.35 | Qwen3.8 Max $5.40 |
|---|---|---|
| RAG over documents20K in, 800 out | Kimi K2.7 Code $16.10 | Qwen3.8 Max $44.80 |
| Coding agent step40K in (80% cached), 1.5K out | Kimi K2.7 Code $16.15 | Qwen3.8 Max $33.00 |
Use both, with automatic fallback
Same key, same endpoint: change the model id between "kimi-k2.7-code" and "qwen3.8-max".
curl https://api.ultragpt.pro/v1/chat/completions \
-H "Authorization: Bearer $ULTRAGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.7-code",
"models": ["qwen3.8-max"],
"messages": [{ "role": "user", "content": "Hello!" }]
}'FAQ
Which is cheaper, Kimi K2.7 Code or Qwen3.8 Max?
Kimi K2.7 Code: $0.6712 in / $3.35 out per 1M. Qwen3.8 Max: $2 in / $6 out per 1M. Prices are in USD and billed per use from your UltraGPT balance.
Can I use Kimi K2.7 Code and Qwen3.8 Max with the same API key?
Yes. Both are available through the OpenAI-compatible UltraGPT API at https://api.ultragpt.pro/v1: set model to "kimi-k2.7-code" or "qwen3.8-max".
Which has a bigger context window, Kimi K2.7 Code or Qwen3.8 Max?
Kimi K2.7 Code: 262,144 tokens. Qwen3.8 Max: 1,000,000 tokens.

