Models and prices / hy-mt2-plus

Hunyuan MT2 Plus (translation) 24% off

Compact 7B translation model for 33 languages, with glossary, style and context instructions. 8K context, up to 4K output tokens per request.

OpenAI compatible

Pricing

Item (USD per 1M tokens)Price
Input$0.074$0.056
Output$0.295$0.2239
  • Send hy-mt2-plus as the model.
  • The struck-through price is the model maker's own price.

Specs

Context window8K tokens
Longest answer4K tokens
Inputtext
APIsOpenAI Chat Completions
Reasoning (thinking)No

Call it with the OpenAI API

curl https://api.aifans.fan/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "hy-mt2-plus", "messages": [{"role": "user", "content": "Hello"}], "max_tokens": 1000}'
# pip install openai
from openai import OpenAI

client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.aifans.fan/v1")
resp = client.chat.completions.create(
    model="hy-mt2-plus",
    messages=[{"role": "user", "content": "Hello"}],
    max_tokens=1000,
)
print(resp.choices[0].message.content)