We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

Tencent: Hy-MT2-30B-A3B

tencent/hy-mt2-30b-a3b
TextInput: text8KAdded Aug 20, 2026

Try Tencent: Hy-MT2-30B-A3B now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

Tencent: Hy-MT2-30B-A3B at a glance

  • Input price is 84% lower than the median of 434 Text models.
  • Supports structured JSON output with a schema.
  • A typical request (1,000 input / 500 output tokens) costs about $0.000775.

About Tencent: Hy-MT2-30B-A3B

Tencent: Hy-MT2-30B-A3B is a text model from Tencent, positioned as the flagship translation model in the Hy-MT2 family. It is a text-in, text-out model, so it takes prompts as text and returns text, with no image or audio handling. If you are building translation or multilingual text processing into an application, this is the model in the family that Tencent treats as its top option.

The model supports 33 language pairs along with five Chinese dialect and minority-language pairs. Beyond plain sentence translation, the provider describes workflows for structured, delimiter-based, contextual, and glossary-based translation, which means you can shape the output format and supply terminology that the model should follow. The context window is 8192 tokens, and the maximum output is 4096 tokens, so a single request can hold a reasonably long source passage plus instructions while still leaving room for the translated result. Inputs and outputs are text only.

Those capabilities point to a fairly specific set of use cases. Localization pipelines are the obvious fit: translating product strings, documentation, or support content across many language pairs, with glossary support helping keep product names and domain terms consistent. Delimiter-based and structured workflows suit batch jobs where you send several segments in one request and need the responses separated in a predictable way. Contextual translation helps when a sentence cannot be translated well in isolation, such as dialogue, UI copy with placeholders, or text that refers back to earlier sentences. The Chinese dialect and minority-language pairs are useful for regional products and content that mainstream translation models often handle poorly. Because the output limit is 4096 tokens, long documents are better split into chunks than sent whole.

You call the model through api14's OpenAI-compatible API using the model id "tencent/hy-mt2-30b-a3b". Because the interface follows the OpenAI chat completions shape, you can point an existing OpenAI client at api14's base URL and change the model id, with no other structural changes. The supported request parameters are max_completion_tokens, max_tokens, response_format, stop, structured_outputs, and temperature. Use temperature to control how literal or varied the translation is, stop to end generation at a chosen sequence, and response_format or structured_outputs when you need the reply in a defined shape rather than free text. Note that max_tokens and max_completion_tokens are both accepted, so pick one convention and stay consistent.

The main constraint to plan around is size. With an 8192 token context window and a 4096 token output ceiling, this model is built for passages and segments rather than whole books in one call. If your task is general reasoning, code generation, or long-document analysis rather than translation, a general purpose text model will usually fit better. Within translation work, though, the language coverage, dialect pairs, and glossary and delimiter workflows are the reasons to choose this model over a generic one.

How to call the Tencent: Hy-MT2-30B-A3B API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "tencent/hy-mt2-30b-a3b".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "tencent/hy-mt2-30b-a3b",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

max_completion_tokensmax_tokensresponse_formatstopstructured_outputstemperature

Specifications

Context length
8,192
Max output
4,096
Input
text
Output
text

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

Tencent: Hy-MT2-30B-A3B: frequently asked questions

How much does the Tencent: Hy-MT2-30B-A3B API cost?
Tencent: Hy-MT2-30B-A3B costs Input $0.26 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of Tencent: Hy-MT2-30B-A3B?
Tencent: Hy-MT2-30B-A3B reads up to 8,192 tokens per request: prompt, history and documents together. It writes up to 4,096 output tokens per response.
What can Tencent: Hy-MT2-30B-A3B do?
Tencent: Hy-MT2-30B-A3B accepts text and returns text. It supports structured JSON output.
How do I call Tencent: Hy-MT2-30B-A3B from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "tencent/hy-mt2-30b-a3b". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Tencent: Hy-MT2-30B-A3B?
Comparable Text models at a similar price: Tencent: Hy-MT2-7B, Mistral: Mistral Small 4 (batch), ByteDance Seed: Seed 1.6 Flash. Each runs through the same API key, so switching is one string.

Tencent: Hy-MT2-30B-A3B community

New topic

This community has no topics yet. Open the first one about Tencent: Hy-MT2-30B-A3B.