LiteLLMLiteLLM/ MODELS

Hy4 Preview API Pricing

6 providerstencent/hy4-previewCompare
Input / output
$0.417 / $1.25 per 1M tokens
Cache read
$0.021 / 1M
Context
960K tokens
Max output
64K tokens

As of November 24, 2026, Hy4 Preview costs $0.417 per 1M input tokens and $1.25 per 1M output tokens from Tencent TokenHub, the lowest of 6 providers, with cache reads at $0.021 per 1M tokens. It has a 960,000-token context window and returns up to 64,000 tokens per response.

Prices updated Checked

Hy4 Preview pricing by provider

6 listings across 6 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

Hy4 Preview prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputCache readContext
Tencent TokenHubtencent/hy4-preview$0.417$1.25$0.021960K
AIHubMixaihubmix/hy4-preview$0.845$2.535$0.042251M
DeepInfradeepinfra/tencent/Hy4-preview$0.834$2.501$0.0421M
GMI Cloudgmi/tencent/hy4-preview$0.834$2.501$0.042256K
Kyma APIkyma/hy4-preview$1.126$3.376–1M
OpenCode Goopencode_go/hy4-preview$0.834$2.501$0.0421M

What Hy4 Preview costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Tencent TokenHub$1.459
DeepInfra$2.918
GMI Cloud$2.918
OpenCode Go$2.918

100 long-document requests with 100,000 input and 2,000 output tokens each

Tencent TokenHub$4.42
DeepInfra$8.84
GMI Cloud$8.84
OpenCode Go$8.84

Hy4 Preview cost calculator

At Tencent TokenHub's price ($0.417 input, $1.25 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $10.42 a day, about $313 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.001042
Per day
$10.42
Per month (30 days)
$313

Hy4 Preview features

Input: text. Output: text.

Use Hy4 Preview with LiteLLM

Call Hy4 Preview through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="tencent/hy4-preview",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: hy4-preview
    litellm_params:
      model: tencent/hy4-preview
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "hy4-preview",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Hy4 Preview price history

DatePrice
October 10, 2026$0.845 / $2.535 per 1M tokens
October 24, 2026$0.834 / $2.501 per 1M tokens
November 11, 2026$0.417 / $1.25 per 1M tokens

Hy4 Preview FAQ

How much does Hy4 Preview cost?

Hy4 Preview costs $0.417 per 1M input tokens and $1.25 per 1M output tokens from Tencent TokenHub, the lowest of 6 providers, with cache reads at $0.021 per 1M tokens.

What is the context window of Hy4 Preview?

Hy4 Preview has a 960,000-token context window and returns up to 64,000 tokens per response.

Which providers offer Hy4 Preview?

Hy4 Preview is available from 6 providers through LiteLLM: Tencent TokenHub, AIHubMix, DeepInfra, GMI Cloud, Kyma API and OpenCode Go. The lowest price is on Tencent TokenHub.

How do I call Hy4 Preview with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="tencent/hy4-preview", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Hy4 Preview support?

Hy4 Preview supports function calling, structured output, reasoning, prompt caching and web search.

When did LiteLLM add Hy4 Preview?

Hy4 Preview was added to LiteLLM's model price file on September 16, 2026.

Compare Hy4 Preview

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: Tencent TokenHub, AIHubMix, DeepInfra, GMI Cloud, Kyma API, OpenCode Go.

Provider pages: Tencent TokenHub, AIHubMix, DeepInfra, GMI Cloud, Kyma API, OpenCode Go.