Qwen3 32B API

alibaba/qwen3-32b
Open-source AI powerhouse excelling in multilingual reasoning, coding (73.9% HumanEval), and math. Features 131K context & Apache 2.0 license.
Context
128K tokens
Input
$0.30682 / 1M tokens
Output
$0.62422 / 1M tokens
Released
Sep 9, 2025

Overview

Qwen3-32B by Alibaba Cloud is a state-of-the-art open-source language model optimized for multilingual reasoning, code generation, and data analytics. With a 131K-token context window, it achieves top-tier benchmarks: 73.9% on HumanEval, 86.2% on GSM8K (math), and 79.6% on MMLU. Key strengths include native English/Chinese fluency, advanced tool integration (JSON), and Apache 2.0 commercial flexibility. Ideal for multilingual applications, scientific research, full-stack development, and data engineering. Outperforms alternatives like GPT-3.5 Turbo in reasoning and Mixtral-8x22B in coding while offering greater accessibility than proprietary models.

Technical Specification

Performance Benchmarks

  • Context Window: 131K tokens
  • HumanEval: 73.9%
  • MMLU: 79.6%
  • GSM8K: 86.2%

Performance Metrics

Qwen3-32B demonstrates strong results, scoring 93.8 on ArenaHard and 81.4 on AIME'24, though it trails behind top performers like Gemini2.5-Pro in some tasks. Its performance in coding benchmarks (e.g., 1977 on CodeForces) highlights its competitive but not leading capabilities in programming-related assessments.

__wf_reserved_inherit

Key Capabilities

Qwen3-32B provides balanced performance for diverse AI applications:

  • Multilingual Mastery: Native fluency in English/Chinese with strong support for 10+ languages
  • Mathematical Reasoning: State-of-the-art performance on complex quantitative tasks
  • Code Generation: Robust capabilities for full-stack development and debugging
  • Tool Integration: Supports function calling, JSON output, and API orchestration
  • Open-Source Advantage: Apache 2.0 licensed for commercial/research flexibility

Pricing 

  • Input: $0.208
  • Output: $0.832

Code Sample

Comparison with Other Models

  • Vs. Claude 4 Opus: More accessible open-source alternative (Apache 2.0 license) with stronger multilingual support
  • Vs. OpenAI GPT-3.5 Turbo: Superior reasoning capabilities (86.2% vs 57.1% GSM8K)
  • Vs. Gemini 1.5 Flash: Higher efficiency in resource-constrained deployments
  • Vs. Mixtral-8x22B: Better coding performance (73.9% vs 54.2% HumanEval)

Limitations 

Qwen3-32B demonstrates certain constraints despite its strong performance. While excelling in reasoning and multilingual tasks, its 131K context window falls short of newer 200K+ competitors, and performance may degrade near the context limit. 

Uptime and performance

  • Uptime (24h): 100%
  • Uptime (7d): 100%
  • Availability (24h): 100%
  • Error rate (24h): 0%
  • End-to-end latency (24h median): 2.3s
  • Throughput (24h median): 10.0 tok/s

Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.

Use cases

  • Multilingual Applications: Cross-language translation and localization systems
  • Scientific Research: Technical paper analysis and quantitative problem-solving
  • Software Development: End-to-end code generation and legacy system modernization
  • Data Engineering: Large-scale text processing and structured data extraction
  • Education: Adaptive learning systems for STEM subjects

‍

How to use Qwen3 32B API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to alibaba/qwen3-32b.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "alibaba/qwen3-32b",
      "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": "alibaba/qwen3-32b",
    "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":"alibaba/qwen3-32b","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Qwen3 32B API Pricing

TypePrice
Input
$0.30682 / 1M tokens
Output
$0.62422 / 1M tokens

Qwen3 32B Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
LiveCodeBench
62.7%
Contamination-free competitive programming problemsSourceJuly 8, 2026
AIME 2025
69.5%
Competition mathematics (AIME), 2025SourceJuly 8, 2026
Intelligence
7.3
Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026
Math
19.7
Composite score across standardised mathematics evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026

Qwen3 32B vs other models

ModelInputOutputContextBest for
Qwen3 32B
This page
$0.30682 / 1M tokens
$0.62422 / 1M tokens
128K tokens
Reasoning + agents
$5 / 1M tokens
$30 / 1M tokens
1M tokens
Reasoning + agents
$2 / 1M tokens
$10 / 1M tokens
1M tokens
Balanced coding + agents
$3 / 1M tokens
$15 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows
$1.5 / 1M tokens
$9 / 1M tokens
1M tokens
Reasoning + agents

Frequently asked questions

Qwen3 32B has a 131,000 tokens context window and can return up to 16,384 tokens.

Qwen3 32B takes text as input and returns text.

Use alibaba/qwen3-32b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

Qwen3 32B became available on September 9, 2025.

Qwen3 32B is priced at input $0.208 / 1M tokens, output $0.832 / 1M tokens.

Yes, Qwen3 32B can stream responses as they are generated.

Qwen3 32B was built by Alibaba Cloud.

Yes, it supports function calling, tool use, and parallel tool calls.

Start building with Qwen3 32B

Get API Key
1000+ models, one API.