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
Context window262,144 tokens
Max output256,000 tokens
ModalitiesText
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

Quick start

Call kimi-k2.6 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.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