腾讯混元

腾讯混元大模型 Hy4 全新第4代 100万长上下文

🟢 156ms Daily Replenish 📏 1048k

🛡️ 🛡️ Free Tier Policy & Rate Limits

Initial Debugging Credit Pack No Credit Card Identity Verified Daily Replenish Agent Ready
Context Window 1048k
Rate Limit RPM Elastic Concurrency
Daily Quota & Reset 1M Trial Tokens on Sign-Up · One-Time Trial Credits
Auth & Card Requirement No Card Needed
Supported Capabilities:
🖼️ Image Gen & Vision 📝 Text Generation

📋 Core Endpoint & Model Parameters

OpenAI API Compatible
Base URL
https://hunyuan.tencentcloudapi.com
Model ID
hy4
Alternate Model Identifiers
🎁【新客 100 万 Tokens + 元宝/ima 完全免费】新一代推理模型 · 100万长上下文 · 耗尽不扣费
👉 30秒直达腾讯云混元控制台领取

💡 Caveats & Rate Limits

🎯 腾讯自研第四代基座 · 1M 超长Context · 视觉理解与 Agent 复杂长流程推理能力 · 网页端元宝完全免密免费

📋 Free Tier Quota Rules and Constraints

  • 1,000,000 tokens granted on Tencent Cloud Hunyuan activation
  • Supports Function Calling and long Chinese context handling
  • Console supports auto-stop feature to avoid overdraft

🛡️ Zero-Billing Protection and Risk Prevention

Enable auto-cutoff in console to avoid postpaid billing charges.

Quick Integration Code and Client Setup

🍒 Connect Cherry Studio
curl https://hunyuan.tencentcloudapi.com/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "hy4",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://hunyuan.tencentcloudapi.com",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="hy4",
    messages=[{"role": "user", "content": "Hello!"}],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content or ""
    print(content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://hunyuan.tencentcloudapi.com",
  apiKey: "YOUR_API_KEY"
});

const stream = await client.chat.completions.create({
  model: "hy4",
  messages: [{ role: "user", content: "Hello!" }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content || "");
}
{
  "apiProvider": "openai",
  "openAiBaseUrl": "https://hunyuan.tencentcloudapi.com",
  "openAiApiKey": "YOUR_API_KEY",
  "openAiModelId": "hy4"
}
✓ ✓ Copied