Back to blog

Qwen3.8 2.4T A95B (batch): API cost or local inference?

Compare Qwen3.8 2.4T A95B (batch) API pricing with local quantized inference, including model size, context, memory, throughput, and license checks.

Updated Aug 29, 2026Yix TeamYix Team
Qwen3.8 2.4T A95B (batch): API cost or local inference?

Qwen3.8 2.4T A95B (batch) describes a costly but capable workload choice: send large asynchronous jobs to a hosted endpoint, or operate a heavily quantized version of Qwen's 2.4-trillion-parameter model yourself. The model is open weight, but its size makes "local" a serious infrastructure project rather than a laptop convenience.

Most teams should start with an API. Self-hosting Qwen3.8 2.4T A95B becomes reasonable when data placement, sustained volume, custom inference, or research access can justify hundreds of gigabytes of weights and a specialized serving stack.

What Qwen3.8 2.4T A95B actually is

The official model card lists 2.4 trillion total parameters and 95 billion activated parameters. It is a sparse mixture-of-experts model with 512 experts, of which 10 routed experts and one shared expert are active per token. The network has 92 layers and was trained with multi-token prediction.

Its native context length is 262,144 tokens and can be extended to 1,010,000 tokens. The open checkpoint is text-only and always uses thinking mode. Multimodal input and non-thinking operation are not supported in this release.

That last point prevents a common naming mistake. Qwen says the hosted Qwen3.8-Max service is based on this checkpoint but adds features such as visual input, non-thinking support, official tools, and a 1M context by default. A result from Qwen3.8-Max is not automatically evidence for the open Qwen3.8 2.4T A95B checkpoint, and vice versa.

What "batch" means in a buying decision

A batch workload usually means requests can wait in a queue and do not need an interactive response. Document processing, repository evaluation, offline classification, and nightly report generation fit that pattern. The application submits work, records an ID, and retrieves results later.

The label does not create a different model checkpoint. It may describe a provider's processing mode or a pricing catalog entry. Confirm the endpoint, completion window, cancellation rules, and discount with the provider you will actually use.

One current Qwen3.8 2.4T A95B (batch) price tracker lists $2 per million input tokens, $6 per million output tokens, and $0.25 per million cached input tokens, updated August 28, 2026. The standard OpenRouter listing also shows the model across several providers. Because pricing can change quickly, treat the tracker as a discovery source and confirm the selected provider's final rate before committing a budget.

A batch cost example

Suppose one offline code-analysis job sends 200,000 input tokens and returns 20,000 output tokens. At the tracked rates, fresh input costs $0.40 and output costs $0.12, for about $0.52 per job before platform fees or other charges.

Ten thousand jobs at that shape would cost roughly $5,200. If a repeated prefix qualifies for cached input, the total may fall. If the agent repeatedly resends changing repository context, it may not. Measure fresh and cached tokens separately.

Batch economics depend on acceptance as well as token price. If 20 percent of outputs need a second run, include that retry rate. Add storage, orchestration, validation, and reviewer time. A lower list price does not help if the workflow silently produces unusable answers.

Why local Qwen3.8 2.4T A95B is difficult

"95B active" describes computation per token. It does not mean only 95 billion parameters must be stored. The complete 2.4T checkpoint still has to live in accelerator memory, system memory, or storage and move through the serving system.

At two bytes per BF16 parameter, the weights alone are roughly 4.8 terabytes by arithmetic. Runtime overhead, KV cache, temporary buffers, concurrency, and a long context add more. Official serving guidance points to current versions of SGLang, vLLM, and TokenSpeed for production workloads.

Aggressive quantization changes the storage requirement, but it also changes behavior. Unsloth reports a dynamic 1-bit package around 397 GB. A LocalLLaMA experiment used that quantization with an RTX 5090, an RTX 5060 Ti, 128 GB of RAM, and 350 GB of swap.

The author measured about 0.803 output tokens per second in a controlled 32-token test with speculative decoding. Without that setting, the same short test measured about 0.775 tokens per second. This is an impressive proof that the model can run on mixed consumer hardware, but it is not interactive production throughput. The author explicitly warns that longer prompts, context length, output patterns, and expert routing can change the result.

API and local inference side by side

Hosted batch API and local quantized inference comparison

Question

Hosted batch API

Local quantized inference

First resultUsually hours or days of integrationHardware and serving work come first
Capital costLowHigh memory, storage, GPUs, and power
Unit costToken-based and easy to observeDepends on utilization and operations
Data locationGoverned by provider termsUnder your infrastructure controls
Model controlLimited to exposed settings

Quantization, kernels, routing, and serving

ScalingProvider handles capacityYour team handles capacity and failures
ReproducibilityEndpoint may change unless versionedYou can pin weights and runtime
Performance riskProvider-specific

Hardware, quantization, and tuning-specific

For an initial quality evaluation, the hosted route wins because it isolates model behavior from infrastructure work. A local test can answer a different question: whether a chosen quantization on your hardware is accurate and fast enough.

Build the evaluation before the cluster

Use a fixed set of representative jobs. Include long code context, retrieval over documents, tool use, and tasks that require the model to finish rather than merely suggest a plan. Score final acceptance, latency, token use, and human correction time.

For local inference, record the exact weight file, quantization, runtime commit, context length, batch size, concurrency, sampling settings, and hardware. Without those details, "Qwen3.8 ran at X tokens per second" is almost meaningless.

For a hosted batch test, record queue time separately from compute time. Check whether failed jobs are billed, whether a batch can be cancelled, how results are retained, and whether requests stay inside the required region. Run a small batch before uploading a full corpus.

The license needs a real review

Qwen3.8 2.4T A95B uses the Qwen3.8-Max License, not MIT or Apache 2.0. The license grants broad rights to use, modify, host, fine-tune, and create derivatives, subject to conditions.

Among those conditions, certain very large products must display the model name, and a Model-as-a-Service or AI Work Assistant business above the stated revenue threshold needs a separate commercial license from Qwen. Read the current text for the exact definitions and thresholds. This page is not legal advice.

Licensing matters differently for the two routes. A hosted provider may handle the weights while its own service terms govern your API use. A self-hosted deployment puts responsibility for the model license, derivatives, and downstream product behavior directly on your team.

Which route should you choose?

Choose the hosted Qwen3.8 2.4T A95B (batch) route when jobs can wait, demand is uneven, and you want to test capability without owning inference. It is also the practical choice when the workload is large but not large enough to keep expensive hardware busy.

Consider local inference when you have a hard data-location requirement, a steady workload, engineers who already operate large-model serving, or a research need that the hosted API cannot meet. Start with the smallest context and concurrency that serve the workload. Maximum context is a capacity option, not a default setting.

Where it fits with Yix

Qwen3.8 2.4T A95B is a text-generation model, not an image generator currently available on Yix. For image creation, browse the Yix image model directory. To turn a reference image into an editable generation prompt, use the free Image to Prompt Generator.

The decision for Qwen3.8 2.4T A95B (batch) comes down to utilization and control. Price a real batch, measure its acceptance rate, and compare that with the complete cost of storing, serving, monitoring, and reviewing a quantized local deployment.

Related Qwen and coding-model guides

Compare the flagship checkpoint with the smaller Qwen3.8 Flash and Flash-Next guide. For a coding-model route where data-use terms drive the decision, read the Meta: Muse Spark 1.2 Contributor guide.

Sources: official Qwen3.8 2.4T A95B model card, Qwen3.8-Max License, OpenRouter model listing, batch pricing tracker, and the community local-inference experiment.

Qwen is a trademark of its respective owner. Yix is not affiliated with Qwen, OpenRouter, CostPerPrompt, or Unsloth.