Models / Tencent Hunyuan
Tencent Hunyuan API

Hy MT2 Plus API

Hy MT2 Plus supports translation. Use it through SmarToken with OpenAI-compatible request examples, usage tracking and API-key controls.

Live · OpenAI-compatible Chat Completions

Current route prices are pending verification.

Model IDhy-mt2-plusModel ID
Base URLhttps://thesmartoken.com/v1Base URL

Input

—

Cached input

—

Output

—

Function calling: unavailablemultilingual8K context
OpenAI-compatible examples
Usage tracking
Budget-limited keys
Developer console
curlcurl
curl --fail-with-body -sS "https://thesmartoken.com/v1/chat/completions" \
  -H "Authorization: Bearer $SMTOKEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy-mt2-plus",
    "messages": [{"role":"user","content":"Reply with exactly OK."}],
    "max_tokens": 512
  }'

Hy MT2 Plus route

OpenAI-compatible model gateway

Live

Client

</>

Your app

SDK, backend, agent or workflow.

SmarToken

Unified API Gateway

hy-mt2-plus
AuthBudgetRoute
SSE stream

Provider

Hy MT2 Plus

Tencent Hunyuan route through SmarToken.

01

Your app

Send a standard Chat Completions request with your SmarToken key.

02

SmarToken gateway

Validate the key, model scope, daily budget and monthly budget.

03

Model route pool

Choose an enabled route by priority and weight.

04

Tencent Hunyuan

Call hy-mt2-plus, stream the response and record usage.

Example JSON response

200 OK
JSONJSON
{
  "model": "hy-mt2-plus",
  "choices": [{
    "message": {
      "role": "assistant",
      "content": "Hy MT2 Plus supports translation."
    },
    "finish_reason": "stop"
  }],
  "usage": { "prompt_tokens": 10, "completion_tokens": 12, "total_tokens": 22 }
}

Fast Deployment

Generate a key and run the Playground in minutes.

Global Access

Use one endpoint for configured China-first routes.

Unified Billing

Track USD token usage and wallet debits together.

Easy Migration

Keep OpenAI SDK shape, change baseURL and model.

Developer Friendly

Copy-ready cURL, Python and Node.js examples.

Model fit

Why use Hy MT2 Plus?

A focused page for evaluating this model as an API route, not just reading a catalog row.

translation

Use Hy MT2 Plus for translation through one SmarToken API key.

Route fit

Hy MT2 Plus route-fit checks

Treat hy-mt2-plus as a route to test against a workload, not just a catalog name.

When Hy MT2 Plus is a strong fit

Hy MT2 Plus is strongest for translation. Validate it with real prompts before making it a default route.

When to compare alternatives

If your workload depends on long context or low cost, compare alternative catalog models with the same prompts.

Pre-production check

Check the model catalog and pricing before integrating.

Why SmarToken

Why not direct vendor accounts?

Direct accounts can work once region, billing, model IDs and credentials are settled. SmarToken is built for faster overseas evaluation and safer early production.

Unified key

One API key works across the Chinese model catalog.

English docs

Model IDs, SDK samples and error semantics are written for overseas teams.

Budget control

Daily, monthly and model-family limits keep experiments predictable.

Route visibility

Usage logs connect model, API key, token estimate, latency and wallet debit.

Code sample

Copy-ready API examples

Open in Playground
curlcurl
curl --fail-with-body -sS "https://thesmartoken.com/v1/chat/completions" \
  -H "Authorization: Bearer $SMTOKEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy-mt2-plus",
    "messages": [{"role":"user","content":"Reply with exactly OK."}],
    "max_tokens": 512
  }'
pythonpython
import os
from openai import OpenAI

api_key = os.environ["SMTOKEN_API_KEY"]
client = OpenAI(
    api_key=api_key,
    base_url="https://thesmartoken.com/v1",
    max_retries=0,
)
response = client.chat.completions.create(
    model="hy-mt2-plus",
    messages=[{"role": "user", "content": "Reply with exactly OK."}],
    max_tokens=512,
)
message = response.choices[0].message
print(message.content)
print(response.usage)
Node.js (JavaScript)Node.js (JavaScript)
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.SMTOKEN_API_KEY,
  baseURL: "https://thesmartoken.com/v1", maxRetries: 0,
});
const response = await client.chat.completions.create({
  model: "hy-mt2-plus",
  messages: [{ role: "user", content: "Reply with exactly OK." }],
  max_tokens: 512,
});
const message = response.choices[0].message;
console.log(message.content);
console.log(response.usage);

Compare nearby Chinese AI models

Catalog reference prices only; these are not billable quotes. Integrating routes are not callable. Browse the full catalog.

ModelAPI IDContextInput / 1M (reference)Output / 1M (reference)
DeepSeek V4.1 Flashdeepseek-v4.1-flash model ID1M$0.30 per million tokensReference$1.20 per million tokensReference
DeepSeek Flash Directdeepseek-flash-dedicated model ID1M$0.30 per million tokensReference$1.20 per million tokensReference
DeepSeek V4 Pro Dedicated routedeepseek-v4-pro-dedicated model ID1M$1.74 per million tokensReference$3.48 per million tokensReference
Kimi K3.1 Prokimi-k3.1-pro model ID1M$2.00 per million tokensReference$10.00 per million tokensReference
Kimi K2.7 Codekimi-k2.7-code model ID256K$0.95 per million tokensReference$4.00 per million tokensReference
DeepSeek Flashdeepseek-chat model ID1M$0.30 per million tokensReference$1.20 per million tokensReference
DeepSeek V4 Prodeepseek-v4-pro model ID1M$1.32 per million tokensReference$3.96 per million tokensReference
Kimi K3kimi-k3 model ID1M$3.00 per million tokensReference$15.00 per million tokensReference
GLM-5.2glm-5.2 model ID1M$1.40 per million tokensReference$4.40 per million tokensReference
GLM-5.3glm-5.3 model ID1M$1.40 per million tokensReference$4.40 per million tokensReference
MiniMax M2.7minimax-m2 model ID200K$0.30 per million tokensReference$1.20 per million tokensReference
Hy4 Flashhy4-flash model ID1M$0.07 per million tokensReference$0.281 per million tokensReference
Hy MT2 Prohy-mt2-pro model ID8K$0.074 per million tokensReference$0.295 per million tokensReference
Hy MT2 Plushy-mt2-plus model ID8K$0.074 per million tokensReference$0.295 per million tokensReference
Hy MT2 Litehy-mt2-lite model ID8K$0.044 per million tokensReference$0.177 per million tokensReference
Kinfra Text Embedding 0.6Bkinfra-text-embedding-0.6b model ID32K$0.07 per million tokensReference$0.0000 per million tokensReference
Kinfra Text Embedding 4Bkinfra-text-embedding-4b model ID32K$0.084 per million tokensReference$0.0000 per million tokensReference
Qwen Plusqwen-plus model ID128K——
Qwen3.7 Plusqwen3.7-plus model ID1M——
Doubao Seeddoubao-seed model ID128K——
ERNIE 4 Turboernie-4-turbo model ID128K——

How do I call Hy MT2 Plus with the OpenAI SDK?

Set baseURL to https://thesmartoken.com/v1 and send model: hy-mt2-plus.

Use cases

Popular use cases

Start with a clear workload, then compare routes in Playground before moving traffic into production.

translation

A practical route for translation with visible token usage and spend.

Migration

From your current AI gateway

The integration path stays familiar: same Chat Completions shape, one new baseURL and a China-first model ID.

Switch path

From OpenAI

Keep the SDK. Change baseURL to SmarToken and switch the model ID.

Switch path

From OpenRouter

Move from broad routing into a focused Chinese-model console with budgets.

Switch path

From Together.ai

Keep Chat Completions while adding China-first model pages and route control.

FAQ

Questions developers ask

Is this API compatible with the OpenAI SDK?

Yes. Use your SmarToken key, set baseURL to https://thesmartoken.com/v1, and pass the model ID shown on this page.

How is billing calculated?

Input and output tokens are priced separately in USD per 1M tokens. Final usage is recorded after the provider returns a response or a stream finishes.

Where do I get an API key?

Create an account, open the console, generate an API key and copy the cURL, Python or Node.js example from Quickstart.

Can I restrict one key to this model family?

Yes. Console API keys can be limited by allowed model family plus daily and monthly USD budgets.

Start now

Start building with Chinese AI models in minutes

One API key works across the Chinese model catalog.