Hy-MT2-1.8B API

tencent/hy-mt2-1.8b
Hy-MT2-1.8B is a compact 1.8B-parameter translation model from Tencent, supporting 33 language pairs plus five Chinese dialect and minority-language pairs.
Context
8K tokens
Input
$0.046552 / 1M tokens
Output
$0.187266 / 1M tokens
Released
Aug 20, 2026

Overview

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

What Hy-MT2-1.8B Brings to the Table

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.

API Pricing

  • Input: $0.0572 per 1M tokens
  • Output: $0.2301 per 1M tokens

Where Hy-MT2-1.8B Makes the Most Sense

High-volume translation

Low per-token cost and a compact footprint suit applications that translate large volumes of text.

Glossary and style-constrained translation

Glossary-based and style-guided workflows help keep terminology and tone consistent across translated content.

Chinese dialect and minority-language translation

Dedicated support for five Chinese dialect and minority-language pairs beyond the standard 33.

Uptime and performance

  • Uptime (7d): 100%

Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.

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.

How to use Hy-MT2-1.8B API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to tencent/hy-mt2-1.8b.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "tencent/hy-mt2-1.8b",
      "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-1.8b",
    "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-1.8b","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Hy-MT2-1.8B API Pricing

TypePrice
Input
$0.046552 / 1M tokens
Output
$0.187266 / 1M tokens

Hy-MT2-1.8B vs other models

ModelInputOutputContextBest for
Hy-MT2-1.8B
This page
$0.046552 / 1M tokens
$0.187266 / 1M tokens
8K tokens
High-volume translation
$5 / 1M tokens
$30 / 1M tokens
1M tokens
Reasoning + agents
$2 / 1M tokens
$10 / 1M tokens
1M tokens
Balanced coding + agents
$3 / 1M tokens
$15 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows
$1.5 / 1M tokens
$9 / 1M tokens
1M tokens
Reasoning + agents

Frequently asked questions

Hy-MT2-1.8B has a 8,192 tokens context window and can return up to 4,096 tokens.

Hy-MT2-1.8B takes text as input and returns text.

Use tencent/hy-mt2-1.8b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

Hy-MT2-1.8B became available on August 20, 2026.

Hy-MT2-1.8B is priced at input $0.0605176 / 1M tokens, output $0.2434458 / 1M tokens.

Yes, Hy-MT2-1.8B can stream responses as they are generated.

Hy-MT2-1.8B was built by Tencent.

It supports 33 language pairs plus five Chinese dialect and minority-language pairs.

Start building with Hy-MT2-1.8B

Get API Key
1000+ models, one API.