Temperature
A setting that controls how predictable or creative an AI's responses are. Low temperature (near 0) means the AI picks the most likely, most consistent answer — good when you want reliability, like extracting data from a document. High temperature (near 1) means more variety — good for brainstorming or creative writing where you want different ideas each time. Most people don't set this manually; Claude chooses sensible defaults depending on the task.
In practice
You're using Claude to extract dates from contracts — you want the exact date, the same answer every time. You set temperature low (near 0) for maximum consistency. You're using Claude to brainstorm campaign slogans — you want variety. You set temperature higher. Temperature is the dial that controls how predictable vs. creative the outputs are.
Related concepts
Where Temperature shows up
2 articlesTemperature controls how much Claude surprises you. Turn it down for consistent, focused answers. Turn it up for more varied, exploratory ones. Knowing when to do each is a real skill.
On October 21, 2026 Anthropic released the first new Claude API version since 2023-06-01, along with new major versions of every SDK. Requests that send temperature, top_p, or top_k now fail with a 400. API keys move to the Authorization header. Here is what breaks, what to change, and how to upgrade without an outage.