# DeepSeek V4 Flash vs Hy4

As of November 23, 2026, Hy4 costs 39% more per input token than DeepSeek V4 Flash ($0.417 vs $0.30 per 1M) and has a 960K-token context window versus 1M.

- Page: https://models.litellm.ai/compare/deepseek-v4-flash-vs-hy4
- DeepSeek V4 Flash: https://models.litellm.ai/models/deepseek-v4-flash
- Hy4: https://models.litellm.ai/models/hy4

## Side by side

| | DeepSeek V4 Flash | Hy4 |
|---|---|---|
| Input, per 1M tokens | $0.30 | $0.417 |
| Output, per 1M tokens | $1.20 | $1.25 |
| Cache read, per 1M tokens | $0.006 | $0.021 |
| Cache write, per 1M tokens | $0 | – |
| Context window | 1,000,000 tokens | 960,000 tokens |
| Max output | 393,216 tokens | 64,000 tokens |
| Image input | Yes | Yes |
| Tool calling | Yes | Yes |
| Structured output (JSON) | Yes | Yes |
| Prompt caching | Yes | Yes |
| Reasoning | Yes | Yes |
| Providers on LiteLLM | 32 | 3 |
| Price shown is from | DeepSeek | Tencent TokenHub |
| Added to LiteLLM | June 2026 | November 5, 2026 |

Headline prices in USD per 1M tokens, from LiteLLM's model price file.

## Cheapest provider for each

- DeepSeek V4 Flash: DeepInfra at $0.06 input per 1M tokens (`deepinfra/deepseek-ai/DeepSeek-V4-Flash-0731`)
- Hy4: Tencent TokenHub at $0.417 input per 1M tokens (`tencent/hy4`)

## When to pick which

- DeepSeek V4 Flash: Costs 28% less per input token: $0.30 vs $0.417 per 1M.
- DeepSeek V4 Flash: Returns up to 393,216 tokens per response, vs 64,000.

## FAQ

### Which is cheaper, DeepSeek V4 Flash or Hy4?

DeepSeek V4 Flash is cheaper at 3 input tokens per output token: $0.525 per 1M tokens blended ($0.30 input, $1.20 output), versus $0.6254 ($0.417 and $1.25) for Hy4, as of November 23, 2026.

### Which has the larger context window, DeepSeek V4 Flash or Hy4?

DeepSeek V4 Flash has the larger context window: 1,000,000 tokens, versus 960,000 for Hy4.

### Can I switch from DeepSeek V4 Flash to Hy4 without changing my code?

Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "deepseek-v4-flash" to "tencent/hy4", or pointing a LiteLLM gateway model alias at the other model. You can also use one as a fallback for the other.
