Simon Willison releases llm-anthropic 0.30 with model refresh and token count commands
Simon Willison announced version 0.30 of his llm‑anthropic library. The update introduces a new llm anthropic refresh command that pulls the current list of Anthropic models directly from the provider’s API, eliminating the need for a new library release whenever Anthropic adds a model such as Claude Sonnet 5.5.
Key points
- Version 0.30 of the llm-anthropic library was released.
- Adds ‘llm anthropic refresh’ to pull latest Anthropic models from the API.
- Adds ‘llm anthropic count’ to query Anthropic’s free token counting API.
The release also adds a llm anthropic count command, which calls Anthropic’s free token‑counting endpoint to report how many tokens a given prompt would consume before it is sent. Both features aim to streamline developers’ workflows and help them manage token costs more predictably.
The changes are distributed via GitHub, and the tags indicate the release is part of the ongoing llm‑anthropic project, which tracks updates to Anthropic’s API for Python developers.
Model page: Claude Sonnet 5.5 →
The story so far
10 episodes →- Simon Willison releases llm-anthropic 0.30 with model refresh and token count commandsthis story
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- Gemini may delete existing text when asked to append, author reports · 1 src
- Google's Gemini outperforms ChatGPT and Claude as Android assistant · 1 src
- Meta launches Muse AI agent in Mexico, first in Latin America · 11 src
- Meta rolls out real-time voice and expressive avatars for Muse AI in the US · 7 src
- Meta improves Muse and Meta AI with Active Memory and Active Focus · 2 src
Comments
via GitHub Discussions