We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

Tencent: Hunyuan A13B Instruct

tencent/hunyuan-a13b-instruct
TextInput: textReasoning131KAdded Jul 8, 2025

Try Tencent: Hunyuan A13B Instruct now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

Tencent: Hunyuan A13B Instruct at a glance

  • Input price is 69% lower than the median of 434 Text models.
  • Context window of 131,072 tokens, enough for long documents and multi-turn conversations.
  • Supports structured JSON output with a schema.
  • Supports reasoning effort control.
  • A typical request (1,000 input / 500 output tokens) costs about $0.00149.

About Tencent: Hunyuan A13B Instruct

Tencent Hunyuan A13B Instruct is a text generation model from Tencent, released on 8 July 2025. It is a Mixture-of-Experts (MoE) language model with 13B active parameters and a total parameter count of 80B. Alongside standard instruction following, it supports reasoning through Chain-of-Thought, which makes it useful for tasks where the model benefits from working through intermediate steps before producing a final answer.

The model accepts text as input and returns text as output. It has a context window of 131,072 tokens and a maximum output of 117,964 tokens, so it can handle long documents and produce long responses in a single request. Its knowledge cutoff is 31 March 2025. These characteristics place it in the range of models suitable for substantial single-pass work rather than only short prompts.

Because of the large context window and the long maximum output, typical use cases include summarising or analysing lengthy documents, extracting structured information from long inputs, and generating extended technical or editorial drafts without chunking. Chain-of-Thought reasoning suits multi-step problems such as planning, multi-part question answering, and tasks where a visible or internal reasoning trace improves reliability. Structured outputs and response_format support also make it a reasonable fit for pipelines that need machine-readable results rather than free text.

You call the model through api14's OpenAI-compatible API using the model id "tencent/hunyuan-a13b-instruct". The request parameters it supports are frequency_penalty, include_reasoning, max_tokens, reasoning, response_format, structured_outputs, temperature, top_k, and top_p. If you want the model's reasoning behaviour surfaced or controlled, include_reasoning and reasoning are the relevant parameters; for deterministic formatting, response_format and structured_outputs are available. Because it is a text-only model, inputs must be text and outputs will be text.

Given the text-only modality, another model would fit better if your application needs image, audio or other non-text inputs, since those are outside what Hunyuan A13B Instruct accepts. It supports a broad set of sampling and formatting parameters, so most standard text generation workloads can be configured directly rather than requiring workarounds.

How to call the Tencent: Hunyuan A13B Instruct API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "tencent/hunyuan-a13b-instruct".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "tencent/hunyuan-a13b-instruct",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

frequency_penaltyinclude_reasoningmax_tokensreasoningresponse_formatstructured_outputstemperaturetop_ktop_p

Specifications

Context length
131,072
Max output
117,964
Input
text
Output
text
Knowledge cutoff
2025-03-31

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

Tencent: Hunyuan A13B Instruct: frequently asked questions

How much does the Tencent: Hunyuan A13B Instruct API cost?
Tencent: Hunyuan A13B Instruct costs Input $0.49 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of Tencent: Hunyuan A13B Instruct?
Tencent: Hunyuan A13B Instruct reads up to 131,072 tokens per request: prompt, history and documents together. It writes up to 117,964 output tokens per response.
What can Tencent: Hunyuan A13B Instruct do?
Tencent: Hunyuan A13B Instruct accepts text and returns text. It supports structured JSON output, reasoning effort control.
How do I call Tencent: Hunyuan A13B Instruct from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "tencent/hunyuan-a13b-instruct". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Tencent: Hunyuan A13B Instruct?
Comparable Text models at a similar price: DeepSeek: DeepSeek V3.2, OpenAI: GPT-5.6 Luna Pro (batch), OpenAI: GPT-5.6 Luna (batch). Each runs through the same API key, so switching is one string.

Tencent: Hunyuan A13B Instruct community

New topic

This community has no topics yet. Open the first one about Tencent: Hunyuan A13B Instruct.