With Qwen4-35B-A3B, Alibaba has released an open language model whose weights are freely available and which can therefore be run on your own hardware. The model processes images as well as text and, according to the provider, uses the architecture of its in-house flagship Qwen4-Max. It is designed particularly for longer agent tasks, i.e. workflows in which a model plans several steps in succession, calls tools and further processes intermediate results.

35 billion parameters, of which 3 are active

The model's name reveals the key technical trick: of a total of 35 billion parameters, only around 3 billion are active per computational step. Parameters are a model's trained weights; with this design, only a portion of them is used for each request, while the rest remains unused.

In practice, this means: the model needs memory for the full parameter count, but the actual computational load per token is significantly lower than for an equally large model that activates all weights at once. For operation on your own infrastructure, this is a significant difference, because throughput and response times depend heavily on the active computational load.

Putting the performance data into context

According to the analysis by Artificial Analysis, a provider of comparative model benchmarks, Qwen4-35B-A3B is the most intelligent model below 150 billion parameters. On cost, the same analysis states 0.55 dollars per task and thus around one sixth of what is incurred for Qwen3.8-27B.

Such comparative figures should be read with the usual caution. Benchmarks measure standardised tasks, not a company's specific use case. A model that ranks at the top of the leaderboard can still perform worse in domain-specific document processing or in a tightly managed developer workflow than a smaller, suitably tuned system. The figures serve as an indication of where testing is worthwhile – not as a basis for a decision on their own.

Operation via Ollama, vLLM and SGLang

The weights can be run locally via three common runtime environments. Ollama is aimed at straightforward installations, for example on workstations or individual servers, and is well suited to initial trials. vLLM and SGLang are designed for server operation with many parallel requests and offer more control options for utilisation and memory management.

This three-way split is relevant for project planning: a prototype can be set up with little effort, without the later production operation having to switch to a different model family. The path from test setup to a robust installation therefore leads through a change of runtime environment, not through a change of model.

Why local models are interesting for agents

With cloud APIs, these calls add up to costs that are difficult to calculate in advance because they depend on the length of the workflow. A locally operated model, by contrast, mainly incurs fixed costs for hardware and operation. Anyone using agents regularly and at larger scale thus gains a more predictable cost structure.

There is also the data protection aspect. Agents in software development typically see source code, internal documentation and sometimes data close to production. If this content does not leave your own network, a considerable part of the contractual and organisational coordination required when using external services is eliminated. That does not replace a data protection review, but it noticeably shortens it.

What remains to be clarified in the assessment

Open weights do not automatically solve all questions. Before a decision, at least the following points should be clarified:

  • Hardware: What graphics memory is available and is it sufficient for the model's full parameter count?
  • Licence: Under what conditions may the weights be used commercially?
  • Operational effort: Who takes care of updates, monitoring and failure safety of the inference servers?
  • Quality in the use case: How does the model perform on your own real tasks compared with the service used previously?

The last point in particular deserves attention. A robust comparison requires a collection of typical tasks from your own operations and a repeatable evaluation. Without this basis, every model decision remains a gut feeling.

Context for web and software projects

For projects in which code and customer data should not leave the company network, the balance shifts further towards local models: the technical hurdle is lower, and the quality gap to cloud services is getting smaller. A step-by-step approach makes sense – first a clearly defined use case with measurable criteria, then the decision on production operation. Anyone who builds their agent workflows so that the model remains interchangeable keeps both paths open and avoids dependencies on a single provider.

Sources