星海词元星海词元
获取 API Key · 全站模型官方价 5 折前往 Key 服务台 →
首页 › 对比 › hy4 vs hy4-flash

hy4 vs hy4-flash

hy4hy4-flash
厂商腾讯混元腾讯混元
输入 $/M$0.46$0.038
输出 $/M$1.38$0.15
输出倍率×3.00×4.00
上下文1M tokens1M tokens
智能指数——
编程指数——

逐项对比

在输入单价上,hy4-flash 大约比 hy4 便宜 12.0 倍。如果便宜的那款在质量上能过线,这个差距会在每一次请求上累加;建议显式地把 hy4 作为定向选择,而不是设为默认。

标签:hy4 — 文本对话, 推理, 代码, 视觉理解, 工具调用, 长上下文 · hy4-flash — 文本对话, 推理, 代码, 视觉理解, 工具调用, 长上下文, 快速

代码示例

from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")

# hy4
client.chat.completions.create(model="hy4", messages=[{"role":"user","content":"Hi"}])

# hy4-flash
client.chat.completions.create(model="hy4-flash", messages=[{"role": "user", "content": "Hi"}])

对比