How Much To Run AI
Open weights

Qwen3.8-Flash-Next: Local Memory, Strata and Running Costs

Qwen3.8-Flash-Next brings a large mixture-of-experts model to local coding and visual tasks. Its 125B main model activates about 6B parameters per token, with another 51B in n-gram embeddings and 4B for multi-token prediction. On a PC, Strata can divide that workload between GPU memory, system RAM, the CPU and SSD lookup. The useful choice is which format completes your tasks within your memory and waiting-time budget.

Content reviewed:

Use this model

Official model repository

Local tools and guides

Where to try Flash-Next first

  • Run a coding agent on a reproducible issue, checking the patch and actual test output before accepting completion.
  • Read a screenshot or diagram with a runtime that loads the vision components, then verify the details against the image.
  • Use a PC with substantial system RAM and limited VRAM to test a supported Strata quantization.
  • Serve concurrent requests on larger GPUs when a matched runtime recipe and sufficient memory are available.

Qwen3.8-Flash-Next weights and active parameters

This guide covers the open-weight Qwen/Qwen3.8-Flash-Next checkpoint. It accepts text, images and video and produces text. Qwen describes it as a preview of the Qwen4 architecture. The separately named Qwen3.8-Flash hosted service adds production features, including a default one-million-token context and built-in tools. Choose the service or checkpoint by its exact identifier when comparing access and costs.

The main model combines Gated DeltaNet with Qwen Sparse Attention. Routed experts reduce per-token computation, while the n-gram table supplies lookup capacity. These components have different memory and transfer patterns. The small active-parameter count can help computation, but all the weights used by your chosen artifact still need a place to live.

PropertyFlash-Next checkpoint
Main model125B parameters; approximately 6B active per token
Additional components51B n-gram embeddings; 4B MTP
Inputs / outputText, images and video / text
Context262,144 native; extensible to 1,000,000 tokens
Official weight formatsBF16 and a separate FP8 checkpoint
LicenseQwen Community License 1.0

Flash-Next on a PC: where the weights go

Niko1221/Strata targets this model on Windows and Linux PCs. In its regular path, expert weights remain in system RAM. The GPU handles shared work and cached experts; the CPU computes experts that miss the GPU cache. An SSD-backed lookup table handles n-gram access. Your CPU and memory bandwidth therefore remain part of the inference machine even when the GPU is busy.

Strata’s setup recommends IQ2_XS for a 64GB PC. Its larger IQ3_S option fits with little else open; moving to 96GB gives more room for the operating system and applications. The Coder variant is a pruned model intended for smaller RAM budgets. Pick it for that tradeoff deliberately, because pruning changes which experts are available for general tasks.

Strata v0.1.39 adds multi-GPU placement options and concurrent decoding. Helper GPUs and layer splitting use different layouts; additional request slots consume expert-cache memory. Compare prompt processing, queue wait and completed tasks for your exact cards and artifact. Use the linked Strata guide to compare measured configurations before choosing a multi-GPU setup.

Reserve room for the actual conversation. Strata recommends up to 128K context for regular IQ3 on a 64GB machine. If you choose a longer context during setup, Strata keeps your choice. Close memory-heavy applications before comparing formats, then inspect RAM use, GPU headroom and the runtime monitor during a representative request. A successful load is the starting point for that trial.

PC Strata places hot experts on the GPU, remaining expert weights in RAM with CPU computation, and n-gram lookup on SSD
The regular PC Strata path. Other runtimes can place these components differently.

Start Flash-Next with PC Strata

Download the PC project from Niko1221/Strata. On Windows, run START-HERE.bat; on Linux, run ./setup.sh in the project directory. The installer checks the machine and offers supported formats. Use its documented default first, let the download finish and open the local interface at 127.0.0.1:8080. The Apple Silicon project with the same name has a separate implementation and setup.

After the model is ready, send this request from a second terminal. Strata accepts the client’s model name and serves the checkpoint configured in setup, so confirm that selection in the local interface. The example asks for a short explanation and disables thinking for this first connectivity check. Increase the output budget for a reasoning task after the client receives an ordinary response.

Next, connect your coding client to http://127.0.0.1:8080/v1. Give it one repository issue and a fixed verification command. Confirm that tool calls execute, files change and tests run. Keep the server on loopback for a single-machine trial; the installation guide provides API-key configuration for access from another device.

A first request to an already running local Strata server
curl http://127.0.0.1:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.8-flash-next",
    "messages": [{"role": "user", "content": "List three checks for a bug fix that restores cancelled-order inventory."}],
    "max_tokens": 1024,
    "chat_template_kwargs": {"enable_thinking": false}
  }'

Flash-Next community speeds and task quality

EmPips reports roughly 45–70 generated tokens/s with IQ3_XXS, DDR4 RAM and an RX 7900 XTX, compared with about 22.5 tokens/s from their tuned llama.cpp setup. Their follow-up describes working around 60K context and prefill just under 800 tokens/s. MTP affected the coding speed. That gives a useful configuration to investigate when an existing large-model setup feels slow.

In the same thread, DragonfruitIll660 reports around 20 tokens/s with IQ3_S, 16GB VRAM and 64GB DDR4. The two reports use different quantizations and incompletely specified machines. EmPips also describes hitching when the GPU was completely full and recommends leaving headroom. Start a comparison by recording the artifact and memory use before treating RAM generation alone as the explanation.

Quality reports differ too. HopefulConfidence0 preferred Qwen3.8-27B Q8 on a file-creation task: their IQ3_XXS Flash-Next run claimed to have created files, but the tool log contained no creation. Other contributors preferred their Flash-Next setup. For your trial, inspect the actual file and test result, then count the extra turns needed to finish. Changing quantization, runtime and client together makes the cause of a failure harder to isolate.

Serving Flash-Next on larger GPUs

For a multi-user server, use a deployment recipe matched to the checkpoint and accelerator. The vLLM recipe uses the dedicated vllm/vllm-openai:qwen38-flash-next image. Its FP8 examples include four GB300 GPUs and eight H200 GPUs. The H200 example uses tensor plus expert parallelism because plain tensor parallelism across eight GPUs conflicts with the checkpoint’s quantization block layout.

The same recipe documents host-RAM offload of n-gram embeddings on supported NVIDIA builds. This changes memory placement for that component. Plan host memory and transfers alongside GPU capacity, then measure aggregate throughput at the request concurrency you expect. A desktop’s single-stream tokens/s and a server’s combined output rate answer different cost questions.

Tool-call and reasoning parsers are part of the serving configuration. Retain the recipe’s model-specific settings when attaching an OpenAI-compatible client. Test a plain response, a function call and an image question separately. Text generation can work while the selected client or text-only configuration still lacks a working visual or tool path.

Flash-Next context, thinking and waiting time

The native checkpoint limit is 262,144 tokens. Extending it to one million requires the runtime’s documented long-context configuration and more working memory. For a PC agent, start with the conversation your issue needs. Keep a known-answer retrieval question in the test as you increase history, and record the actual input length alongside the configured maximum.

Flash-Next thinks by default. Its official starting sampling settings are temperature 1.0, top_p 0.95 and top_k 20 in thinking mode; non-thinking mode uses temperature 0.7 and top_p 0.8. Framework support varies. Use the controls exposed by your server, and allow enough generated tokens for both reasoning and the final response when thinking is enabled.

A long prompt can leave you waiting even when generation is fast. Measure the first request with a fresh prefix, then a follow-up that reuses it. Save time to first token, generated tokens/s and total elapsed time. For repeated agent calls, also record whether the server reused the prefix; otherwise a promising decode number can hide repeated document-reading work.

Estimate Flash-Next costs and compare 27B

Use the calculator’s Flash-Next selection to compare a conventional local or cloud deployment at its available precisions. Its 180B planning figure includes the main model, n-gram embeddings and MTP. The calculator estimates full-resident capacity; Strata’s mixed RAM/GPU placement and IQ formats require a separate measured configuration. Use the Strata guide to size that machine, then enter its wall power and ownership costs for your budget.

Electricity is a useful first calculation. At an illustrative 400W measured at the wall and $0.15/kWh, two hours of use costs $0.12. Thirty such days cost $3.60 in electricity. Add hardware depreciation, installation time and maintenance. An already-owned PC and a machine bought for this model have different monthly costs even at the same power draw.

Try the same repository task with Flash-Next and 27B. Record the accepted patch, elapsed time, failed attempts and review minutes. A larger model becomes worthwhile when the task results justify its RAM, setup and waiting costs. For short jobs that already pass with 27B, a simpler all-GPU setup can be easier to maintain. Keep the full run history when deciding which model to make your daily default.

Flash-Next commercial deployment terms

Flash-Next uses Qwen Community License 1.0. Commercial Model as a Service and AI Work Assistant businesses require a separate Qwen license, including use by affiliates. The internal-use exception requires keeping the model, its outputs and capabilities unavailable to third parties. Products above 100 million monthly active users or US$20 million in monthly revenue must prominently display the model name. Read these terms before building a hosted coding assistant or inference service around the weights.

Before you use it

  • Image and video tasks need the vision components and a compatible input path in the chosen runtime.
  • Community speed figures depend on the format, memory placement, context and speculative decoding settings recorded with each run.

How to get started

Start with a supported format on your existing machine. Save one correct tool workflow and its memory, power and timing measurements before sizing a longer session or buying more hardware.

Sources

Sources (8)

Calculators

Using this calculator for this model

Estimate a text model’s ongoing cost by choosing where it runs and how many hours it is active each month. Usage levels are 120, 360 or 720 hours per month; choose the closest to your planned schedule.

For open weights, select the precision and deployment that match the artifact and runtime you plan to use. The hardware result is a capacity estimate; context length, runtime and model-specific components can change actual memory use.

How to fill in the calculator
Precision
Select the weight format you will actually run. GGUF Q4 is a broad capacity estimate for a 4-bit GGUF variant; exact file size depends on the quantization and included components.
Deployment
Local estimates use hardware ownership, electricity and operations; cloud estimates use hourly rental pricing. Compare the path you are considering.
Usage level
Choose 120, 360 or 720 active hours per month, based on your planned schedule. For bursty work, use the nearest level as a comparison.
Electricity rate
Use your billed price per kWh. This changes local electricity cost only.
Wall power
Leave blank to use the GPU TDP reference. For multiple GPUs or a full system, enter measured whole-machine watts.
Salary and FTE
Enter a monthly salary range and the share of one full-time role spent operating the service; use zero if you allocate no labor.
PUE and system cost
Keep defaults if unknown. PUE scales local electricity; the system cost multiplier scales upfront hardware cost.

Use the calculator for a deployment budget; enter your expected usage and measured wall power.