Alibaba Cloud logo

Qwen4-35B-A3B

An open Qwen4 mixture-of-experts model on hybrid linear and sparse attention, for agents and coding.

Params
35B, 3B active
Context
1M tokens
Max output
131K
Released
License
Apache 2.0

Hosted API price

List price via Alibaba Cloud · per 1M tokens

USD
Input
$0.06 /1M
Output
$0.36 /1M
Cheapest
$0.057 / $0.34 via EmpirioLabs AI
Hosted by
EmpirioLabs AI Alibaba Cloud 2 providers

Hosted API pricing

How we price

Order

Providers are listed cheapest input rate first, then by output rate, a tie going to the creator's own listing. A provider that lists the model without a published rate sits at the end.

Prices

Base-tier, on-demand rates in USD per 1M tokens, converted at ECB reference rates where a provider publishes in another currency. Cached-input and batch rates show only where a provider publishes them. "Cheapest" marks the one provider with the lowest input and output pair; a tie wears no badge.

Cost

Input rate times the input tokens plus output rate times the output tokens, at the monthly volume set above the table. Cached-input, batch, long-context and reasoning-token billing are not modelled.

Transparency and funding

  • Affiliates: Affiliate links are marked. We may earn a commission if you click them, but commissions never affect the order.

Cheapest input first. Set a monthly volume to compare costs.

Every provider serving Qwen4-35B-A3B, with its price per 1M input and output tokens and what the volume above would cost
Provider Input /1M Output /1M Cached input /1M Cost at 10M in + 2M out Link
EmpirioLabs AI logo EmpirioLabs AI Cheapest $0.057 $0.34 $0.0028 $1.25 Visit website
Alibaba Cloud logo Alibaba Cloud Creator $0.06 $0.36 $0.003 $1.32 Visit website

Heads up: Base-tier, on-demand rates per 1M tokens; cached, batch and long-context tiers excluded. A provider may serve a shorter context or a quantized build than the creator's release. Verify before provisioning. More on how we price.

Estimated cost to self-host

Qwen4-35B-A3B needs about 22 GB of GPU memory at 4-bit with 32K context. The cheapest rental that fits is 2× RTX 4060 Ti at about $187 a month.

That costs the same as roughly 2B tokens a month on Alibaba Cloud's API. Self-hosting is more expensive below that volume.

Single node ≤ 8
What it costs to self-host Qwen4-35B-A3B at each precision: the memory it needs, the cheapest rental that holds it, that rental's month and the API volume it pays off at
Precision Memory Cheapest fit (32K context) Cost /mo Break-even vs API
4-bit INT4 / FP4 22 GB Nvidia logo 2× RTX 4060 Ti $187 2B tokens /mo
8-bit FP8 / INT8 38 GB Nvidia logo 4× RTX 3060 $259 2B tokens /mo
16-bit FP16 / BF16 73 GB Nvidia logo 8× RTX 3060 $518 5B tokens /mo

Estimates based on median on-demand rates for Nvidia GPUs. Memory is weights plus KV cache for one request, using FP8 KV cache where supported and FP16/BF16 otherwise. Break-even assumes a 5:1 input-to-output ratio. No guarantee of runtime support, usable performance, or that a matching quantized build exists. Pricing methodology.

Similarly priced models

The models nearest Qwen4-35B-A3B by blended rate, each at its own cheapest provider.

Models priced nearest Qwen4-35B-A3B per 1M tokens, each at its cheapest provider
Model Blended /1M Input /1M Output /1M Context Cutoff vs Qwen4-35B-A3B
Google Cloud Gemma 4 26B A4B Google Cloud $0.09 $0.05 $0.29 256K Jan 2025 −13%
Google Cloud Gemma 3 27B Instruct Google Cloud $0.093 $0.08 $0.16 128K Aug 2024 −10%
Meta Llama 3.2 3B Meta $0.10 $0.051 $0.34 128K Dec 2023 −5%
Alibaba Cloud Qwen3-30B-A3B FP8 Alibaba Cloud $0.10 $0.051 $0.34 33K −5%
Mistral Ministral 3 3B Mistral $0.10 $0.10 $0.10 256K −4%
Alibaba Cloud Qwen4-35B-A3B This model Alibaba Cloud $0.10 $0.057 $0.34 1M
OpenAI GPT-5 Nano OpenAI $0.11 $0.05 $0.40 400K May 2024 +4%
DeepSeek DeepSeek V4.1 Flash DeepSeek $0.11 $0.035 $0.50 1M +8%
Z.AI GLM-5.3-Flash Z.AI $0.11 $0.045 $0.45 1M +8%
Alibaba Cloud Qwen3-32B FP8 Alibaba Cloud $0.11 $0.08 $0.28 33K +9%
Alibaba Cloud Qwen3.5-35B-A3B Alibaba Cloud $0.12 $0.057 $0.46 262K +19%

USD per 1M tokens at each model's cheapest listed provider. Blended is the cost of 10M input plus 2M output tokens, spread over the 12M.

Capabilities

What Qwen4-35B-A3B accepts and can do, as published by Alibaba Cloud.

  • Text Accepts and generates natural-language text.
  • Image Accepts images as input alongside text.
  • Video Accepts video as input.
  • Reasoning Thinks before it answers, always on or as a switchable mode.
  • Function calling Connect to external tools, APIs, and systems.
  • Structured output Return responses in structured formats like JSON.
  • Web search Search the web for up-to-date information.

Common questions

What is Qwen4-35B-A3B good for?

Long-running agent work, coding and text, image and video tasks, with thinking on by default and a reasoning effort setting. Apache 2.0 weights, on a single consumer GPU.

When is Qwen4-35B-A3B not a good fit?

Audio input or image output. Web search is built into the hosted version on Alibaba Cloud, not the open weights, though your own tool loop can add one.

What is the cheapest way to run Qwen4-35B-A3B?

Hosted, unless you push serious volume. Alibaba Cloud charges $0.06 in / $0.36 out per 1M tokens. The cheapest rental that fits is 2x RTX 4060 Ti at $187 a month, which costs the same as about 2B tokens a month on that API.

How does Qwen4-35B-A3B compare with Qwen3.6-35B-A3B?

Alibaba says Qwen4-35B-A3B moves to the Qwen4 architecture, hybrid linear and sparse attention with n-gram embeddings, which cuts the cache footprint, and thinks more concisely, with clearer effort levels and stronger long-horizon agent work. Same text, image and video input. Qwen4-35B-A3B lists at 84% less per 1M input tokens and 84% less per 1M output tokens than Qwen3.6-35B-A3B. It came out 8 months later and has a larger context (1M against 262K tokens) and a larger max output (131K against 66K tokens).

Can I self-host Qwen4-35B-A3B?

Yes. The weights are Apache 2.0 licensed. At 4-bit it needs about 22 GB of GPU memory, which starts at roughly $187 a month on the cheapest rental that fits.

More from Alibaba Cloud

  • Qwen3-30B-A3B FP8 Open weights 33K context
    From $0.051 / $0.34 /1M in / out at the cheapest provider
  • Qwen3-32B FP8 Open weights 33K context
    From $0.08 / $0.28 /1M in / out at the cheapest provider
  • Qwen3.5-35B-A3B Open weights 262K context
    From $0.057 / $0.46 /1M in / out at the cheapest provider
  • Qwen3.6-35B-A3B Open weights 262K context
    From $0.07 / $0.42 /1M in / out at the cheapest provider
  • Qwen3.5-Flash 1M context
    From $0.09 / $0.37 /1M in / out at the cheapest provider
  • Qwen3.8-Flash 1M context
    From $0.094 / $0.37 /1M in / out at the cheapest provider
  • Qwen3-235B-A22B Instruct (2507) Open weights 262K context
    From $0.09 / $0.55 /1M in / out at the cheapest provider
  • Qwen3.5-27B Open weights 262K context
    From $0.086 / $0.69 /1M in / out at the cheapest provider