te
Tencent: Hy-MT2-1.8B
tencent/hy-mt2-1.8b
Availabletencenttext intext out
Hy-MT2-1.8B is a compact 1.8B-parameter translation model from Tencent. It supports 33 language pairs and five Chinese dialect and minority-language pairs, with workflows for structured, delimiter-based, contextual, glossary-based, and style-guided...
Context
8.2K
tokens in
Max output
4.1K
tokens out
Price
$0.044 / $0.177
per 1M in / out
Quick start
curl https://api.token265.com/v1/chat/completions \
-H "Authorization: Bearer ${OPENROUTER_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "tencent/hy-mt2-1.8b",
"messages": [{"role": "user", "content": "hello"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
model="tencent/hy-mt2-1.8b",
messages=[{"role": "user", "content": "hello"}],
)Supported parameters
max_completion_tokensmax_tokensstoptemperature