Qwen3.6-35B-A3B API

alibaba/qwen3.6-35b-a3b
Alibaba's newest open-source mixture-of-experts model activates just 3 billion parameters at inference time, yet it goes toe-to-toe with dense models four to nine times its active size on agentic coding, reasoning, and multimodal tasks.
Context
256K tokens
Input
$0.375 / 1M tokens
Output
$2.25 / 1M tokens
Released
Apr 23, 2026

Overview

What It Is

Qwen3.6-35B-A3B is the latest open-source release from Alibaba's Qwen team, following the proprietary Qwen3.6-Plus launch. It's built on a sparse Mixture-of-Experts architecture, meaning only a small slice of the model is "awake" for any given token, which dramatically reduces compute without sacrificing output quality.

API Pricing

  • Input: $0.375 / 1M tokens
  • Output: $2.25 / 1M tokens

Exceptional Compute Efficiency

With just 3B active parameters, Qwen3.6-35B-A3B handles inference at the cost of a sub-4B dense model. You get the reasoning depth of something much larger without the GPU budget to match.

Built for Agentic Workflows

The model was explicitly trained and evaluated for multi-step coding agents, tool use, and MCP server interactions. It's not just a chat model — it's designed to plan, execute, and iterate inside automated pipelines.

Native Multimodal Understanding

Vision is a first-class citizen, not an add-on. The model processes images, diagrams, documents, and video frames natively, and its visual reasoning benchmarks are surprisingly strong for a model of this active-parameter count.

Thinking and Non-Thinking Modes

Switch between extended chain-of-thought reasoning (thinking mode) and fast, direct responses (non-thinking mode) within the same model. Both modes are supported via a simple API flag — no separate model download needed.

Model Architecture

The MoE design isn't just a numbers game. The way Qwen3.6-35B-A3B routes information through its expert layers is what separates it from earlier sparse models that struggled with coherence and reasoning depth.

Architecture
MoE
Sparse Mixture-of-Experts transformer
Efficiency Ratio
8.6%
Fraction of parameters active per forward pass (3B of 35B)
Context
256K
Token context window — suitable for long codebases and extended agentic sessions
Modalities
Text + Vision
Images, documents, video frames processed natively without a separate vision encoder

Practical Use Cases

Whether you're building a coding agent, processing technical documents, or running long autonomous tasks, Qwen3.6-35B-A3B covers ground that typically requires much heavier models.

Autonomous Code Agents

Resolve GitHub issues, navigate codebases, run tests, and iterate — without a human in the loop. SWE-bench scores confirm it can actually land patches, not just suggest them.

Terminal & Shell Automation

Terminal-Bench 2.0 is arguably the most realistic CLI benchmark available. Qwen3.6-35B-A3B leads the pack here with a 51.5 score — 10 points ahead of the next-best model in its class.

MCP Tool Orchestration

Best-in-class MCPMark score (37.0) means it reliably selects, calls, and interprets tool outputs inside MCP-based agent frameworks — a critical capability for production automation.

Document Intelligence

OmniDocBench and CC-OCR scores show it can accurately parse and reason about complex PDFs, tables, charts, and scanned documents — not just plain text.

Video Content Analysis

Top-tier VideoMMMU and MLVU scores make it viable for summarizing lecture recordings, analyzing surveillance footage, or processing instructional video content at scale.

Scientific & Math Reasoning

AIME 2026 at 92.7 and GPQA at 86.0 — it handles undergraduate-to-olympiad-level math and science questions with a reliability that matters when you're building serious research tooling.

Common Questions

How is 3B active parameters possible in a 35B model?

The Mixture-of-Experts architecture breaks the model's feed-forward layers into many independent "expert" sub-networks. For any given input token, a learned routing mechanism selects only a small subset of those experts to activate. The rest sit idle. The result is that the total parameter count, which determines model capacity and knowledge, is 35B, but the compute required per forward pass is equivalent to a much smaller dense model.

What's the actual inference cost compared to a 27B dense model?

Roughly speaking, Qwen3.6-35B-A3B costs about the same as running a 3B dense model in terms of FLOPs per token. In practice, you'll need enough VRAM to hold all 35B parameters in memory (~70GB in BF16, or ~40GB in 4-bit quantization), but the throughput and latency are comparable to running a much smaller model. Big memory footprint, small compute per inference.

Can I fine-tune or further pretrain this model?Is preserve_thinking always better for agentic tasks?

Yes, the weights are released as open-source checkpoints. Standard fine-tuning approaches work, though MoE models have some quirks around expert collapse and routing stability. Tools like LLaMA-Factory and Axolotl have added MoE support. For most use cases, LoRA adapters targeting the attention layers work well without touching the expert routing.

Uptime and performance

  • Uptime (24h): 100%
  • Uptime (7d): 100%
  • Availability (24h): 100%
  • Error rate (24h): 0%

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

Use cases

Qwen3.6 35B A3B is documented as suited to agentic coding, including frontend workflows and repository-level reasoning. It is also documented as a coding assistant that can be integrated with third-party coding tools to streamline development workflows. The model is described as suitable for long-horizon programming tasks and terminal-based programming, with benchmark references including NL2Repo and Terminal-Bench 2.0. It is also documented for multimodal reasoning across text, image, and video inputs.

How to use Qwen3.6-35B-A3B API

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

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

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

Qwen3.6-35B-A3B API Pricing

TypePrice
Input
$0.375 / 1M tokens
Output
$2.25 / 1M tokens

Qwen3.6-35B-A3B Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
Terminal-Bench
51.5%
Autonomous shell/terminal task completionSourceJuly 12, 2026
GPQA Diamond
86%
Google-proof graduate science questions (hardest subset)SourceJuly 12, 2026
SWE-bench Verified
73.4%
Resolving verified real GitHub issuesSourceJuly 12, 2026
Intelligence
18.8
Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026
Coding
41.9
Composite score across standardised coding evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026

Qwen3.6-35B-A3B vs other models

ModelInputOutputContextBest for
$0.375 / 1M tokens
$2.25 / 1M tokens
256K 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.6-35B-A3B has a 256,000 tokens context window and can return up to 252,000 tokens.

Qwen3.6-35B-A3B takes image, text as input and returns text.

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

Qwen3.6-35B-A3B became available on April 23, 2026.

Qwen3.6-35B-A3B is priced at input $0.4875 / 1M tokens, output $2.925 / 1M tokens.

Yes, Qwen3.6-35B-A3B can stream responses as they are generated.

Yes, Qwen3.6-35B-A3B accepts image input alongside text.

Qwen3.6-35B-A3B was built by Alibaba Cloud.

Yes, it accepts image and text input and produces text output, supporting vision tasks.

Yes, reasoning is listed as one of its features and capabilities.

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

Yes, web search is included among its supported features and capabilities.

Start building with Qwen3.6-35B-A3B

Get API Key
1000+ models, one API.