kimi-k2-7-codeKimi K2.7 Code by Moonshot: 256K context, with Streaming, Function calling, Structured output, Reasoning, Vision. On Hostlinku: Performance starts at 0.7877/1M input.
Hostlinku price · per 1M token
Performance · Best quality & stability
Input
/ 1M token
Output
/ 1M token
Cache read
per 1M token
0.1574
$0.191Web search
per 1K calls
4.54
$4.41Billing in (1 = $1). Strikethrough = vendor list price (only when the price is cheaper). Service Mode is selected per API key.
Get API Key + freeContext window
256.0K
256,000 tokens
Max output
—
Not published
7-day uptime
100.00%
30 requests · 0 failed
Measured throughput
—
Real traffic, last 7 days · output side · 1.77s avg
What this model can do through the Hostlinku gateway.
Vision
Reads images, screenshots, and diagrams alongside text. Send image inputs directly in the messages payload.
Function calling
The model calls tools you define and folds their results into the reply. Required for agentic workflows and multi-step automation.
Reasoning
Spends extra thinking tokens on hard problems before answering. Best for math, code, and multi-step logic.
Prompt caching
Response schema
Guarantees JSON output that matches a schema you provide. No brittle post-parsing on your side.
Streaming
Streams tokens as they are generated for real-time UX. Supported on every Hostlinku protocol.
Web search
Audio
Video
File input
Realtime
Session
Media
Multipart form
Binary response
Hostlinku measures this model from real request traffic: uptime and latency, not self-reported.
100.00%
30 requests in 7 days, 0 failed · automatic failover to backup channels
Latency and uptime are measured from real request traffic over the last 7 days; throughput from user output.
Swap the base URL and everything else stays the same. Native protocols pass through; adapted protocols are translated by the Hostlinku gateway.
curl https://api.hostlinku.com/v1/messages \
-H "x-api-key: $HOSTLINKU_API_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 edge failover in one paragraph." }
]
}'Every billed dimension, with the vendor list price (struck through when higher) next to the 🪙 price per Service Mode.
| Item | Unit | Original ($) | Performance |
|---|---|---|---|
| Input (prompt) | per 1M tokens | $0.956 | 0.7877 |
| Output (completion) | per 1M tokens | $3.97 | 3.27 |
| Cache read | per 1M tokens | $0.191 | 0.1574 |
| Web search | per 1K calls | $4.41 | 4.54 |
Vendor list price is struck through when at least one Service Mode is cheaper. Dimensions without strikethrough (e.g. web search) are not discounted upstream. 1 = $1. This model is not yet available in Low-Cost.
Other models from the same vendor, with prices and context for comparison.
Common questions about Kimi K2.7 Code: pricing, capabilities, and how they are measured.
Moonshot
Integrate Kimi K2.7 Code into your app with clear documentation, official SDKs, and transparent per-token pricing (1 = $1).