StarSeaStarSea
Ready to build?Get an API key — all models at 50% of the official price →
Home › Models › hy4-preview

hy4-preview API

Call hy4-preview through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.

Tencent HunyuanChatReasoningCoding

Pricing

Input$0.92 / 1M tokens  (¥6.00)
Output$2.77 / 1M tokens  (¥18.00)
Output multiplier×3.00
Context window1M tokens
Max output64K tokens

Prices are per 1M tokens in USD · ¥6.5 = $1 · Billed in CNY

Tencent Hunyuan

Hunyuan models are available as an additional general-purpose option.

When to use it

At $0.92 per 1M input tokens it sits above the catalogue median of $0.69 — a capability-first choice. Best for coding agents and repository-scale edits. Every model here is reachable with the same API key, so trialling it against a stronger sibling costs one line of code.

Code

from openai import OpenAI
client = OpenAI(
  base_url="https://starseaapi.com/v1",
  api_key="sk-your-key"
)
r = client.chat.completions.create(
  model="hy4-preview",
  messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)

Integrations · Quickstart

Other models from this provider

ModelsInput $/MOutput $/MIntelligence indexCoding index
hy3$0.15$0.6225.358.8

Capabilities