Kimi K2.7 Code vs Hy4 Preview API pricing
Updated
Kimi K2.7 Code: USD 0.60 input, USD 3 output per 1M tokens (CoreWeave Forge). Hy4 Preview: USD 0.834 input, USD 2.501 output per 1M tokens (DeepInfra and 4 others). At 3 input tokens per output token, Hy4 Preview costs 4.2% more than Kimi K2.7 Code (USD 1.251 vs USD 1.20 per 1M).
How do Kimi K2.7 Code and Hy4 Preview differ on price?
- Cheapest input price: Kimi K2.7 Code USD 0.60 against USD 0.834 per 1M tokens, so Hy4 Preview costs 1.39× as much (39% more).
- Cheapest output price: Hy4 Preview USD 2.501 against USD 3 per 1M tokens, so Kimi K2.7 Code costs 1.2× as much (20% more).
- Among the 198 indexed models, Kimi K2.7 Code ranks 135th cheapest and Hy4 Preview 137th on the 3:1 blend.
- The cheaper model changes at 2.1 input tokens per output token.
- Both list cached-input discounts: Kimi K2.7 Code at 11 standard prices of 12, from USD 0.12 (CoreWeave Forge, 80% below that provider's input price); Hy4 Preview at 6 standard prices of 6, from USD 0.042 (DeepInfra, 95% below that provider's input price).
- Hy4 Preview states up to 1,048,576 tokens of context, 4× the 262,144 of Kimi K2.7 Code.
- Kimi K2.7 Code has 12 providers with a standard price, 6 more than Hy4 Preview; 4 providers sell both (SiliconFlow, GMI Cloud, Novita AI and Venice).
- On one account, SiliconFlow charges USD 1.594 for Kimi K2.7 Code (1.33× its cheapest price) and USD 1.251 for Hy4 Preview (its cheapest price) at 3:1, the lowest combined price among the providers that sell both.
- Shopping around matters more for Kimi K2.7 Code: its dearest standard price is 1.43× its cheapest, against 1.25× for Hy4 Preview.
- Moonshot AI's own API charges USD 1.712 for Kimi K2.7 Code at 3:1, 43% above the cheapest provider (CoreWeave Forge).
- Kimi K2.7 Code has a batch price at 1 provider, from USD 1.027 at 3:1 (Moonshot AI); Hy4 Preview has no batch price on file.
- For the one-developer coding agent preset, the gap is USD 1,213 a year in Hy4 Preview's favour (Kimi K2.7 Code USD 615.60 a month, Hy4 Preview USD 514.53).
Kimi K2.7 Code and Hy4 Preview prices side by side
USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.
| Price | Kimi K2.7 Code | Hy4 Preview |
|---|---|---|
| Model page | Kimi K2.7 Code Moonshot AI · 12 providers | Hy4 Preview Tencent · 6 providers |
| Cheapest standard price, blended 3:1 | USD 1.20 lower USD 0.60 in / USD 3 out at CoreWeave Forge CoreWeave Forge page checked 2026-11-15 | USD 1.251 USD 0.834 in / USD 2.501 out at DeepInfra and 4 others DeepInfra page checked 2026-11-14 |
| Cheapest input | USD 0.60 lower CoreWeave Forge source | USD 0.834 DeepInfra source |
| Cheapest cached input | USD 0.12 CoreWeave Forge source | USD 0.042 lower DeepInfra source |
| Cheapest output | USD 3 CoreWeave Forge source | USD 2.501 lower DeepInfra source |
| Maker's own API | USD 0.95 / USD 4 Moonshot AI source | Tencent publishes no paid standard price on its own API that we found. |
| Median standard price | USD 0.90458 / USD 3.90 input / output, 12 prices | USD 0.834 / USD 2.501 input / output, 6 prices |
| Context window | 262,144 tokens, largest stated; from 256,000 at some providers | 1,048,576 tokens, largest stated; from 262,144 at some providers |
| Providers with a standard price | 12 | 6 |
- Lower marks the lower price on a line; tie, equal prices. Other tiers and free rows are on the model pages.
Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
What do Kimi K2.7 Code and Hy4 Preview cost for a real workload?
30 days at each model's cheapest standard price for the workload (presets of the cost calculator; cached input at the cached price where listed).
| Workload | Kimi K2.7 Code | Hy4 Preview | Difference |
|---|---|---|---|
| Support chatbot 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 82.08 CoreWeave Forge | USD 77.31 DeepInfra | USD 4.77 Hy4 Preview lower |
| RAG over documents 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 154.44 CoreWeave Forge | USD 180.65 DeepInfra | USD 26.21 Kimi K2.7 Code lower |
| Coding agent (one developer) 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 615.60 CoreWeave Forge | USD 514.53 DeepInfra | USD 101.07 Hy4 Preview lower |
The cheaper model depends on the workload: Hy4 Preview for Support chatbot, Kimi K2.7 Code for RAG over documents, Hy4 Preview for Coding agent (one developer). Cache-heavy work rewards a low cached-input price. The widest gap is on Coding agent (one developer): the dearer model costs 20% more than the cheaper one.
Does the cheaper model change with your input:output ratio?
The cheaper model changes with the mix: below 2.1 input tokens per output token, Hy4 Preview is cheaper; above 2.1, Kimi K2.7 Code is cheaper. At the site's 3:1 blend, Kimi K2.7 Code is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.
| Input : output tokens | Kimi K2.7 Code | Hy4 Preview |
|---|---|---|
| 1 : 3 (long answers) | USD 2.40 CoreWeave Forge | USD 2.084 lower DeepInfra |
| 1 : 1 | USD 1.80 CoreWeave Forge | USD 1.667 lower DeepInfra |
| 3 : 1 (the site’s blend) | USD 1.20 lower CoreWeave Forge | USD 1.251 DeepInfra |
| 10 : 1 (retrieval, long prompts) | USD 0.8182 lower CoreWeave Forge | USD 0.9855 DeepInfra |
| 30 : 1 (agents, big contexts) | USD 0.6774 lower CoreWeave Forge | USD 0.8878 DeepInfra |
USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.
What do Kimi K2.7 Code and Hy4 Preview cost per character in other languages?
Not measured: the real cost by language dataset covers only tokenizers we could measure from published files, and Hy4 Preview is not among them. Count tokens on your own text with the counters below.
Check it on your own traffic
- Kimi K2.7 Code API pricing: all 12 providers and other tiers.
- Hy4 Preview API pricing: all 6 providers and other tiers.
- Cost calculator with Kimi K2.7 Code and Hy4 Preview preloaded
- Kimi token counter
- Token counter
- Prompt caching calculator
More comparisons: GLM 5.3 vs Kimi K2.7 Code · Kimi K2.7 Code vs Kimi K2.6 · every Kimi K2.7 Code comparison · every Hy4 Preview comparison · all 651 price comparisons
Questions
Is Kimi K2.7 Code cheaper than Hy4 Preview?
Yes. On a blend of 3 input tokens to 1 output token, Kimi K2.7 Code costs USD 1.20 per 1M tokens and Hy4 Preview USD 1.251, at each model's cheapest standard price. For input alone, Kimi K2.7 Code is cheaper (USD 0.60 against USD 0.834 per 1M); for output alone, Hy4 Preview is (USD 2.501 against USD 3). This compares price only, not quality.
What do Kimi K2.7 Code and Hy4 Preview cost per 1M tokens?
Kimi K2.7 Code: from USD 0.60 input and USD 3 output at CoreWeave Forge; Moonshot AI's own API charges USD 0.95 / USD 4; median of 12 standard prices USD 0.90458 / USD 3.90. Hy4 Preview: from USD 0.834 input and USD 2.501 output at DeepInfra and 4 others; median of 6 standard prices USD 0.834 / USD 2.501. Each price is read from the provider's own pricing page; the source is linked in the table.
Which providers sell both Kimi K2.7 Code and Hy4 Preview?
4 providers have a standard price for both: SiliconFlow (USD 1.594 and USD 1.251 at 3:1), GMI Cloud (USD 1.712 and USD 1.251 at 3:1), Novita AI (USD 1.712 and USD 1.251 at 3:1), Venice (USD 1.438 and USD 1.563 at 3:1). The first is the lowest combined price. Buying each model from its own cheapest provider costs USD 1.20 and USD 1.251.
Which is cheaper for a coding agent or a chatbot, Kimi K2.7 Code or Hy4 Preview?
For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 615.60 a month on Kimi K2.7 Code (CoreWeave Forge) against USD 514.53 on Hy4 Preview (DeepInfra), a difference of USD 101.07. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 82.08 a month on Kimi K2.7 Code (CoreWeave Forge) against USD 77.31 on Hy4 Preview (DeepInfra), a difference of USD 4.77. Each uses the cheapest standard price for that workload, cached input included. Try your own numbers.
At what input:output ratio does the cheaper of Kimi K2.7 Code and Hy4 Preview change?
The cheaper model changes with the mix: below 2.1 input tokens per output token, Hy4 Preview is cheaper; above 2.1, Kimi K2.7 Code is cheaper. At the site's 3:1 blend, Kimi K2.7 Code is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.
Do Kimi K2.7 Code and Hy4 Preview have cached input pricing?
Kimi K2.7 Code from USD 0.12 per 1M cached input tokens (CoreWeave Forge; 11 of 12 standard prices list a discount). Hy4 Preview from USD 0.042 per 1M cached input tokens (DeepInfra; 6 of 6 standard prices list a discount). Cached tokens are billed at the input price where no cache price is published.
Which has the larger context window, Kimi K2.7 Code or Hy4 Preview?
Hy4 Preview: up to 1,048,576 tokens, against 262,144 for Kimi K2.7 Code, as stated on providers' pricing pages. Some providers offer less than the maximum; check the model pages before you pick the cheapest row for long prompts.
Read as MarkdownAsk ChatGPTAsk ClaudeAsk Perplexity
Sources
- CoreWeave Forge: pricing (checked 2026-11-15)
- Moonshot AI: own API pricing (checked 2026-11-14)
- DeepInfra: pricing (checked 2026-11-14)
- GMI Cloud: pricing (checked 2026-11-15)
- Hyperbolic: pricing (checked 2026-11-14)
- Novita AI: pricing (checked 2026-11-14)
- SiliconFlow: pricing (checked 2026-11-15)
- GMI Cloud: pricing (checked 2026-11-15)
- Venice: pricing (checked 2026-11-15)
- Moonshot AI: own API pricing (checked 2026-11-14)