Tencent: Hunyuan A13B Instruct

tencent/hunyuan-a13b-instruct

Hunyuan-A13B is a 13B active parameter Mixture-of-Experts (MoE) language model developed by Tencent, with a total parameter count of 80B and support for reasoning via Chain-of-Thought. It offers compe...

MODALITIES
INPUT PRICE
$0.14per 1M
OUTPUT PRICE
$0.57per 1M
CONTEXT
131.1K
RELEASED
Jul 8, 2025
ProviderUptimeChat
$0.14$0.57

Capabilities

Input modalities
text
Output modalities
text
Features
frequency_penaltyinclude_reasoningmax_tokensreasoningresponse_formatstructured_outputstemperaturetop_ktop_p
1

Get your API key

Create an API key from the Keys page, then set it as an environment variable:

export ONLIST_API_KEY=sk-...
2

Make your first request

Endpoints

POSThttps://onlist.io/v1/chat/completions

OpenAI Chat Completions format

Request Headers
Authorization:Bearer $ONLIST_API_KEY
Content-Type:application/json
Model:tencent/hunyuan-a13b-instruct
POSThttps://onlist.io/v1/responses

OpenAI Responses format

Request Headers
Authorization:Bearer $ONLIST_API_KEY
Content-Type:application/json
Model:tencent/hunyuan-a13b-instruct
POSThttps://onlist.io/v1/messages

Anthropic Messages format

Request Headers
Authorization:Bearer $ONLIST_API_KEY
Content-Type:application/json
Model:tencent/hunyuan-a13b-instruct

Code samples

curl https://onlist.io/v1/chat/completions \
  -H "Authorization: Bearer $ONLIST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "model": "tencent/hunyuan-a13b-instruct",
       "messages": [
         {
           "role": "user",
           "content": "Explain quantum entanglement in one paragraph."
         }
       ]
     }'

Replace $ONLIST_API_KEY with the API key from your Keys page.

Authentication

All requests must include an Authorization: Bearer <TOKEN> header. Generate keys from the Keys page; keys can be scoped to specific models, groups, IP ranges, and rate limits.

3

Enable streaming

Add "stream": true to receive partial responses as server-sent events in real time.

Streaming example

curl https://onlist.io/v1/chat/completions \
  -H "Authorization: Bearer $ONLIST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "model": "tencent/hunyuan-a13b-instruct",
       "messages": [
         {
           "role": "user",
           "content": "Write a haiku about recursion."
         }
       ],
       "stream": true
     }'

Supported parameters

NameTypeDescription
frequency_penaltynumberPenalizes new tokens based on their existing frequency in the text (-2.0 to 2.0).
include_reasoning
max_tokensintegerMaximum number of tokens to generate in the completion.
reasoning
response_formatobjectSpecifies the output format. Use {"type": "json_object"} for JSON mode.
structured_outputs
temperaturenumberSampling temperature between 0 and 2. Higher values make output more random.
top_kintegerLimits token selection to the k most likely candidates at each step.
top_pnumberNucleus sampling. The model considers tokens with top_p probability mass.

These are the request parameters this model accepts. Parameter semantics follow the OpenAI Chat Completions specification.