Recipes
frequency_penalty vs presence_penalty: 4 Recipes That Ship (2026)
frequency_penalty counts, presence_penalty flags. Four copy-paste recipes for when to grab which OpenAI sampling knob, plus the one config that quietly breaks your JSON.
5 min read17
