~/til / commit 9fd3124

Newer Claude models think first, and max_tokens pays for it

On Claude Sonnet 5.5, a request with no thinking setting still thinks, and it can’t be switched off. max_tokens covers the thinking and the answer together. My script asked for a short Bluesky post with a 200-token limit, the model spent all 200 thinking, and the post went out empty.

Give every call room (I use 16,000), read the answer from the text blocks rather than content[0], because thinking blocks come first, and treat a reply with no text as an error, never as output.