Skip to content
Simon Willison·· 19 days agoAI score39

llm-anthropic 0.30

llm-anthropic 0.30

AI introduction

llm-anthropic 0.30 is out. Beyond supporting Claude Sonnet 5.5, it adds an `llm anthropic refresh` command that pulls the model list directly from the Anthropic API, so new models are supported without releasing a new version. It also adds an `llm anthropic count` command that uses the free token counting API to count a prompt's tokens before sending it.

Article · English

In addition to Claude Sonnet 5.5, this release adds the ability to run llm anthropic refresh to refresh the list of Anthropic models directly from their API - which means I don't need to push a new release just to add support for a newly released model.

I also added an llm anthropic count command which can use their free token counting API to return a count of tokens that will be used by any prompt, before you send that prompt.

Source: Simon Willison · simonwillison.net