Models / Tencent

Hy4 preview API pricing

$1.251 in, $3.7515 out per million tokens.

hy4-previewmanaged routeOpenAI SDK
Hy4 preview on UplinkSwitch

Price · per million tokens, USD

Get a key
TokensTencent list priceUplinkSwitchSaving
Input$0.834$1.251none
Cached input$0.042$0.063none
Output$2.50$3.7515none
List price: Tencent's published rate, read October 2026. Prices read from the live catalog on 2026-12-03; the page follows the catalog.
Real-model check: Steady since Oct 23

Hy4 preview specs

Context window
1,048,576 tokens
Max output
65,536 tokens
Input
text
Released
August 28, 2026

Hy4 preview API key · base URL and setup

  1. Create a key in the console at uplinkswitch.ai/console. Credit is prepaid from $10 with no subscription, and the key works at once.
  2. Point your SDK or tool at https://api.uplinkswitch.com/v1, for example with OPENAI_BASE_URL, and send the key as the bearer token.
  3. Send hy4-preview as the model. The same key calls every other model in the catalog.
Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="hy4-preview",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
TypeScript · OpenAI SDK
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'hy4-preview',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
curl
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"hy4-preview","messages":[{"role":"user","content":"Hello"}]}'

What would it cost? · paste a prompt, priced before you send it

Input is counted at about 4 characters per token.

Hy4 preview questions

Hy4 preview is a model from Tencent, released August 28, 2026, with a 1,048,576-token context window, taking text input. Through UplinkSwitch it answers the OpenAI SDK on one key as hy4-preview.

$1.251 per million input tokens and $3.7515 per million output tokens, with cached input at $0.063. Tencent's list price is $0.834 and $2.50.

It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0031.

Hy4 preview has a 1,048,576-token context window, with up to 65,536 output tokens per request. It takes text input.

hy4-preview. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.

Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls Hy4 preview and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.

Every day each model gets the same test prompt, and the results are public on /proof. Hy4 preview's latest result: Steady since Oct 23.
Join on Telegram
Help