IranRouter
All models
Tencent

Tencent: Hy-MT2-7B

Unavailable

by Tencent

tencent/hy-mt2-7b

Hy-MT2-7B is a 7B-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 translation.

At a glance

Context window
8Ktokens
Max output
4Ktokens
Knowledge to
Released
2026

Capabilities

CapabilitiesStructured output
InputText
OutputText

Performance

Reference uptime

100%

Aug 18Sep 16

Median latency

688 ms

Aug 18Sep 16

Throughput

22.5 tok/s

Aug 18Sep 16

IranRouter uptime comes from our own automated probes; the reference figures are daily measurements of this model's upstream routes. Each card shows a 30-day average, and a day without data stays empty.

Supported parameters

max_completion_tokensmax_tokensresponse_formatstopstructured_outputstemperature

Parameters this model accepts; anything else is ignored.

Quick start

from openai import OpenAI

client = OpenAI(
    api_key="ir-...",
    base_url="https://iranrouter.com/v1",
)

resp = client.chat.completions.create(
    model="tencent/hy-mt2-7b",
    messages=[{"role": "user", "content": "سلام!"}],
)
print(resp.choices[0].message.content)

Only base_url and the key change; the rest of your code stays as it is.