← Back to blog
Technical guide · Qwen

Qwen4 35B-A3B API: pricing, speed, limits and quickstart

If you want to call Qwen4 35B-A3B without running it yourself, this guide covers where the open-weight model released in December 2026 is served, per-token prices, measured speed, limits, API keys and code. Vora Compute serves Qwen4 35B-A3B on GPUs in the European Union behind an OpenAI-compatible API, on a flat monthly rate per person instead of per token. Checked on 4 December 2026.

15 free messages in Chat (no card) · €9.90/month (or €99/year) first-year launch offer through 31 December (excl. VAT).

Compare your token bill

Qwen4 35B-A3B at a glance

Below are the core specifications for qwen4-35b-a3b when called through Inference on Vora.

Qwen4 35B-A3B at a glance
Qwen4 35B-A3B on Vora
Made byQwen (Alibaba)
LicenceApache-2.0 (open-weight)
Parameters35B, 3B activated per token
Context window1,000,000 tokens (prompt, reasoning and answer together)
InputText and images; up to 8 images, 10 MiB per request (base64 JPEG, PNG or WebP)
Output per request8,192 tokens by default, 32,768 at most
Reasoningreasoning_effort: none, low, medium (default) or high
PrecisionFP8
Where it runsGPUs in the European Union
APIsChat Completions, Anthropic Messages and stateless OpenAI Responses API; tool calling, JSON mode and streaming

Why Qwen4 35B-A3B works well for agentic coding

Qwen4 35B-A3B is a multimodal Mixture-of-Experts (MoE) model released by Alibaba's Qwen team under the Apache-2.0 license (35B parameters with 3B activated per token across 256 routed experts, plus 20B n-gram embeddings and a 2B multi-token prediction head). Its 40-layer decoder interleaves Gated DeltaNet linear-attention blocks with Qwen Sparse Attention layers (10 × (3 × (Gated DeltaNet → MoE) → 1 × (Qwen Sparse Attention → MoE))), shrinking KV-cache memory across long sequences while keeping multi-file code reasoning fast.

On software engineering, repository work and agentic benchmarks, the official Qwen4-35B-A3B model card on Hugging Face reports, among others, the following results:

Qwen4 35B-A3B coding, agentic and reasoning benchmark scores reported on Hugging Face
BenchmarkWhat it measuresReported score
DeepSWE v1.1End-to-end software engineering tasks61.8
NL2RepoRepository-level software development51.7
APEX-Agents v1.1Long-horizon professional agent tasks59.0
AutomationBench-AAMulti-step task automation57.9
GPQAGraduate-level scientific and technical reasoning86.9

With these numbers, a fast sparse-MoE open-weight model handles daily work: refactors, test generation, shell debugging, code review and reading large API specs, especially when paired with an agent harness that executes tools and verifies outputs against your test suite.

Speed and uptime. We measure speed, time to first token, and uptime continuously and publish them on the status page.

Understanding the 1M native context window in practice

Qwen4 35B-A3B is served with a native context window of 1,000,000 tokens without synthetic RoPE scaling, preserving attention precision across multi-file diffs, tool outputs and long specifications.

On Inference:

  • The 1,000,000-token ceiling covers the exact rendered input (system prompt, tool schemas, conversation history, attached files and images) plus reserved output tokens.
  • Default output is 8,192 tokens, adjustable up to 32,768 tokens per request (max_tokens or max_completion_tokens).
  • The complete JSON request body must stay within 15 MiB. Oversized requests are rejected outright rather than silently truncated.
  • Prefix caching runs in volatile memory, isolated strictly per account (accounts never share cache entries, and cache contents are never written to disk).

In practice, keep routine edits compact so prefill stays fast, and use the full 1M window when a task genuinely needs it: auditing a module graph, reviewing long build or incident logs, or loading an entire protocol specification in one pass.

Large prompts still need prefill time before the first token arrives. Vora allows up to 30 minutes before the first token and 60 minutes total per request, so configure your HTTP client or agent timeout to at least 61 minutes (3,660 s) when running near the full context window.

Local hardware vs. a private European API

Many developers first evaluate Qwen4 35B-A3B locally via Ollama or llama.cpp in 4-bit GGUF (~57B total parameters on disk once its 20B n-gram embedding table is included). Local inference works well for offline single-file coding, but hits practical walls quickly in agentic workflows: the context you can use depends on your local GPU memory, and sharing that setup cleanly across a team adds operational overhead.

Comparison of local 4-bit GGUF, US per-token APIs and Vora Compute in Europe
FactorLocal workstation (4-bit GGUF)US per-token cloud APIsVora Compute (Europe)
QuantizationTypically 4-bit (Q4_K_M)Varies by providerFP8
Usable context windowBounded by local VRAMVaries1,000,000 tokens (native)
Data locationYour machineOften US or multi-region routingEuropean Union
Prompt retentionNone (local)Depends on tier and opt-outZero API retention by default
Pricing modelUpfront GPU + power + maintenancePay per token (spikes in agent loops)€9.90/month or €99/year (€8.25/month) first year through 31 December 2026 (then €29/month or €288/year, excl. VAT); up to 4 parallel requests

On Vora's API, prompts, responses, images, reasoning traces and tool calls pass through memory to the model and back. Engine content logs, persistent prompt caches and image-processing caches are disabled. Full details are documented in Vora Privacy.

Speed on Vora, and up to 4 requests at a time

One main agent and up to three subagents can generate at the same time (4 requests admitted per account, shared across models, API keys and Chat, with at most 1 request above 262,144 tokens). A fifth request gets 429 with a Retry-After header.

Measurements were made with requests of 300 output tokens, reasoning_effort set to none, streaming, on one account. Check ongoing figures on the status page.

Speed on Vora, and up to 4 requests at a time
Streams at the same timeRequests measuredTokens per second, each streamTime to first token
17195.40.78 s
24164.81.12 s
48132.81.18 s

Measured by us on 4 December 2026, 12:44 to 12:46 CET, on GPUs shared with customers.

Qwen API pricing and keys: per token or flat

A Qwen API key comes from the provider you call: Alibaba Cloud Model Studio for Qwen's own API, Vercel AI Gateway for Vercel, or the Vora console on a paid Vora plan. Alibaba Cloud Model Studio documents the model id qwen4-35b-a3b and bills per token by region on its pricing page; Vercel AI Gateway lists alibaba/qwen4-35b-a3b with Alibaba Cloud as the provider.

Per-token APIs charge for every token an agent reads and writes. On Vora's flat monthly rate per person, tokens are not counted, with no daily or monthly token cap on paid plans and no requests-per-minute cap.

Qwen API pricing and keys: per token or flat
ProviderRegion and scopeInput / output per 1M tokens
Alibaba Cloud Model StudioSingapore (International)$0.06 / $0.36
Alibaba Cloud Model StudioGermany (Frankfurt), United States (Virginia), Japan (Tokyo), Hong Kong (China): deployment scope Global$0.057 / $0.339
Alibaba Cloud Model StudioChina (Beijing)$0.057 / $0.339
Vercel AI GatewayServes Alibaba Cloud's model$0.06 / $0.36
OllamaLocal, on your own machine (qwen4:35b-a3b-q4_K_M, 37 GB download)Not billed per token

Prices as published on 4 December 2026, in US dollars per 1 million tokens.

€29/month or €288/year (€24/month) per person, excl. VAT, or €9.90/month (and €99/year, €8.25/month) for the first year if you subscribe through 31 December 2026. That covers Chat and the API without counting tokens, with up to 4 parallel requests. Cancel anytime.

It fits when

  • Agent loops read and write heavily and you want a fixed monthly bill.
  • You need EU GPUs and an API that stores no prompts, responses or images.
  • You want one account for both API calls and browser sessions in Chat.

What it includes

  • Qwen4 35B-A3B with a 1,000,000-token native context (existing qwen3.8-27b setups route to it automatically).
  • Up to 4 parallel requests per person, without counting tokens.
  • Chat and the API on the same subscription.
  • Teams: multiple seats on a single company VAT invoice with volume discounts (and adjustable concurrency if needed) via hello@voracompute.com.

Call it from code

Export a key from the Vora console as VORA_API_KEY and call https://api.voracompute.com/v1 with curl or the OpenAI Python SDK.

Terminal
curl --fail-with-body https://api.voracompute.com/v1/chat/completions \
  -H "Authorization: Bearer $VORA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen4-35b-a3b",
    "messages": [
      {
        "role": "user",
        "content": "Say hello in one sentence."
      }
    ],
    "reasoning_effort": "none",
    "max_tokens": 128
  }'
Python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.voracompute.com/v1",
    api_key=os.environ["VORA_API_KEY"],
)
response = client.chat.completions.create(
    model="qwen4-35b-a3b",
    messages=[{"role": "user", "content": "Say hello in one sentence."}],
    reasoning_effort="none",
    max_tokens=128,
)
print(response.choices[0].message.content)

Next, see how to connect your coding agent to Inference.

Coming from Qwen3.8 27B

Requests using qwen3.8-27b already route automatically to qwen4-35b-a3b on Vora Compute, so existing setups keep working with zero code changes. Setting qwen4-35b-a3b explicitly in your agent config unlocks the full 1,000,000-token context limit, with the same endpoint, API keys and account limits. See Qwen4 35B-A3B vs Qwen3.8 27B.

Frequently asked questions

Does Qwen4 35B-A3B really support a full 1M-token context?
Yes. The Qwen4 35B-A3B model card and its config file list a native context length of 1,048,576 tokens, without YaRN or RoPE scaling. Vora serves 1,000,000 tokens.
Does Qwen4 35B-A3B support tool calling in coding agents?
Yes. Tool calling, JSON mode and streaming work on Vora, which offers Chat Completions, Anthropic Messages and the stateless OpenAI Responses API. On 4 December 2026, eight coding agents ran three tasks, three times each, with Qwen4 35B-A3B through Vora's API, and six of them passed all nine runs. See how to connect your coding agent.
How do I switch reasoning off, and which reasoning_effort values exist?
Vora accepts four values for reasoning_effort: none, low, medium and high. Requests use medium by default when the parameter is omitted. Passing reasoning_effort set to none, as in the code examples above, switches reasoning off for that request.
Is Qwen4 35B-A3B better than Qwen3.8 27B?
Yes, on published coding and agent benchmarks. Artificial Analysis (4 December 2026, Xhigh, through Alibaba Cloud, not Vora): 25 against 20 on Intelligence Index, 21.2 against 5.6 on Terminal-Bench 4.1. Qwen3.8 27B leads GPQA (89.2 against 86.9, Qwen4 model card chart). Qwen4 35B-A3B vs Qwen3.8 27B has our full comparison, agent test, and speed.
What is the difference between Qwen4 35B-A3B and Qwen4-Max?
They are different models. Qwen4 35B-A3B is an open-weight model made by Qwen (Alibaba) and released under the Apache-2.0 licence, so providers such as Vora and local runtimes such as Ollama can host its weights. Qwen4-Max is a separate, closed model; it is not open-weight and is not the model described on this page.
Do I need an API key to try Qwen4 35B-A3B on Vora?
Not to try the model in the browser. New verified accounts receive a one-time free trial of 15 messages in Chat, with no card required. To call Inference over the API, you need a paid plan; once active, you can create API keys in the Vora console.

Related guides

Run Qwen4 35B-A3B on a flat monthly rate.

Flat rate on European GPUs with zero API retention: €9.90/month or €99/year (€8.25/month) for the first year through 31 December 2026 (then €29/month or €288/year, excl. VAT). Up to 4 parallel requests.

WhatsApp