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-7B

tencent/hy-mt2-7b
TextInput: text8KAdded Aug 19, 2026

Try Tencent: Hy-MT2-7B 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-7B 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-7B

Tencent: Hy-MT2-7B is a translation model from Tencent. It is a 7B-parameter model, which places it in the smaller end of the parameter range for models of this kind, and it sits in the text category. Its provider description frames it specifically as a translation system rather than a general purpose chat model, so the intended job is converting text from one language into another.

The model takes text as input and returns text as output. It has a context window of 8192 tokens, and the maximum output is 4096 tokens. According to Tencent, it supports 33 language pairs plus five Chinese dialect and minority-language pairs. Beyond plain sentence translation, it offers workflows for structured translation, delimiter-based translation, contextual translation, glossary-based translation, and style-guided translation. Those workflows matter because they let you control terminology and tone rather than accepting whatever the model produces by default.

The practical uses follow from that feature set. Glossary-based translation suits documentation, product catalogues and legal or technical material where specific terms must map consistently across languages. Contextual translation helps with longer passages where a sentence cannot be translated well in isolation, such as dialogue, support threads or multi-paragraph articles. Style-guided translation is useful when the same content has to read differently for different audiences, for example formal versus casual marketing copy. Delimiter-based and structured workflows fit pipelines where translated segments must be separated or aligned with their source, which is common in localization tooling. The Chinese dialect and minority-language coverage extends this to content aimed at those audiences.

You call the model through api14's OpenAI-compatible API using the model id "tencent/hy-mt2-7b". Because the interface follows the OpenAI chat completions shape, you can point an existing OpenAI client at api14 and change the model string. The supported request parameters are max_completion_tokens, max_tokens, response_format, stop, structured_outputs and temperature. Temperature gives you control over how literal or varied the output is, stop lets you cut generation at a chosen sequence, and response_format together with structured_outputs is useful when you need the translated result returned in a defined shape for downstream parsing.

The 8192-token context window is the main constraint to keep in mind. Very long documents will need to be split into chunks, and chunking interacts with translation quality because context is lost at the boundaries. The 4096-token output cap also means a single request cannot return an arbitrarily long translation. If your task is general reasoning, summarization or code rather than translation, a general purpose text model will usually be a better fit. For translation work within these size limits, this model is the more targeted choice.

How to call the Tencent: Hy-MT2-7B 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-7b".
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-7b",
  "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-7B: frequently asked questions

How much does the Tencent: Hy-MT2-7B API cost?
Tencent: Hy-MT2-7B 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-7B?
Tencent: Hy-MT2-7B 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-7B do?
Tencent: Hy-MT2-7B accepts text and returns text. It supports structured JSON output.
How do I call Tencent: Hy-MT2-7B from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "tencent/hy-mt2-7b". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Tencent: Hy-MT2-7B?
Comparable Text models at a similar price: Tencent: Hy-MT2-30B-A3B, 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-7B community

New topic

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