Hy4 Flash API Pricing
- Input / output
- $0.07 / $0.281 per 1M tokens
- Cache read
- $0.003 / 1M
- Context
- 1M tokens
As of December 2, 2026, Hy4 Flash costs $0.07 per 1M input tokens and $0.281 per 1M output tokens from GMI Cloud, the lowest of 2 providers, with cache reads at $0.003 per 1M tokens. It has a 1,000,000-token context window.
Hy4 Flash pricing by provider
2 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| GMI Cloud | gmi/tencent/hy4-flash | $0.07 | $0.281 | $0.003 | 1M |
| Fireworks AI | fireworks_ai/accounts/fireworks/models/hy4-flash | $0.07 | $0.281 | $0.003 | 512K |
What Hy4 Flash costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| GMI Cloud | $0.2805 |
| Fireworks AI | $0.2805 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| GMI Cloud | $0.7562 |
| Fireworks AI | $0.7562 |
Hy4 Flash cost calculator
At GMI Cloud's price ($0.07 input, $0.281 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $2.10 a day, about $63.15 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.0002105
- Per day
- $2.10
- Per month (30 days)
- $63.15
Hy4 Flash features
Input: text, image. Output: text.
- Function calling
- Structured output
- Image input
- Reasoning
- Prompt caching
Use Hy4 Flash with LiteLLM
Call Hy4 Flash through the LiteLLM Python SDK, or configure it on the LiteLLM proxy and send a POST /v1/chat/completions request. API documentation
from litellm import completion
response = completion(
model="gmi/tencent/hy4-flash",
messages=[{"role":"user","content":"Hello!"}],
)model_list:
- model_name: hy4-flash
litellm_params:
model: gmi/tencent/hy4-flash
# credentials: see the provider's LiteLLM docs pagecurl http://0.0.0.0:4000/v1/chat/completions \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hy4-flash",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'Hy4 Flash FAQ
How much does Hy4 Flash cost?
Hy4 Flash costs $0.07 per 1M input tokens and $0.281 per 1M output tokens from GMI Cloud, the lowest of 2 providers, with cache reads at $0.003 per 1M tokens.
What is the context window of Hy4 Flash?
Hy4 Flash has a 1,000,000-token context window.
Which providers offer Hy4 Flash?
Hy4 Flash is available from 2 providers through LiteLLM: GMI Cloud and Fireworks AI.
How do I use Hy4 Flash with LiteLLM?
Call completion() in the LiteLLM Python SDK with model="gmi/tencent/hy4-flash", or configure the model on the LiteLLM proxy and send a POST request to /v1/chat/completions.
What features does Hy4 Flash support?
Hy4 Flash supports function calling, structured output, image input, reasoning and prompt caching.
When did LiteLLM add Hy4 Flash?
Hy4 Flash was added to LiteLLM's model price file on November 24, 2026.
Compare Hy4 Flash
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
LiteLLM docs: GMI Cloud, Fireworks AI.
Provider pages: GMI Cloud, Fireworks AI.