Back to models
Hunyuan-A13B-Instruct
Tencent Hunyuan's fine-grained Mixture-of-Experts instruction model with 80B total and 13B active parameters, featuring fast/slow dual-mode reasoning, a 256K context window, and reliable agentic tool calling.
What you can do
- Fast/slow hybrid complex reasoning
- Long-context enterprise RAG analysis
- Agentic workflow and tool calling
Input & output
- Input
- System prompts, multi-turn conversation messages, tool schemas, or long documents up to 256K tokens in Chinese or English.
- Output
- Structured text responses with optional chain-of-thought reasoning traces, code blocks, or JSON tool calls.
Try a prompt like this
请开启深度思考模式,分析高并发微服务下分布式锁在 Redis 主从切换时的脑裂风险,并给出基于 Redlock 替代方案的 Go 语言租约校验示例。
Things to know
BF16 weights require ~160GB VRAM (2–4×80GB GPUs), while official FP8 and GPTQ-Int4 variants run on 1–2×48GB/80GB GPUs via vLLM or TensorRT-LLM; governed by Tencent Hunyuan Community License.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
Tencent-Hunyuan/Hunyuan-A13B-Instruct
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="Tencent-Hunyuan/Hunyuan-A13B-Instruct",
messages=[{"role": "user", "content": "请开启深度思考模式,分析高并发微服务下分布式锁在 Redis 主从切换时的脑裂风险,并给出基于 Redlock 替代方案的 Go 语言租约校验示例。"}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide