---
title: "Kimi K2.7 Code vs Hy4 Preview API pricing compared | BroadRouter"
description: "Kimi K2.7 Code vs Hy4 Preview API price per 1M tokens: USD 0.60 / USD 3 vs USD 0.834 / USD 2.501 input/output, from providers' own pricing pages."
url: https://broadrouter.com/llm-api-pricing/compare/kimi-k2.7-code-vs-hy4-preview/
lang: en
updated: 2026-11-15
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# Kimi K2.7 Code vs Hy4 Preview API pricing

Updated 2026-11-15

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?

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

Kimi K2.7 Code and Hy4 Preview API prices compared
| Price | Kimi K2.7 Code | Hy4 Preview |
| --- | --- | --- |
| Model page | [Kimi K2.7 Code](https://broadrouter.com/llm-api-pricing/kimi-k2.7-code/) · Moonshot AI · 12 providers | [Hy4 Preview](https://broadrouter.com/llm-api-pricing/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](https://coreweave.com/forge-pricing/inference-agents) checked 2026-11-15 | USD 1.251 · USD 0.834 in / USD 2.501 out at DeepInfra and 4 others · [DeepInfra page](https://deepinfra.com/tencent/Hy4-preview) checked 2026-11-14 |
| Cheapest input | USD 0.60 lower · CoreWeave Forge [source](https://coreweave.com/forge-pricing/inference-agents) | USD 0.834 · DeepInfra [source](https://deepinfra.com/tencent/Hy4-preview) |
| Cheapest cached input | USD 0.12 · CoreWeave Forge [source](https://coreweave.com/forge-pricing/inference-agents) | USD 0.042 lower · DeepInfra [source](https://deepinfra.com/tencent/Hy4-preview) |
| Cheapest output | USD 3 · CoreWeave Forge [source](https://coreweave.com/forge-pricing/inference-agents) | USD 2.501 lower · DeepInfra [source](https://deepinfra.com/tencent/Hy4-preview) |
| Maker's own API | USD 0.95 / USD 4 · Moonshot AI [source](https://platform.kimi.ai/docs/pricing/chat) | 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](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20Kimi%20K2.7%20Code%20vs%20Hy4%20Preview%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fcompare%2Fkimi-k2.7-code-vs-hy4-preview%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (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](https://broadrouter.com/tools/llm-api-cost-calculator/?model=kimi-k2.7-code,hy4-preview); cached input at the cached price where listed).

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

Price per 1M tokens of Kimi K2.7 Code and Hy4 Preview at different input:output mixes
| 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](https://broadrouter.com/data/real-cost-by-language/) 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](https://broadrouter.com/llm-api-pricing/kimi-k2.7-code/): all 12 providers and other tiers.
-   [Hy4 Preview API pricing](https://broadrouter.com/llm-api-pricing/hy4-preview/): all 6 providers and other tiers.
-   [Cost calculator with Kimi K2.7 Code and Hy4 Preview preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=kimi-k2.7-code,hy4-preview)
-   [Kimi token counter](https://broadrouter.com/tools/kimi-token-counter/)
-   [Token counter](https://broadrouter.com/tools/token-counter/)
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/)

More comparisons: [GLM 5.3 vs Kimi K2.7 Code](https://broadrouter.com/llm-api-pricing/compare/glm-5.3-vs-kimi-k2.7-code/) · [Kimi K2.7 Code vs Kimi K2.6](https://broadrouter.com/llm-api-pricing/compare/kimi-k2.7-code-vs-kimi-k2.6/) · [every Kimi K2.7 Code comparison](https://broadrouter.com/llm-api-pricing/compare/#m-kimi-k2.7-code) · [every Hy4 Preview comparison](https://broadrouter.com/llm-api-pricing/compare/#m-hy4-preview) · [all 651 price comparisons](https://broadrouter.com/llm-api-pricing/compare/)

## 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](https://broadrouter.com/tools/llm-api-cost-calculator/?model=kimi-k2.7-code,hy4-preview).

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

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-compare-kimi-k2.7-code-vs-hy4-preview&utm_content=page-cta) ·

**Sources**

-   [CoreWeave Forge: pricing (checked 2026-11-15)](https://coreweave.com/forge-pricing/inference-agents)
-   [Moonshot AI: own API pricing (checked 2026-11-14)](https://platform.kimi.ai/docs/pricing/chat)
-   [DeepInfra: pricing (checked 2026-11-14)](https://deepinfra.com/tencent/Hy4-preview)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/tencent-hy4-preview/d9b8429f-3610-4352-8ba1-d9c494ee03da)
-   [Hyperbolic: pricing (checked 2026-11-14)](https://www.hyperbolic.ai/inference)
-   [Novita AI: pricing (checked 2026-11-14)](https://novita.ai/pricing)
-   [SiliconFlow: pricing (checked 2026-11-15)](https://www.siliconflow.com/pricing)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/moonshotai-kimi-k2-7-code/2b6c9f5e-7afa-4125-b512-63d2865dd903)
-   [Venice: pricing (checked 2026-11-15)](https://docs.venice.ai/pricing)
-   [Moonshot AI: own API pricing (checked 2026-11-14)](https://platform.kimi.ai/docs/pricing/batch)
