kimi-k2.8-preview — API, Pricing & Context Window | Vivgrid
kimi-k2.8-preview on Vivgrid: Moonshot AI's efficient coding model with a 1M-token context window, adjustable thinking effort, and tool calling — at a fraction of kimi-k3's price.
kimi-k2.8-preview is Moonshot AI's efficient coding model, released in September 2026. It brings the Kimi family's 1M-token context window to a mid-tier price point — $1.00 per 1M input tokens, $0.26 cached, and $4.15 output — roughly a third of what kimi-k3 costs, while keeping repository-scale context.
Its defining feature is adjustable thinking effort. Dial reasoning down for routine edits and up for hard problems, so you pay for deep reasoning only when a task needs it.
Vivgrid serves kimi-k2.8-preview through the unified, OpenAI-compatible Chat Completions API (/chat/completions), so you can route Moonshot alongside OpenAI, Anthropic, and Google models with one API key and one bill.
Specifications
| Provider | Moonshot AI |
| Model ID | kimi-k2.8-preview |
| Best for | Coding |
| Context window | 1,000,000 tokens |
| Modalities | Text, Image |
| Tool / function calling | Yes |
| Knowledge cutoff | — |
| Acceleration | 🌐 Global (Centralized) |
Pricing
Pricing in USD per 1M tokens, matching the provider's rates.
| Input | Cached input | Output |
|---|---|---|
| $1.00 | $0.26 | $4.15 |
Quick start
Call kimi-k2.8-preview through Vivgrid's unified, OpenAI-compatible endpoint. Get an API key from the Vivgrid Console.
curl https://api.vivgrid.com/v1/chat/completions \
-H "Authorization: Bearer $VIVGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.8-preview",
"messages": [
{ "role": "user", "content": "Say hello in English, Chinese and Spanish." }
],
"stream": true
}'Ideal use cases
- High-volume coding agents where
kimi-k3is more model than the task needs - Long-context refactoring and repository-scale reading on a budget
- Tool-calling workflows that mix quick edits with occasional deep reasoning
- Cost-sensitive fallbacks behind a frontier model
Related models
- kimi-k3 — Moonshot's frontier coding model
- kimi-k2.6 — the prior Kimi generation, with a 256K max output
- minimax-m3 — a lower-cost long-context alternative