Tencent Hy4 Preview

tencent/hy4-preview

A chat model with a 1M-token context window, at $0.8757 per million input tokens and $2.62605 per million output tokens.

Details

Maker
tencent
Kind
Chat
Context window
1,024,000 tokens
Max output
64,000 tokens
Input
$0.8757 per million tokens
Cached input
$0.0441 per million tokens, 95% off
Cache write
Same as input
Output
$2.62605 per million tokens
Capabilities
Reasoning, tool use
Takes
Text
Returns
Text
Zero data retention
Not on every provider
No training on requests
Not on every provider
Released
2026-08-28

Description

Tencent Hy4 preview is Tencent Hy’s open-source large language model, featuring 770B total parameters, 49B active parameters, and a context window exceeding 1 million tokens. Built for real-world productivity, it supports long-horizon coding, cross-document analysis, office content creation, game development, and scientific reasoning, making it well-suited to complex agents and multi-step professional workflows.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tencent/hy4-preview",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.