TencentCloud

hy4

TencentToken-based
Alias:hy4
Create API Key

Compare hy4 API pricing, supported endpoints, capabilities and access options on 71HK API中转站.

textimagestreamingfunction_callingtoolsstructured_outputvisionreasoningcachingcontext:1048576
Starting price
Input / Output · 1M
Context
1M
Maximum input window
Max output
65.5K
Maximum tokens per response
Modalities
→
Released
Nov 2026

Pricing by Supplier

Compare prices and service performance for this model across suppliers.

Suppliers1
USD · Per 1M tokensPerformance · Last 24 hours
SupplierDiscountInput/MOutput/MCache Read/M
official

官方接口直连

-40%
$0.5004$0.834
$1.5006$2.501
$0.0252$0.042
Crossed-out amounts are standard prices.Performance over the last 24 hours; actual results vary by request.

Scroll horizontally to compare all prices and performance metrics.

Capabilities / Supported modalities

StreamingFunction callingToolsStructured outputVisionReasoningPrompt caching
Input
Output

Provider & data privacy

Provider
Unknown
Tokenizer
BPE (vendor-specific)
License
Provider-specificUnknown
Data retention13 daysNot used for upstream training by default

Performance

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows

Metrics sourced fromArtificial Analysis 2026-09-30·hy4

This model is not included in the current benchmark snapshot.

Missing models or measurements are not zero scores.

Benchmark charts preserve the source model selection and reasoning settings. Missing models or measurements are not zero scores, and benchmark cost or speed is not this site’s service commitment.

About hy4

模型概览

腾讯混元于 2026 年 11 月 4 日发布 Hy4 正式版。语言骨干采用混合专家架构,拥有 770B 参数,每个文本 token 激活 49B 参数。它适合跨文件的软件开发、长程智能体任务和需要结合截图、图表或文档的专业分析。模型可调用应用提供的工具,并基于返回结果继续处理任务。

Hy4 接收文本和图片,生成文本,支持深度思考、流式输出、工具调用和结构化输出。上下文窗口为 1,048,576 token,腾讯云 TokenHub 标注的最大输入和输出分别为 960K 和 64K。ModelSell 可通过 OpenAI 兼容的 POST /v1/chat/completions 调用,模型 ID 为 hy4。

腾讯云 TokenHub 参考价格

国际站标准价按每百万 token 计,输入 $0.834,输出 $2.501,缓存命中 $0.042。腾讯云本次按量推理活动截至北京时间 2026 年 12 月 31 日 23:59:59,期间按标准价五折结算。活动适用于腾讯云 TokenHub,ModelSell 实际费率以本页供应商报价为准。

腾讯云调用指南 · 腾讯云国际价目 · 腾讯官方模型卡及权重

Use cases and prompting

使用 OpenAI 兼容的 POST /v1/chat/completions,将 model 设置为 hy4。给出任务目标、已有约束和验收条件。需要模型调用工具时,在请求中声明相应工具,并在应用中执行调用和回传结果。

跨模块分析示例

“阅读订单服务的实现、重试日志和管理页需求。先定位重复回调影响的状态,再给出最小修复方案。列出各模块的验证步骤,对证据不足的判断标注待核实。”

API access

API documentation

Code samples

RequestPOST/v1/chat/completions
Example request
Parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Rate limits

SupplierRPMTPMRPD
officialUnlimitedUnlimitedUnlimited

No restriction

Frequently asked questions about hy4

What is hy4?

Compare hy4 API pricing, supported endpoints, capabilities and access options on 71HK API中转站.

How do I call hy4?

Create an API key with access to hy4, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is hy4 priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

What is the context window of hy4?

The model catalog lists a context window of 1048576 tokens. Check the selected endpoint for request limits.

What is the maximum output of hy4?

The model catalog lists a maximum output of 65536 tokens. Your request settings may set a lower limit.

How should I evaluate hy4 for my project?

Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.