Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Implements the NOWAIT technique for efficient reasoning in R1-style LLMs. Use when optimizing inference of reasoning models (QwQ, DeepSeek-R1, Phi4-Reasoning, Qwen3, Kimi-VL, QvQ), reducing chain-of-thought token usage by 27-51% while preserving accuracy. Triggers on "optimize reasoning", "reduce thinking tokens", "efficient inference", "suppress reflection tokens", or when working with verbose CoT outputs.
.claude/skills/davila7-nowait-reasoning-optimizer/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -32% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 101% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 7% | 0% |
Implements the NOWAIT technique from the paper "Wait, We Don't Need to 'Wait'! Removing Thinking Tokens Improves Reasoning Efficiency" (Wang et al., 2025).
NOWAIT is a training-free inference-time intervention that suppresses self-reflection tokens (e.g., "Wait", "Hmm", "Alternatively") during generation, reducing chain-of-thought (CoT) trajectory length by 27-51% without compromising model utility.
| Model Series | Type | Token Reduction | |--------------|------|-----------------| | QwQ-32B | RL-based | 16-31% | | Phi4-Reasoning-Plus | RL-based | 23-28% | | Qwen3-32B | RL-based | 13-16% | | Kimi-VL-A3B | Multimodal | 40-60% | | QvQ-72B-Preview | Multimodal | 20-30% |
Important: NOWAIT works best with RL-based models. Distilled models (Qwen3-4B/8B/14B) show degraded performance when reflection tokens are suppressed.
pythonfrom scripts.nowait_processor import NOWAITLogitProcessor # Initialize processor for your model's tokenizer processor = NOWAITLogitProcessor(tokenizer) # Use during generation outputs = model.generate( inputs, logits_processor=[processor], max_new_tokens=32768 )
See references/keywords.md for the complete list. Core keywords:
wait, alternatively, hmm, but, however, check,
double-check, maybe, verify, again, oh, ahLogits (Before) Logits (After)
Wait 0.8 → Wait -inf
First 0.6 → First 0.6
Hmm 0.5 → Hmm -inf
Let 0.4 → Let 0.4| Model Type | NOWAIT Effect | Recommendation | |------------|---------------|----------------| | RL-based (QwQ, Phi4, Qwen3-32B) | Stable accuracy, significant token reduction | ✅ Recommended | | Distilled (Qwen3-4B/8B/14B) | Accuracy degradation on hard tasks | ⚠️ Use with caution |
Distilled models rely heavily on CoT structure from training data—removing reflection tokens disrupts their reasoning patterns.
pythonfrom transformers import AutoModelForCausalLM, AutoTokenizer from scripts.nowait_processor import NOWAITLogitProcessor model = AutoModelForCausalLM.from_pretrained("Qwen/QwQ-32B") tokenizer = AutoTokenizer.from_pretrained("Qwen/QwQ-32B") processor = NOWAITLogitProcessor(tokenizer) response = model.generate( tokenizer(prompt, return_tensors="pt").input_ids, logits_processor=[processor], max_new_tokens=32768, do_sample=True, temperature=0.7 )
pythonfrom vllm import LLM, SamplingParams from scripts.nowait_processor import get_nowait_bad_words_ids llm = LLM(model="Qwen/QwQ-32B") bad_words_ids = get_nowait_bad_words_ids(llm.get_tokenizer()) sampling_params = SamplingParams( max_tokens=32768, bad_words_ids=bad_words_ids )
| Task Type | Original Tokens | NOWAIT Tokens | Reduction | |-----------|-----------------|---------------|-----------| | Math (AIME) | 15,000 | 10,500 | 30% | | Visual QA (MMMU) | 2,900 | 1,450 | 50% | | Video QA (MMVU) | 1,700 | 1,250 | 27% |
references/keywords.mdscripts/nowait_processor.py| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-03 | fail→pass | 23,579 | 12,971 | -45% | 1 | 1 | 0% | 4,152 | 3,862 | -7% | 0 | 0 | — |
case-08 | pass→pass | 13,293 | 7,241 | -46% | 1 | 1 | 0% | 2,431 | 2,753 | +13% | 0 | 0 | — |
case-01 | fail→fail | 17,391 | 11,904 | -32% | 1 | 1 | 0% | 3,294 | 3,810 | +16% | 0 | 0 | — |
case-02 | fail→fail | 14,851 | 11,466 | -23% | 1 | 1 | 0% | 2,773 | 3,678 | +33% | 0 | 0 | — |
case-04 | pass→pass | 9,400 | 10,381 | +10% | 1 | 1 | 0% | 1,696 | 3,192 | +88% | 0 | 0 | — |
case-05 | pass→pass | 14,061 | 12,912 | -8% | 1 | 1 | 0% | 2,263 | 3,362 | +49% | 0 | 0 | — |
case-06 | pass→pass | 12,153 | 14,380 | +18% | 1 | 1 | 0% | 2,618 | 4,138 | +58% | 0 | 0 | — |
case-07 | pass→pass | 12,963 | 4,764 | -63% | 1 | 1 | 0% | 2,213 | 2,267 | +2% | 0 | 0 | — |
case-09 | pass→pass | 12,231 | 11,241 | -8% | 1 | 1 | 0% | 2,123 | 3,268 | +54% | 0 | 0 | — |
case-10 | fail→pass | 15,169 | 2,278 | -85% | 1 | 1 | 0% | 2,516 | 1,719 | -32% | 0 | 0 | — |
case-11 | pass→pass | 13,202 | 3,421 | -74% | 1 | 1 | 0% | 2,082 | 1,912 | -8% | 0 | 0 | — |
case-12 | fail→pass | 15,505 | 8,820 | -43% | 1 | 1 | 0% | 2,651 | 3,052 | +15% | 0 | 0 | — |
case-13 | fail→pass | 4,080 | 1,390 | -66% | 1 | 1 | 0% | 723 | 1,454 | +101% | 0 | 0 | — |
case-14 | fail→pass | 8,187 | 2,007 | -75% | 1 | 1 | 0% | 1,412 | 1,515 | +7% | 0 | 0 | — |
case-15 | pass→pass | 9,389 | 2,590 | -72% | 1 | 1 | 0% | 1,779 | 1,746 | -2% | 0 | 0 | — |
case-16 | fail→pass | 9,099 | 2,343 | -74% | 1 | 1 | 0% | 1,836 | 1,698 | -8% | 0 | 0 | — |
case-17 | fail→pass | 9,753 | 4,034 | -59% | 1 | 1 | 0% | 1,748 | 2,230 | +28% | 0 | 0 | — |
case-18 | fail→pass | 6,430 | 2,890 | -55% | 1 | 1 | 0% | 1,060 | 1,913 | +80% | 0 | 0 | — |
case-19 | pass→pass | 9,495 | 8,488 | -11% | 1 | 1 | 0% | 1,668 | 2,781 | +67% | 0 | 0 | — |
case-20 | fail→pass | 11,091 | 2,274 | -79% | 1 | 1 | 0% | 1,858 | 1,688 | -9% | 0 | 0 | — |
case-21 | fail→pass | 22,835 | 3,566 | -84% | 1 | 1 | 0% | 4,157 | 2,090 | -50% | 0 | 0 | — |
case-22 | fail→pass | 17,067 | 8,245 | -52% | 1 | 1 | 0% | 2,188 | 2,812 | +29% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +50 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.