Temperature 0
- Direction
- Lowest
- Documented effect
- Highest-probability response is always selected
Temperature sets how random a model's token choice is. What Google documents, why Claude Sonnet 5.5 returns an error if you send it, and how to check your code.
Temperature is a sampling setting that controls how random a language model's token selection is. Google's docs say lower values suit prompts that need more deterministic answers, higher values suit more varied output, and a temperature of 0 always picks the highest-probability response. Some newer models no longer accept it.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
These are model-level choices, so they sit beside the prompt, not inside it. For consistent formats, structured outputs constrain the shape of a reply directly.
temperature, top_p and top_k return a 400 error. Remove them.{
"model": "claude-sonnet-5-5",
"max_tokens": 1024,
"temperature": 0.2,
"messages": [
{"role": "user", "content": "Summarize this ticket thread."}
]
}Look for temperature, top_p and top_k in every place that builds an API request, including shared wrappers and config files.
Do not assume support carries across versions. Anthropic and Google each document the change on the model-specific pages named in the sources.
Google says affected Gemini models return deprecation warning headers. Log them so you see the warning before it becomes a 400.
If quality holds, delete it. If it drops, the fix is usually in the instructions or the output format.
1 questions people ask next, answered from the sources on this page.
One documented cause on Claude Sonnet 5.5 is a sampling parameter. Anthropic's migration guide lists temperature, top_p and top_k among settings that return a 400 error and says to remove them.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.