Hy-MT2-7B is a 7B-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 workflows for structured, delimiter-based, contextual, glossary-based, and style-guided translation.
| Developer | Tencent |
|---|---|
| Model ID | tencent/hy-mt2-7b |
| Release Date | August 19, 2026 |
| Context Window | 8,192 tokens |
| Max Output Tokens | 4,096 |
| Parameters | 7B |
| Modalities | Text (input) → Text (output) |
| Capabilities | Streaming |
Sitting between the 1.8B and 30B-A3B models in the Hy-MT2 family, it targets a middle ground of translation quality and cost across 33 language pairs plus five Chinese dialect and minority-language pairs.
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.
Responses can be streamed token-by-token for lower perceived latency in interactive translation flows.
A balanced default for translation workloads that don't need the largest model in the family.
Glossary-based and style-guided workflows help keep terminology and tone consistent across translated content.
Dedicated support for five Chinese dialect and minority-language pairs beyond the standard 33.
Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.
Multi-dimensional evaluations show Hy-MT2-7B is suited to general translation tasks. It is also documented as suitable for real-world business translation tasks. The model is described as effective for domain-specific translation tasks. It is further documented as suited to instruction-following translation tasks.
import requests r = requests.post( "https://api.aimlapi.com/v1/chat/completions", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "tencent/hy-mt2-7b", "messages": [ { "role": "user", "content": "Hello!" } ] }, ) print(r.json())
const r = 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-7b", "messages": [ { "role": "user", "content": "Hello!" } ] }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"tencent/hy-mt2-7b","messages":[{"role":"user","content":"Hello!"}]}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Hy-MT2-7B This page | Balanced translation | |||
| Reasoning + agents | ||||
| Balanced coding + agents | ||||
| Long-context, multimodal & agentic workflows | ||||
| Reasoning + agents |
Hy-MT2-7B has a 8,192 tokens context window and can return up to 4,096 tokens.
Hy-MT2-7B takes text as input and returns text.
Use tencent/hy-mt2-7b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Hy-MT2-7B became available on August 19, 2026.
Hy-MT2-7B is priced at input $0.1017796 / 1M tokens, output $0.405743 / 1M tokens.
Yes, Hy-MT2-7B can stream responses as they are generated.
Hy-MT2-7B was built by Tencent.
Hy-MT2-7B supports 33 language pairs plus five Chinese dialect and minority-language pairs.