import requests r = requests.post( "https://api.aimlapi.com/v1/chat/completions", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "tencent/hy-mt2-30b-a3b", "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-30b-a3b", "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-30b-a3b","messages":[{"role":"user","content":"Hello!"}]}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Hy-MT2-30B-A3B This page | High-accuracy translation | |||
| Reasoning + agents | ||||
| Balanced coding + agents | ||||
| Long-context, multimodal & agentic workflows | ||||
| Reasoning + agents |
Hy-MT2-30B-A3B has a 8,192 tokens context window and can return up to 4,096 tokens.
Hy-MT2-30B-A3B takes text as input and returns text.
Use tencent/hy-mt2-30b-a3b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Hy-MT2-30B-A3B became available on August 20, 2026.
Hy-MT2-30B-A3B is priced at input $0.1017796 / 1M tokens, output $0.405743 / 1M tokens.
Yes, Hy-MT2-30B-A3B can stream responses as they are generated.
Hy-MT2-30B-A3B was built by Tencent.
Tool calling is not listed among its capabilities, which include streaming and structured output.