# Simon Willison releases llm-anthropic 0.30 with model refresh and token count commands

Digest AI · Agents & Tools · published 2026-09-28T23:06:21Z

Canonical: https://digestai.news/story/simon-willison-releases-llm-anthropic-0-30-with-model-refresh-and-toke

## Summary

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.

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.

## 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.

## Why it matters

Developers can now keep their Anthropic model list up‑to‑date automatically and estimate token usage before prompting, reducing manual work and unexpected costs.

## Sources

1. [llm-anthropic 0.30](https://simonwillison.net/2026/Sep/28/llm-anthropic) (Simon Willison, 2026-09-28)

Part of the developing story: [Anthropic Launches Cost Efficient AI Models](https://digestai.news/thread/claude-sonnet-5-5-rivals-opus-with-thinking-budget-settings) (3 stories)

## Cite

Digest AI, "Simon Willison releases llm-anthropic 0.30 with model refresh and token count commands", 28 September 2026, https://digestai.news/story/simon-willison-releases-llm-anthropic-0-30-with-model-refresh-and-toke

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/simon-willison-releases-llm-anthropic-0-30-with-model-refresh-and-toke.json
