BroadRouter

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).

Picked by the same-tier rule: both are in the third quarter of the indexed models by price (USD 0.4569 to USD 1.40 per 1M tokens at 3:1) and in the same size class, mid-size (no tier word, 40B to 200B parameters or no size in the name). Kimi K2.7 Code is the 1st-closest-priced model from another maker to Hy4 Preview in that bucket. Price only: every number is computed from prices read from each provider's own pricing page (linked per cell, newest check 2026-11-15), with no claim about quality, speed or accuracy.

How do Kimi K2.7 Code and Hy4 Preview differ on price?

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.

Kimi K2.7 Code and Hy4 Preview API prices compared
PriceKimi K2.7 CodeHy4 Preview
Model pageKimi K2.7 Code
Moonshot AI · 12 providers
Hy4 Preview
Tencent · 6 providers
Cheapest standard price, blended 3:1USD 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 inputUSD 0.60 lower
CoreWeave Forge source
USD 0.834
DeepInfra source
Cheapest cached inputUSD 0.12
CoreWeave Forge source
USD 0.042 lower
DeepInfra source
Cheapest outputUSD 3
CoreWeave Forge source
USD 2.501 lower
DeepInfra source
Maker's own APIUSD 0.95 / USD 4
Moonshot AI source
Tencent publishes no paid standard price on its own API that we found.
Median standard priceUSD 0.90458 / USD 3.90
input / output, 12 prices
USD 0.834 / USD 2.501
input / output, 6 prices
Context window262,144 tokens, largest stated; from 256,000 at some providers1,048,576 tokens, largest stated; from 262,144 at some providers
Providers with a standard price126

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).

Monthly cost of three workloads on Kimi K2.7 Code and Hy4 Preview
WorkloadKimi K2.7 CodeHy4 PreviewDifference
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.

Price per 1M tokens of Kimi K2.7 Code and Hy4 Preview at different input:output mixes
Input : output tokensKimi K2.7 CodeHy4 Preview
1 : 3 (long answers)USD 2.40
CoreWeave Forge
USD 2.084 lower
DeepInfra
1 : 1USD 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

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