Hy-MT2-1.8B overview
Hy-MT2-1.8B by Tencent
Meet Hy-MT2-1.8B, Tencent's compact translation model supporting 33 language pairs and five Chinese dialects.
Hy-MT2-1.8B specs
- Model ID
tencent/hy-mt2-1.8b- Developer
- Tencent
- Context window
- 8,192 tokens
- Max output
- 4,096 tokens
- Input
- Text
- Output
- Text
- API
- OpenAI-compatible, base URL
https://api.aimlapi.com/v1
What Is Hy-MT2-1.8B API?
Hy-MT2-1.8B is a compact, 1.8B-parameter translation model from Tencent, part of the Hy-MT2 family. It supports 33 language pairs plus five Chinese dialect and minority-language pairs, with dedicated workflows for structured, delimiter-based, contextual, glossary-based, and style-guided translation.
Technical Reference
| Developer | Tencent |
|---|---|
| Model ID | tencent/hy-mt2-1.8b |
| Release Date | August 20, 2026 |
| Context Window | 8,192 tokens |
| Max Output Tokens | 4,096 |
| Parameters | 1.8B |
| Modalities | Text (input) → Text (output) |
| Capabilities | Streaming |
Broad language coverage
33 language pairs are supported, along with five Chinese dialect and minority-language pairs not typically covered by general-purpose chat models.
Multiple translation workflows
Structured, delimiter-based, contextual, glossary-based, and style-guided translation modes cover use cases from raw text translation to terminology-constrained and tone-controlled output.
Compact and fast
At 1.8B parameters, it's the smallest model in the Hy-MT2 family, suited to high-volume or latency-sensitive translation.
High-volume translation
Low per-token cost and a compact footprint suit applications that translate large volumes of text.
Use cases
Hy-MT2-1.8B is documented as suited to multilingual translation across 33 languages, including follow-through on translation instructions in multiple languages. It is also described as useful for structured, delimiter-based, contextual, glossary-based, and style-guided translation. The model is further documented for general, real-world business, domain-specific, and instruction-following translation tasks. It is additionally presented as suitable for on-device deployment and low-resource device inference.
Capabilities
- Streaming
Hy-MT2-1.8B API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $0.0466 | 1M tokens |
| Output | $0.1873 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Hy-MT2-1.8B vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.0466 | $0.1873 | |
| $0.0783 | $0.3121 | |
| $0.0783 | $0.3121 | |
| $0.2116 | $0.8464 | |
| $0.8824 | $2.65 |
How to use the Hy-MT2-1.8B API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "tencent/hy-mt2-1.8b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "tencent/hy-mt2-1.8b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "tencent/hy-mt2-1.8b",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
Hy-MT2-1.8B FAQ
What is the context window of Hy-MT2-1.8B?
Hy-MT2-1.8B has a 8,192 tokens context window and can return up to 4,096 tokens.
What inputs and outputs does Hy-MT2-1.8B support?
Hy-MT2-1.8B takes text as input and returns text.
What is the model ID for Hy-MT2-1.8B?
Use tencent/hy-mt2-1.8b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
When was Hy-MT2-1.8B released?
Hy-MT2-1.8B became available on August 20, 2026.
How much does Hy-MT2-1.8B cost?
Hy-MT2-1.8B costs $0.0466 input and $0.1873 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Does Hy-MT2-1.8B support streaming?
Yes, Hy-MT2-1.8B can stream responses as they are generated.
Who created Hy-MT2-1.8B?
Hy-MT2-1.8B was built by Tencent.
How many language pairs can Hy-MT2-1.8B translate between?
It supports 33 language pairs plus five Chinese dialect and minority-language pairs.

