Models

kimi-k2.6 — API, Pricing & Context Window | Vivgrid

kimi-k2.6 on Vivgrid: Moonshot AI's coding model with a 262K context window, up to 256K output tokens, and function calling.

kimi-k2.6 is Moonshot AI's capable coding model, notable for a 262K-token context window paired with an exceptionally large 256K-token max output. That combination suits agents that both read and generate large volumes of code.

Vivgrid serves kimi-k2.6 through its unified, OpenAI-compatible API, letting you route Moonshot alongside other providers with a single key and billing surface.

Specifications

ProviderMoonshot AI
Model IDkimi-k2.6
Best forCoding
Available onVibe coding
Context window262,144 tokens
Max output256,000 tokens
ModalitiesText, Image
Tool / function callingYes
Knowledge cutoff2026-04
Acceleration🌐 Global (Centralized)

Pricing

Pricing in USD per 1M tokens, matching the provider's rates.

InputCached inputOutput
$1.00$0.20$4.00

What one request costs

The rates above applied to a 20K-token prompt with a 2K-token reply — a typical single agent turn, small enough that every request is billed at the base rate.

RequestCost
Cold prompt, nothing cached$0.0280
Warm prompt, 90% of the input served from cache$0.0136

API surfaces

The Vivgrid Console catalogs kimi-k2.6 on one surface, all behind the same API key. The endpoint shown is the one the Console previews for that surface.

SurfacePrimary endpointUse it for
Vibe coding/chat/completionsCoding CLIs and IDE agents that drive the model themselves — point the tool at Vivgrid and keep your own loop.

Quick start

Get an API key from the Vivgrid Console, then call kimi-k2.6 directly.

curl https://api.vivgrid.com/v1/chat/completions \
  -H "Authorization: Bearer $VIVGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.6",
    "messages": [
      { "role": "user", "content": "Say hello in English, Chinese and Spanish." }
    ],
    "stream": true
  }'

Ideal use cases

  • Coding agents that produce large outputs
  • Long-context engineering and refactoring tasks
  • Tool-calling workflows on Chat Completions
  • Cost-effective alternative to frontier coding models

On this page