{"version":1,"type":"story","url":"https://digestai.news/story/simon-willison-releases-llm-anthropic-0-30-with-model-refresh-and-toke","json":"https://digestai.news/story/simon-willison-releases-llm-anthropic-0-30-with-model-refresh-and-toke.json","markdown":"https://digestai.news/story/simon-willison-releases-llm-anthropic-0-30-with-model-refresh-and-toke.md","slug":"simon-willison-releases-llm-anthropic-0-30-with-model-refresh-and-toke","headline":"Simon Willison releases llm-anthropic 0.30 with model refresh and token count commands","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.\n\nThe 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.\n\nThe 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.","keyPoints":["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."],"whyItMatters":"Developers can now keep their Anthropic model list up‑to‑date automatically and estimate token usage before prompting, reducing manual work and unexpected costs.","category":{"slug":"agents","name":"Agents & Tools","url":"https://digestai.news/category/agents"},"entities":{"companies":["Anthropic"],"models":["Claude Sonnet 5.5"],"people":["Simon Willison"]},"firstPublishedAt":"2026-09-28T23:06:21Z","updatedAt":"2026-09-28T23:06:21Z","sourceCount":1,"hasPrimarySource":false,"sources":[{"outlet":"Simon Willison","title":"llm-anthropic 0.30","url":"https://simonwillison.net/2026/Sep/28/llm-anthropic","publishedAt":"2026-09-28T23:06:21Z","type":"newsletter","primary":false,"lead":true}],"sourceNotes":null,"discussions":[],"thread":{"title":"Anthropic Launches Cost Efficient AI Models","url":"https://digestai.news/thread/claude-sonnet-5-5-rivals-opus-with-thinking-budget-settings","storyCount":3},"cite":{"text":"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","publisher":"Digest AI","title":"Simon Willison releases llm-anthropic 0.30 with model refresh and token count commands","datePublished":"2026-09-28T23:06:21Z","url":"https://digestai.news/story/simon-willison-releases-llm-anthropic-0-30-with-model-refresh-and-toke"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"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"}