Maieutic Prompting: 4 Recipes That Ship (2026)
Maieutic prompting makes a model argue both sides, then keeps only the explanations that survive. What the 2022 paper really does, the scope it covers, and 4 copy-paste recipes.
Author
Roo Iyer writes terse, tested prompt recipes for PromptAttic. Reads the paper, then tells you which half of it you can actually run.
Maieutic prompting makes a model argue both sides, then keeps only the explanations that survive. What the 2022 paper really does, the scope it covers, and 4 copy-paste recipes.
Five copy-paste top_p (nucleus sampling) recipes for the OpenAI and Anthropic APIs in 2026: the default that ships, clamping the tail for extraction, focused creative, steadier JSON, and the one-knob rule.
Count Claude tokens before you send with the free count_tokens endpoint: pre-flight the context window, estimate a batch bill, and recount after a model swap.
max_tokens caps output; it does not push the model to fill it. Detect truncation via stop_reason of max_tokens, continue a cut-off answer, and leave room for extended thinking. Five copy-paste recipes for 2026.
The Message Batches API runs LLM jobs async for 50% off in Claude and OpenAI. Four copy-paste recipes: submit, poll without hammering, match results by custom_id, and survive the 24-hour expiry.
reasoning_effort in 2026: four copy-paste recipes to dial reasoning from none to max in OpenAI and Claude, when to drop it, and the cost and cache traps that bite.
Stop sequences in 2026: four copy-paste recipes that cut a model off at a delimiter, bound a JSON object, force one section, and stop an agent from faking its own turn, plus where they break.
Chain of Draft keeps chain-of-thought's steps but caps each to a few words, cutting tokens hard while holding accuracy. Four recipes, the gate, and the failure mode.
Self-refine prompting in 2026: four copy-paste recipes for the draft-critique-revise loop, the paper-faithful three-call version, and the stopping rule nobody ships.
Socratic prompting in 2026: five copy-paste recipes that surface assumptions, self-interrogate in one message, debug by question, and add a maieutic consistency check, plus when to skip it.
Chain of Density is a one-call summarizing prompt that rewrites a summary five times at fixed length so it packs in the facts most 'summarize this' prompts drop. Copy-paste receipt, the failure modes, and the production variant.
Six copy-paste LLM temperature and top_p recipes for 2026: the exact setting per task type, why it works, and the failure mode it prevents.