Kimi K2.7 Code

LiveKimi
Model IDkimi-k2.7-code

Kimi K2.7 Code by Kimi: 256K context, 256K max output, with Function Calling, Reasoning, Prompt Caching, Response Schema, Streaming. Via WandAPI, Input (prompt) costs 3.9 Credits / M tokens, 40% below list price. 7-day uptime 94.2%. Compatible with Anthropic Messages: swap the base URL and you are connected.

Context window
256Ktokens
262,144
Max output
256Ktokens
262,144
7-day uptime
94.2%
1762 probes · 102 failed
Measured throughput
187.5tokens / s
Real traffic, last 7 days · output side

Capabilities

Listed exactly as the catalog flags them, including what this model does not support.

5 of 15 supported

Function Calling

Connect the model to external tools and APIs: it decides when to call which function and with what arguments, your code runs it. Force or forbid calls with tool_choice.

Reasoning

The model thinks before answering, which markedly improves multi-step planning and reasoning for coding, math and data analysis. Thinking tokens bill at the output rate.

Prompt Caching

Repeated prefixes (system prompts, long documents) hit the cache: reads cost far less than input, writes are priced by retention time.

Response Schema

Constrain output to a JSON Schema you provide for predictable, type-safe results without parsing free text.

Streaming

Tokens arrive over SSE as they are generated; the first frame is forwarded immediately with no buffering. Claude Code, Codex and similar tools depend on this.

VisionNot supported

Natively multimodal: captioning, classification, visual Q&A, chart and screenshot understanding. Images are converted to tokens at the input rate.

AudioNot supported

Audio input or speech output.

VideoNot supported

Video input understanding or video generation.

File InputNot supported

Upload PDFs and other documents directly; the model reads the whole document with native vision.

Web SearchNot supported

Vendor-hosted live web retrieval; the model decides when to search and cites sources.

RealtimeNot supported

Bidirectional low-latency voice / text sessions over WebSocket.

SessionNot supported

Server-side multi-turn context (e.g. previous_response_id in Responses) so you need not resend history.

MediaNot supported

Image / video / music generation endpoints.

Multipart FormNot supported

multipart/form-data file-upload requests.

Binary ResponseNot supported

Endpoints that return raw audio / image bytes.

Reliability & performance

WandAPI probes this model through the real supply chain on a schedule — measured, not self-reported.

Last probe: 11/2/2026, 7:07:48 AM
94.2%1762 probes in 7 days, 102 failed · automatic failover to backup channels
1.8s2.5s2.0s2.0s2.4s3.3s6.4s3.6s2.6s3.8s1.3s1.9s1.5s4.2s4.0s1.9s1.4s1.9s✕ 11/2/2026, 3:09:39 AM✕ 11/2/2026, 3:16:03 AM3.0s2.4s2.0s1.8s1.5s2.1s1.6s3.4s3.4s2.8s6.5s14.3s1.9s1.2s3.3s1.8s3.0s2.1s1.9s1.5s4.9s2.3s2.2s1.5s2.0s1.6s1.6s1.8s8.5s2.4s2.8s4.1s3.1s3.0s1.7s12.1s12.1s12.4s11.3s11.9s
11/2/2026, 1:29:07 AMnow
successful probe, bar height = end-to-end latency (0–4 s)failed probegrid 1 s

Latency & throughput

Latest latency11.9s
Avg. of last 603.7s
P95 of last 6012.1s
Output throughput187.5t/s
ProtocolsAnthropic Messages

Protocols & code samples

Change the base URL to WandAPI, keep everything else. Native protocols pass straight through; “adapted” ones are translated by the gateway.

Anthropic SDK or any Messages-protocol client: point base_url at https://api.wandapi.com and use a WandAPI key.

curl https://api.wandapi.com/v1/messages \
  -H "x-api-key: $WANDAPI_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "kimi-k2.7-code",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Explain prompt caching in one sentence"}]
  }'

Full price list

List price → WandAPI price per channel, every pricing dimension, nothing hidden.

1 Credit ≈ $0.152 · rate updated daily
ItemUnitKimi list priceKimi (Special Pricing) ×0.640% off
Input (prompt)per 1M tokens¥6.50≈ $0.9863.9 Credits
Output (completion)per 1M tokens¥27.00≈ $4.1016.2 Credits
Cache readper 1M tokens¥0.1≈ $0.01520.06 Credits

“Off” is computed at 1 Credit = ¥1 and today’s rate: 1 − channel multiplier × (1 Credit in the list currency).

FAQ

How much does the Kimi K2.7 Code API cost?

Via WandAPI, Input (prompt) costs 3.9 Credits / M tokens, with 1 Credit = ¥1. That is 40% below the Kimi list price.

What are the context window and output limit of Kimi K2.7 Code?

Context window 256K tokens, up to 256K tokens per response.

Does Kimi K2.7 Code support function calling and structured outputs?

Function calling with tool_choice control is supported; structured outputs (JSON Schema) are supported.

How do I use Kimi K2.7 Code in Claude Code?

Set ANTHROPIC_BASE_URL=https://api.wandapi.com, ANTHROPIC_API_KEY to your WandAPI key and ANTHROPIC_MODEL=kimi-k2.7-code, then run claude. No config files to edit.

How is the 94.2% uptime measured?

WandAPI sends probe requests to this model through the real supply chain on a schedule and divides successful probes by total probes over the last 7 days. When one channel fails the gateway fails over to a backup, so the figure reflects what end users actually see.

One API key for Kimi K2.7 Code and 30+ models

Free credits on sign-up, pay as you go, no monthly fee.

Get an API Key