Back to Blog
    AI & AutomationDec 5, 2026

    Qwen4-35B-A3B: Alibaba's Open-Weight AI You Can Run Yourself

    Amir

    Amir Farid

    7 min read

    Qwen4-35B-A3B: Alibaba's Open-Weight AI You Can Run Yourself

    Qwen4-35B-A3B is Alibaba's first open-weight model in the Qwen4 family, released on 4 December 2026 under the Apache 2.0 licence — so you can download the weights and run it on your own hardware, including for commercial use. It is a mixture-of-experts model with around 35 billion main parameters and only about 3.8 billion active per token, a native 1-million-token context window, and native multimodal input covering text, image and video. In short: a capable model you can self-host, with no per-token bill.

    What Qwen4-35B-A3B actually is

    Qwen4-35B-A3B sits in the middle of the model landscape: a mid-size open-weight model built for serious work — coding, long documents and multi-step agent tasks.

    The numbers that matter

    The model has around 35 billion main parameters, with roughly 3.8 billion active per token (some sources round that to 3 billion). It uses 256 routed experts and hybrid linear plus sparse attention, which helps keep long contexts affordable. Its native context window is 1,048,576 tokens — a full million — enough to hold a large contract pack, a whole codebase module or months of support tickets in one prompt. If your business runs AI agents that need to keep a lot of context in mind, that window is the most important number in this release.

    What "open-weight" really means

    Open-weight means the weights are downloadable and the Apache 2.0 licence permits commercial use: run it on your own servers, fine-tune it and build products on it without paying per token. That is a different deal from Qwen4-Max, announced on 16 November 2026 as Alibaba's proprietary flagship — an API-only model you cannot download. Businesses weighing AI agents for small business automation should start here: is it good enough and cheap enough for your workload?

    The 1M-token context window — and why it matters

    Qwen4-35B-A3B: Alibaba's Open-Weight AI You Can Run Yourself

    A million-token window changes what a model can do in one pass. Instead of chopping documents into chunks and hoping retrieval finds the right ones, you can hand the model the whole file.

    Long-context work it suits

    • Contract review: load a full agreement pack and ask for conflicting clauses, missing terms or renewal dates.
    • Codebase work: give the model a whole module and ask for a refactor, a bug hunt or a migration plan.
    • Support work: feed in months of tickets or a full policy manual and let the agent answer from the complete record.
    • Due diligence: pass in a bundle of reports and ask for a summary that reconciles figures across them.

    Long context pairs naturally with the retrieval-augmented generation approach in our RAG chatbot guide.

    Where long context still needs care

    A big window is not a magic fix. Models can still lose track of details buried in very long inputs, and a million-token prompt costs real compute. Use long context deliberately and keep retrieval for simple lookups — our guide to building an AI customer support agent covers the same trade-off.

    What it can do: benchmarks, honestly presented

    Treat the numbers below as Qwen's claims, not independently verified facts. The independent data point is the Artificial Analysis Intelligence Index v5.0.2, where Qwen4-35B-A3B scores 25 at maximum reasoning effort — a useful anchor, but no single score tells the whole story.

    Where Qwen says it wins — and where it loses

    Against Qwen3.8-Flash-Next, Qwen reports wins on three benchmarks: DeepSWE 61.8 versus 58.7, NL2Repo 51.7 versus 48.1, and HealthBench 47.4 versus 34.8. The HealthBench jump is the largest, which is interesting for clinics exploring AI chatbots for clinics — though a benchmark score is not clinical evidence. Qwen also reports losses on FrontierCode and Terminal Bench, so pilot it on your own tasks.

    Early community reports — anecdotal, so labelled as such — mention some Chinese characters appearing in English outputs, and suggest the release felt rushed ahead of full tuning. Test for that in a pilot if your outputs are customer-facing. For context, see our coverage of Mistral Large 4, Tencent's HY4 and Amazon Ergo.

    Running it yourself: hardware and serving

    Self-hosting a 35-billion-parameter model is no longer a datacentre-only exercise, but it is not free either. Serving support is strong — day one in transformers, llama.cpp, vLLM, SGLang and MLX.

    The footprint is bigger than "35B" suggests

    Alongside the roughly 35 billion main parameters sits a per-layer n-gram embedding (PLE) table of around 20.5 billion parameters, bringing the total to roughly 56 billion. A 4-bit quantised version needs roughly 21–25 GB — a single high-end GPU — while full-precision checkpoints need considerably more.

    Serving options on day one

    vLLM and SGLang suit production serving; llama.cpp suits single-machine deployment; MLX suits Apple Silicon; transformers suits experimentation. If you do not want to run it at all, hosted access is listed on OpenRouter at around $0.06 input and $0.36 output per 1 million tokens — listed pricing, so check before budgeting. See the Qwen4-35B-A3B weights on Hugging Face before downloading.

    Self-host vs API: which route for your business

    Running Qwen4-35B-A3B yourself versus calling a hosted API is a business decision. The model is the same either way; what changes is cost, data handling and responsibility.

    Self-host when data and volume favour it

    • Data must stay in-house: contracts, patient records or client data that cannot leave your servers.
    • Volume is high and steady: heavy daily usage where per-token bills would exceed the cost of a GPU.
    • You need custom behaviour: fine-tuning on your own data, or a model that behaves the same way every day.

    Use the API when simplicity wins

    • Usage is spiky or experimental: a pilot or workloads that run a few times a day.
    • You have no one to run infrastructure: a hosted API needs no GPU, no serving stack and no on-call rota.

    For most businesses, start with the API, measure real usage and quality, and move to self-hosting only when the numbers justify it. Our AI agent development cost guide for the UK and the custom software development cost guide cover how to budget this, and Coheser's services cover building AI systems either way.

    What this means for AI agents and long document work

    Qwen4-35B-A3B's most useful trait is the combination of a long context window and a downloadable licence: an agent on your own infrastructure, holding a large working file in mind, without sending data to a third party.

    Agents that keep the whole file in mind

    Most agent failures come from lost context — the agent forgets an instruction or works from a summary instead of the source. A 1M-token window gives the agent far more room to keep the source material, instructions and history together. Our AI agents service page sets out how Coheser approaches agent builds.

    A one-week pilot plan

    1. Day 1–2: pick one real workflow — contract review, ticket triage or code review — and gather 20 genuine examples.
    2. Day 3: run them through the hosted API first, the fastest way to measure quality.
    3. Day 4: check for the reported rough edges, especially stray non-English characters.
    4. Day 5: price both routes — a month of API tokens against the 4-bit model on one GPU.
    5. Day 6–7: decide. If quality and cost clear your bar, plan a self-hosted deployment; if not, keep the API.

    Teams in the Gulf: see our notes on hiring an AI company in Dubai.

    Frequently asked questions

    Is Qwen4-35B-A3B free to use commercially?

    Yes — the Apache 2.0 licence permits commercial use, including in products you sell. You still need your own hardware or hosting. The weights are on the Qwen4-35B-A3B model card on Hugging Face.

    How much hardware do I need to run it?

    A 4-bit quantised version needs roughly 21–25 GB, so a single high-end GPU can run it. The total footprint is around 56 billion parameters including the embedding table — budget for the whole model, not just the headline.

    Is it better than Qwen4-Max?

    They are different products. Qwen4-Max, announced on 16 November 2026, is Alibaba's proprietary flagship, available only through an API. Qwen4-35B-A3B is the downloadable model — the one for self-hosting.

    Should my business self-host it or use the API?

    Start with the API to measure quality and usage, then move to self-hosting if your volume is high, your data must stay in-house, or the per-token bill exceeds the cost of a GPU. See our AI agents for small business automation guide for the full decision.

    #Qwen4-35B-A3B#open-weight AI#AI agents#long-context AI