aiapicompareaiapicompare
aiapicompare › All models › Hy4 flash

Hy4 flash: API pricing compared

Hy4 flash is available from 6 provider(s). Cheapest: NanoGPT at $0.035 per 1M input tokens and $0.141 per 1M output tokens. Context window: up to 1 048 576 tokens. Developer: Tencent.

ProviderInput $/1MOutput $/1MContext
NanoGPT
tencent/hy4-flash
$0.035$0.1411.05MGo to provider ↗ Set up
Novita AI
tencent/hy4-flash
$0.035$0.1411MGo to provider ↗ Set up
OpenRouter
tencent/hy4-flash
$0.035$0.1411.05MGo to provider ↗ Set up
DeepInfra
tencent/Hy4-flash
$0.070 +100 %$0.2811.05MGo to provider ↗ Set up
UplinkSwitch
hy4-flash
$0.112 +219 %$0.447—Go to provider ↗ Set up
CometAPI
hy4-flash
$0.500 +1329 %$2.00—Go to provider ↗ Set up

Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.

Reference price: $0.092 per 1M tokens (blended 3:1), median of all providers · How we compare → · Wrong price? Report it

Price history (cheapest provider)

Price history is recorded daily – the chart appears after the first price change.

Quick start with NanoGPT

from openai import OpenAI
import os

client = OpenAI(base_url="https://nano-gpt.com/api/v1", api_key=os.environ["NANOGPT_API_KEY"])
r = client.chat.completions.create(
    model="tencent/hy4-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

FAQ

Where is Hy4 flash cheapest?

Currently at NanoGPT ($0.035 / 1M). Prices are updated daily; the provider’s website is authoritative.

How do I use Hy4 flash in my tools?

All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.

More models from Tencent

Hy3Hy4Hy4 previewHy4 (Uncensored)