LLM Reference

Kimi K2.6 on Vercel AI Gateway

Kimi K2 · Moonshot AI

ServerlessOpen Source

Last refreshed 2026-05-22. Next refresh: weekly.

Why use Kimi K2.6 on Vercel AI Gateway?

Vercel AI Gateway offers Kimi K2.6 with pay-as-you-go pricing at $0.95/1M input tokens. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare Kimi K2.6 across 7 providers to find the best fit for your use case
Input / 1M
$0.95
Output / 1M
$4.00
Cache
read $0.16
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
moonshotai/kimi-k2.6

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="moonshotai/kimi-k2.6",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "moonshotai/kimi-k2.6", not the LLMReference slug "kimi-k2-6".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare Kimi K2.6 Across Providers

ProviderInput (per 1M)Output (per 1M)
NVIDIA NIM
Moonshot AI Kimi$0.90$3.72
Fireworks AI$0.95$4.00
OpenRouter$0.73$3.49
Microsoft Foundry
View all 7 providers →

Pricing

TypePrice (per 1M)
Input tokens$0.95
Output tokens$4.00

Capabilities

VisionMultimodalReasoningFunction CallingTool UseStructured OutputsPrompt Caching

About Kimi K2.6

Kimi K2.6 is Moonshot AI's multimodal agentic coding model, released April 20 2026 under a Modified MIT license. Built on a 1-trillion-parameter MoE architecture (32B active, 384 experts with 8 selected per token plus 1 shared expert, 61 layers), it features a 262K context window and up to 65,536 output tokens. Supports native image and video inputs (screenshots, PDFs, spreadsheets). Designed for long-horizon coding with agent swarms of up to 300 sub-agents and 4,000 coordinated steps; Moonshot AI cites 200–300 sequential tool calls without task drift. Key benchmarks: SWE-bench Verified 80.2%, SWE-bench Pro 58.6%, LiveCodeBench v6 89.6%, GPQA Diamond 90.5%, Terminal-Bench 2.0 66.7%. Chatbot Arena Elo 1454 (2026-04-28 snapshot).

FAQ

What does Kimi K2.6 cost on Vercel AI Gateway?

On Vercel AI Gateway, Kimi K2.6 costs $0.95 per 1M input tokens and $4 per 1M output tokens.

What is the context window for Kimi K2.6 on Vercel AI Gateway?

Kimi K2.6 supports a 262,000 token context window on Vercel AI Gateway.

How does Vercel AI Gateway compare to other Kimi K2.6 providers?

Kimi K2.6 is available from 7 providers. The cheapest input pricing is $0.73/1M tokens from OpenRouter.

What API model ID do I use for Kimi K2.6 on Vercel AI Gateway?

Use the model ID moonshotai/kimi-k2.6 when calling Vercel AI Gateway's API.

Who created Kimi K2.6?

Kimi K2.6 was created by Moonshot AI as part of the Kimi K2 model family.

Is Kimi K2.6 open source?

Kimi K2.6 is open source according to the seed data.

Get Started