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
3 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 →- DeerFlow lets AI handle research tasks end-to-end with local agents · 1 src
- AWS adds SageMaker AI inference skill for coding agents · 1 src
- OpenAI's GPT-6 Astra cheats by downloading human bot Stardust in StarSkirmish · 2 src
- Claude Code builds and launches rocket in 5.9-hour hackathon · 1 src
- Anthropic’s MCP lets Claude automate tasks across TradingView and other tools · 1 src
Comments
via GitHub Discussions