Skip to content
Language: English (United States)

Hy4 preview

Tencent: Hy4 preview is a mixture-of-experts model from Tencent, with 49B active parameters out of 770B total.

Context Window
1M
In
—per million tokens
Out
—per million tokens

Tencent

Model IDtencent/hy4-preview

Specifications

Context Window
1M
Modalities
text
Price
—
Model ID
tencent/hy4-preview

Quick start

tencent/hy4-preview

—

TypeScript
import OpenAI from 'openai'
 
const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})
 
const response = await client.chat.completions.create({
  model: 'tencent/hy4-preview',
  messages: [{ role: 'user', content: 'Hello!' }]
})
 
console.log(response.choices[0].message.content)
Get an API key →

Use Hy4 preview via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.