Select an effort
Use this exact first line of the system prompt, replacing 25 with 50, 75, or 100:
Reasoning Effort: 25 (range 1–100; higher values request more thorough reasoning)
Keep thinking enabled (enable_thinking=True). Any additional system instructions
follow this line on a new line. These values express learned reasoning preferences;
they are not hard token limits or percentages of a token budget. Values outside
the four trained settings are not validated for this release.
effort_presets.json contains all four complete instructions. The examples/
directory contains a chat request for each setting.
The evaluation environment used Transformers 5.20.2 and PyTorch 2.14.0.
Use a Transformers version with Gemma 4 support and enough memory for the full
BF16 model (approximately 52 GB of weight files, plus inference memory).
import torchfrom transformers import AutoModelForImageTextToText, AutoProcessor model_id = "krystofmitka/ThinkingBomb-gemma-4-26B-A4B"effort = 25 # supported: 25, 50, 75, 100assert effort in (25, 50, 75, 100) processor = AutoProcessor.from_pretrained(model_id)model = AutoModelForImageTextToText.from_pretrained( model_id, dtype=torch.bfloat16, device_map="auto")messages = [ {"role": "system", "content": ( f"Reasoning Effort: {effort} " "(range 1–100; higher values request more thorough reasoning)" )}, {"role": "user", "content": "Solve 3x + 7 = 28. Explain your answer."},]inputs = processor.apply_chat_template( messages, add_generation_prompt=True, enable_thinking=True, tokenize=True, return_dict=True, return_tensors="pt").to(model.device)with torch.inference_mode(): output = model.generate( **inputs, max_new_tokens=65536, do_sample=True, temperature=1.0, top_p=0.95, top_k=64 )generated = output[0, inputs["input_ids"].shape[-1]:]print(processor.tokenizer.decode(generated, skip_special_tokens=False))
The decoded response includes the thinking channel and final answer. The chosen
output limit above matches the evaluation protocol; applications can choose a
smaller limit, which may truncate reasoning or the final answer.
vLLM
Serve the model with a vLLM release that supports Gemma 4:
vllm serve krystofmitka/ThinkingBomb-gemma-4-26B-A4B --served-model-name effort-model --max-model-len 262144
Send the same system instruction in chat-completion requests, with
chat_template_kwargs={"enable_thinking": true}. Example request bodies for
all four settings are provided in examples/effort_25.json, effort_50.json,
effort_75.json, and effort_100.json. Backend requirements depend on the GPU;
the B300 evaluation used Triton attention and MoE backends.
Provenance and license
checkpoint_metadata.json records the checkpoint identity, original model
revision, and evaluation scope. weights_manifest.json records
the size and SHA-256 of every merged weight shard.
The original model is by Google DeepMind and is distributed under Apache 2.0.
The weights in this repository were modified by supervised warm-up and GRPO
fine-tuning. See LICENSE, NOTICE, and BASE_MODEL_CARD.md for the upstream
license and original model information. Upstream benchmark results in the
original model card describe the original model, not this fine-tune.
Benchmark evaluation — effort 25
107 of 312 effort-25 passes completed.

Base = original Gemma 4 26B-A4B-it (no effort instruction). Ours = ThinkingBomb at effort 25. Accuracy shows the mean across completed seeds; ± is the 95% interval half-width when at least two seeds are available. Thinking tokens are per answer and exclude the final answer.
Table with columns: Benchmark, Base accuracy (%), Effort 25 accuracy (%), Base thinking tokens, Effort 25 thinking tokens, Token reduction (%), Seeds (base · effort 25)| Benchmark | Base accuracy (%) | Effort 25 accuracy (%) | Base thinking tokens | Effort 25 thinking tokens | Token reduction (%) | Seeds (base · effort 25) |
|---|
| AIME 2026 | 88.10 ± 3.01 | 84.55 ± 1.35 | 15,813 | 7,460 | 52.8 | 7/64 · 33/64 |
| HMMT February 2026 | 70.20 ± 4.68 | 72.27 ± 1.96 | 25,650 | 10,585 | 58.7 | 6/64 · 33/64 |
| HMMT November 2025 | 83.33 ± 3.56 | 74.85 ± 1.98 | 17,883 | 7,810 | 56.3 | 7/64 · 33/64 |
| GPQA-Diamond | 80.59 ± 0.46 | 78.28 | 11,146 | 4,729 | 57.6 | 7/32 · 1/32 |
| RealWorldQA | 71.88 ± 0.70 | 72.29 | 2,086 | 1,251 | 40.0 | 7/16 · 1/16 |
| IFBench | 75.90 ± 1.11 | 76.00 | 6,515 | 4,569 | 29.9 | 7/16 · 1/16 |
| AA-LCR | 66.67 ± 5.17 | 63.00 | 5,598 | 3,713 | 33.7 | 3/8 · 1/8 |
| LongBench v2 | 60.23 ± 1.51 | 60.54 | 10,188 | 7,104 | 30.3 | 6/8 · 1/8 |
| LiveCodeBench v6 | 75.92 ± 1.51 | 74.29 | 12,944 | 7,970 | 38.4 | 7/32 · 1/32 |
| MMLU-Pro | 84.81 ± 0.20 | 84.51 | 4,923 | 2,982 | 39.4 | 4/4 · 1/4 |
| MMMLU | 84.94 ± 0.21 | 84.15 | 2,257 | 808 | 64.2 | 4/4 · 1/4 |