# DeepSeek R1 vs Hy4

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

- Page: https://models.litellm.ai/compare/deepseek-r1-vs-hy4
- DeepSeek R1: https://models.litellm.ai/models/deepseek-r1
- Hy4: https://models.litellm.ai/models/hy4

## Side by side

| | DeepSeek R1 | Hy4 |
|---|---|---|
| Input, per 1M tokens | $0.55 | $0.417 |
| Output, per 1M tokens | $2.19 | $1.25 |
| Cache read, per 1M tokens | $0.14 | $0.021 |
| Cache write, per 1M tokens | – | – |
| Context window | 65,536 tokens | 960,000 tokens |
| Max output | 8,192 tokens | 64,000 tokens |
| Image input | – | Yes |
| Tool calling | Yes | Yes |
| Structured output (JSON) | Yes | Yes |
| Prompt caching | Yes | Yes |
| Reasoning | Yes | Yes |
| Providers on LiteLLM | 19 | 3 |
| Price shown is from | DeepSeek | Tencent TokenHub |
| Added to LiteLLM | January 2025 | November 5, 2026 |

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

## Cheapest provider for each

- DeepSeek R1: Lambda at $0.20 input per 1M tokens (`lambda_ai/deepseek-r1-0528`)
- Hy4: Tencent TokenHub at $0.417 input per 1M tokens (`tencent/hy4`)

## When to pick which

- DeepSeek R1: Available from 19 providers through LiteLLM, vs 3.
- Hy4: Costs 24% less per input token: $0.417 vs $0.55 per 1M.
- Hy4: Larger context window: 960,000 vs 65,536 tokens.

## FAQ

### Which is cheaper, DeepSeek R1 or Hy4?

Hy4 is cheaper at 3 input tokens per output token: $0.6254 per 1M tokens blended ($0.417 input, $1.25 output), versus $0.96 ($0.55 and $2.19) for DeepSeek R1, as of November 23, 2026.

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

Hy4 has the larger context window: 960,000 tokens, versus 65,536 for DeepSeek R1.

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

Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "deepseek/deepseek-r1" 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.
