tencent

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...

Context
1M tokens
Input / 1M tokens
$0.83
Output / 1M tokens
$2.50
Benchmark

Pricing

Input tokens$0.83 per 1M tokens
Output tokens$2.50 per 1M tokens
Cache read$0.04 per 1M tokens

Technical details

Model IDtencent/hy4-preview
Context window1M tokens
Input modalitiestext
Output modalitiestext
TokenizerOther
Max output tokens64,000

Use with MegaBrain

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'tencent/hy4-preview',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use Tencent: Hy4 preview?

Get an API key and start making requests in minutes.

Get an API key