HY4 runs at 20% off on API Token Router.
Tencent: HY4
HY4 is the production release of Tencent’s HY4 model. Compared with the preview, it adds visual understanding and improves agent execution across extended productivity workflows.
Modalities
Price (in / out)
20% off$0.6857 / $2.0571$0.8571 / $2.5714per 1M
Context
1,048,576
Released
Nov 4, 2026
Call the HY4 API
Model ID hy4 · replace <ATR_API_KEY> with your API key
OpenAI-compatible
curl https://api.apitokenrouter.com/v1/chat/completions \
-H "Authorization: Bearer <ATR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"model":"hy4","messages":[{"role":"user","content":"Hello"}]}'Providers
API Token Router routes by health and cost within the discount range and provider list you configured. When one returns an error we fall through to the next best — you don't pick a provider in the request. Configure discount range
Need a specific set of providers?
| Provider | Context | Input | Output | Cache | Latency | Throughput | Uptime | No training |
|---|---|---|---|---|---|---|---|---|
| Tencent Cloud | 1,048,576 | $0.8571$0.6857 | $2.5714$2.0571 | $0.0429$0.0343 | — | — | — | No training |
Uptime
API Token Router continuously probes every provider and falls through to the next best one on error.
Uptime (24h)
—
Uptime (3d)
—
Uptime, last 3 days
—
Uptime, last 24 hours
One line per upstream provider, taking the best success rate among that provider's channels. The API Token Router line counts only the final attempt of each request — the end-to-end result after all fallbacks.
AVAILABILITY · LAST 24H · API TOKEN ROUTER GATEWAY
Data security
API Token Router does not use your data to train models.
For the full data-security policy, learn more.
Need to pick your own providers? .
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.apitokenrouter.com/v1", # the only line that changes
api_key="<ATR_API_KEY>",
)
response = client.chat.completions.create(
model="hy4",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Endpoint: https://api.apitokenrouter.com/v1
About HY4
HY4 is a Tencent model. On API Token Router its model ID is hy4, and the same API Token Router API key works for it and every other model. Setup steps are in the API docs.
- Model ID
hy4- Provider
- Tencent
- Context window
- 1.05M tokens
- Official list price
- $0.8571 input / $2.5714 output per 1M tokens
- Released
- Nov 4, 2026
More Tencent models
Similar-priced models
Use the HY4 API
Point the base URL at API Token Router and use hy4 as the model name; nothing else changes. Python example:
from openai import OpenAI
client = OpenAI(
base_url="https://api.apitokenrouter.com/v1", # the only line that changes
api_key="<ATR_API_KEY>",
)
response = client.chat.completions.create(
model="hy4",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Use HY4 in OpenCode
OpenCode
OpenCode → Settings → Providers → Custom provider
Provider ID: apitokenrouter
Base URL: https://api.apitokenrouter.com/v1
API key: <your API Token Router API key>
Model ID: hy4HY4 FAQ
- What is the HY4 API model ID?
- The model ID is hy4. The OpenAI-compatible base URL is https://api.apitokenrouter.com/v1.
- How do I get a HY4 API key?
- You don't need a Tencent account. Sign up for API Token Router, create a key (sk-atr-…) under API Keys in the dashboard, top up from $5, and call hy4 — the same key also works for every other model. Create an API key.
- How large is the HY4 context window?
- HY4 has a 1.05M-token context window, with up to 66K output tokens per request.
- How much does the HY4 API cost?
- The official list price of HY4 is $0.8571 input / $2.5714 output per 1M tokens. API Token Router bills per use with no monthly fee; see the price table on this page for the current discounted price.
- How do I pay for the HY4 API?
- New accounts start with a $0 balance. Top up from $5 by card in the API Token Router dashboard, then usage is deducted per request, with no subscription. Top up.
- Can I use HY4 from Russia?
- Yes. API Token Router works from Russia without a VPN, and the Russian version of the site lets you pay in rubles with SBP, SberPay, T-Bank or YooMoney. HY4 на русском.
- Can I use HY4 in Cursor, Cline or Cherry Studio?
- Yes. Choose the OpenAI-compatible provider, set the base URL to https://api.apitokenrouter.com/v1, use your API Token Router API key, and enter hy4 as the model name.
- Can I pay for the HY4 API with USDT?
- Yes. In the top-up dialog, click "Pay with crypto" and send USDT, USDC or ETH from Binance, OKX or any wallet. The minimum is $5 and no browser extension is needed. Step by step: how to pay for the API with USDT.