Tencent
Free
Hunyuan-MT-7B
Tencent Hunyuan machine translation model with ultra-low cost multilingual translation
Model TypeMachine Translation
Parameters7B
Key FeatureMultilingual Translation
ๅฎไปทไธ่งๆ ผ
๐ฐ ๅฎไปท
FreeUnlimited usage at $0
่พๅ
ฅ$0 / M tokens
่พๅบ$0 / M tokens
โ๏ธ ่งๆ ผ
Model TypeMachine Translation
Parameters7B
Key FeatureMultilingual Translation
Cost AdvantageCompletely Free
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!"}
]
}'