Tencent logo
Tencent

Hunyuan-MT-7B

腾讯混元机器翻译模型,超低成本的多语言翻译服务

类型 文本模型 Model ID tencent/Hunyuan-MT-7B
模型类型机器翻译模型
参数规模7B
特色能力多语言翻译

定价与规格

💰 定价

输入$0 / M tokens
输出$0 / M tokens

⚙️ 规格

模型类型机器翻译模型
参数规模7B
特色能力多语言翻译
成本优势完全免费

API 调用示例

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://api.xairouter.com/v1",
    api_key="your-api-key"
)

response = client.chat.completions.create(
    model="tencent/Hunyuan-MT-7B",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://api.xairouter.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "tencent/Hunyuan-MT-7B",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'