Simon WillisonFriday · May 29, 2026FREE

llm-anthropic 0.25.1

llmanthropicclitoken-counting

Simon Willison announced llm-anthropic 0.25.1 on May 28, 2026. This release focuses on internal improvements: token counting now uses the Anthropic API's native response headers, providing accurate per-request token counts. Error handling has been enhanced to surface clearer messages when API limits are hit or authentication fails. The update is available immediately via pip install -U llm-anthropic. No new features or model additions are included; it's a maintenance release aimed at reliability and developer experience.

// why it matters

Accurate token counting helps developers manage costs and debug API usage more effectively.

Sources

Primary · Simon Willison
▸ Read original at simonwillison.net

Like this? Get the next digest.