腾讯混元

Tencent Hunyuan

🟢 138ms 首次开通赠送 100 万 tokens 资源包 + 100 次生图 📏 224k 30 RPM

🛡️ 🛡️ Free Tier Policy & Rate Limits

Initial Debugging Credit Pack No Credit Card Identity Verified Daily Replenish Agent Ready
Context Window 224k
Rate Limit RPM 30 RPM
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
hunyuan-a13b
Alternate Model Identifiers
🎁 [1M Free Tokens on Signup] Shared across 8 models · Valid for 1 year · No auto-billing on expiry
👉 Open Tencent Cloud Console

💡 Caveats & Rate Limits

🎯 Proprietary MoE architecture [80B/13B] · Tencent Cloud dedicated network · Standard OpenAI compatibility

📋 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": "hunyuan-a13b",
    "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="hunyuan-a13b",
    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: "hunyuan-a13b",
  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": "hunyuan-a13b"
}
✓ ✓ Copied