Model Library/Hy4 Preview
Hunyuan

Hy4 Preview

tencent/hy4-preview
Tencent: Hy4 preview is a mixture-of-experts model from Tencent, with 49B active parameters out of 770B total. It is designed for coding agents, complex tool-use workflows, and productivity tasks that require planning, context continuity, and sustained multi-step execution.

Funktionen

Serverless API

Dokumentation

tencent/hy4-preview is available via Novita's serverless API, where you pay per token. There are several ways to call the API, including OpenAI-compatible endpoints with exceptional reasoning performance.

Verfügbare Serverless

Abfragen sofort ausführen, nur für die Nutzung bezahlen

Eingabe$0.834 / M Tokens
Cache-Lesevorgang$0.042 / M Tokens
Ausgabe$2.501 / M Tokens

Verwenden Sie die folgenden Codebeispiele, um unsere API zu integrieren:

1from openai import OpenAI
2
3client = OpenAI(
4    api_key="<Your API Key>",
5    base_url="https://api.novita.ai/openai"
6)
7
8response = client.chat.completions.create(
9    model="tencent/hy4-preview",
10    messages=[
11        {"role": "system", "content": "You are a helpful assistant."},
12        {"role": "user", "content": "Hello, how are you?"}
13    ],
14    max_tokens=64000,
15    temperature=0.7
16)
17
18print(response.choices[0].message.content)

Info

Anbieter
Tencent
Quantisierung
fp8

Unterstützte Funktionalität

Kontextlänge
977K
Maximale Ausgabe
63K
Serverless
Unterstützt
Function Calling
Unterstützt
Structured Output
Unterstützt
Reasoning
Unterstützt
Anthropic API
Unterstützt
Eingabefähigkeiten
text
Ausgabefähigkeiten
text

Alles, was Sie brauchen, um produktionsreife AI zu entwickeln.

Über 200 Modelle, GPUs auf Abruf und sichere Agent-Runtimes — vereint unter einer API. Kostenlos zum Einstieg, skaliert mit Ihrem Wachstum.