LiteLLMLiteLLM/ MODELS

Hy4 Flash API Pricing

2 providersgmi/tencent/hy4-flashCompare
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.

Prices updated Checked

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.

Hy4 Flash prices by provider in US dollars, token prices per 1M tokens, as of December 2, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputCache readContext
GMI Cloudgmi/tencent/hy4-flash$0.07$0.281$0.0031M
Fireworks AIfireworks_ai/accounts/fireworks/models/hy4-flash$0.07$0.281$0.003512K

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.

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

Python SDK
from litellm import completion

response = completion(
    model="gmi/tencent/hy4-flash",
    messages=[{"role":"user","content":"Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: hy4-flash
    litellm_params:
      model: gmi/tencent/hy4-flash
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl 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

All model comparisons

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.