How Much To Run AI
Open weights

Clover 35B A3B: Diffusion, Local Setup and Memory Costs

Clover-35B-A3B-Preview is DiffuSpace’s open-weight text model derived from Qwen3.6-35B-A3B. It uses block diffusion to propose multiple tokens, with about 35B total parameters, 3B active per token and a 131,072-token prompt-plus-response limit. Start with the documented Transformers path or the official GGUF files and matching llama.cpp integration. Choose hardware for the complete model, context and runtime state.

Content reviewed:

BF16 checkpoint: About 69 GB; GGUF Q4_K_M: 23.00 GB / 21.42 GiB; GGUF Q4_0: 19.59 GB / 18.24 GiB. Add inference state, caches and compute buffers. 3B active parameters do not replace the full 35B weight pool.
Add inference state, caches and compute buffers.

Use this model

Official model repository

Local tools and guides

Where would you try Clover?

  • Compare code fixes and tool-driven tasks against a small model you already run.
  • Explore block diffusion and self-speculative decoding on one shared set of prompts.
  • Evaluate an Apache-2.0 text model locally with explicit memory and completion-time budgets.

How does Clover’s block diffusion work?

A conventional language model extends a response one token at a time. Clover begins a block with masked positions, resolves confident tokens in parallel, then adds the completed block to the preceding context. Its hybrid Gated DeltaNet and attention backbone incorporates information from both directions within the current block while preserving the earlier causal prefix.

The Hugging Face implementation defaults to blocks of 32 tokens and a confidence threshold of 0.95. The SGLang and llama.cpp integrations also support self-speculative decoding: Clover proposes a block and uses its own causal path to verify what to accept. That path does not need a separate draft model. Acceptance rules, block size and runtime kernels affect the amount of useful work done per step.

Clover is text-only. The publisher describes a future decision-model release separately; that announcement does not make this checkpoint a typed-decision endpoint. For fixed-choice probabilities, use an available decision model such as Clef.

How much memory does Clover need?

The BF16 quick start loads roughly 69 GB of weights on one CUDA GPU, with additional space needed for inference state. Approximately 3B active parameters describe per-token computation; the remaining experts still have to be stored. Longer prompts, larger blocks and concurrency add their own memory demands.

DiffuSpace now publishes three official GGUF quantizations. The smallest listed file is already larger than a 16GB GPU’s memory, so it cannot fit entirely in that VRAM before runtime overhead. A configuration that uses host RAM or offloading has a different capacity and speed profile from a fully GPU-resident run.

Official formatDownload sizePlanning implication
BF16 safetensorsAbout 69 GBAdd inference state above weights
GGUF Q8_035.26 GiB / about 37.86 GBLarger local quantization
GGUF Q4_K_M21.42 GiB / about 23.00 GBMixed precision; add runtime buffers
GGUF Q4_018.24 GiB / about 19.59 GBSmallest official GGUF download

What does the RTX 5070 Ti result establish?

The launch blog reports 101.8 generated tokens/s on MATH-500 using INT4 on an RTX 5070 Ti 16GB. It does not identify the complete quantization, offload and runtime configuration needed to reproduce that result. GitHub issue 5 asks those exact questions. Use the result as a publisher-reported experiment, rather than selecting a 16GB deployment from it.

The official GGUF card gives a concrete starting point for memory planning, but its quantizations are not a separate reproduction of the launch benchmark. Measure peak VRAM, host RAM and accepted output on the chosen file and runtime.

Start with Clover in Transformers

The project’s Python path uses PyTorch 2.10 or newer, Transformers 5.19.0 and a CUDA GPU with room for BF16 weights and state. Install PyTorch for your CUDA setup, then install the pinned Transformers version, accelerate and safetensors. The model loads custom repository code through trust_remote_code; inspect that code in an environment you control.

This shortened example caps generation at 512 new tokens for a first smoke test. Inspect whether the output answers the question before using a larger reasoning budget. Save the model revision, generation settings, peak memory and full elapsed time so later changes remain comparable.

Python: a bounded first Clover request
# pip install "transformers==5.19.0" accelerate safetensors
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "Diffuspace/Clover-35B-A3B-Preview"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id, trust_remote_code=True,
    dtype=torch.bfloat16, device_map="cuda:0",
).eval()
prompt = tokenizer.apply_chat_template(
    [{"role": "user", "content": "Explain block diffusion in three sentences."}],
    tokenize=False, add_generation_prompt=True, enable_thinking=True,
)
inputs = tokenizer(prompt, add_special_tokens=False, return_tensors="pt").to("cuda:0")
with torch.inference_mode():
    result = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(result[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Choose the runtime before downloading a quantization

As checked October 30, the linked SGLang and llama.cpp support pull requests remain open. Their integration code is available to test, but a generic installed release should not be assumed to contain it. The official GGUF card explicitly fetches llama.cpp pull request 31306 before building llama-speculative-simple.

Follow that card’s CUDA or CPU build and download one matching GGUF. Its sample uses draft-self with a raw, explicitly formatted chat prompt. The example’s prompt must fit the physical batch size; the runtime context and generated-token limit also need room for the thinking phase. Keep the acceptance flags with that example executable instead of transferring them to another frontend.

SGLang’s contributor describes separate threshold and exact acceptance modes and documents launch restrictions. Its open discussion includes a KV-slot reservation concern at full context. Begin with short prompts and bounded concurrency, then test the longer workload before exposing a service. The model’s 128K specification does not establish the capacity of an unfinished runtime integration.

Compare generation speed and completed tasks separately

DiffuSpace reports 680 tokens/s on a single GB300 using BF16 at batch size one on internal agent workloads, and 515 tokens/s on H200. These figures describe the publisher’s generation setup. They do not measure a whole coding task with tool execution, retries, tests and review.

The llama.cpp pull-request author reports about 32 tokens/s on H200 for that implementation. The difference illustrates why a model-level speed claim cannot be assigned to every runtime. Neither value establishes the speed of a particular GGUF, Mac or consumer-GPU deployment.

For a coding comparison, use a repository with a known failing test, allow the same tools and require the repaired test plus relevant regression tests to pass. Count unsuccessful attempts. For logic or structured extraction, use cases with unambiguous answers. Record time to the first useful response and time to an accepted result alongside decode speed.

What does running Clover cost?

Clover’s Apache-2.0 weights can be deployed without a per-token license charge. Hardware allocation, power, storage and engineering time determine the local or rented-machine bill. The publisher offers an online-access application, rather than a public token tariff in the sources linked here.

For an assumed $2-per-hour GPU instance allocated for 30 minutes, compute is $1. If 20 accepted tasks finish in that allocation, compute averages $0.05 per accepted task. That example includes every attempt within the half hour, but excludes storage and other service charges. A fast decode rate only lowers cost if it reduces billed time or increases useful completed work.

For an owned machine averaging 400W for the same half hour, electricity use is 0.2 kWh. At an assumed $0.20/kWh, electricity is $0.04, before hardware ownership and other costs. Use measured whole-machine power and elapsed time; neither the 3B active count nor a weight-file size provides those measurements.

Before you use it

  • Clover is text-only; select a separate model for image understanding or typed decision heads.
  • Match the exact runtime revision, quantization and context to the deployment. The launch’s 16GB result does not specify a reproducible offload configuration.

How to get started

Begin with the documented Python path or the official GGUF card’s matching integration. Measure memory and accepted-task time on your own prompts, then compare the complete machine bill with a hosted alternative.

Sources

Sources (7)

Calculators