DigestAI news desk

Cut through the AI noise.

Agents & Tools

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.

1 source

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 →
  1. Simon Willison releases llm-anthropic 0.30 with model refresh and token count commandsthis story
Read the original at Simon WillisonOpen source ↗
Topics · follow one to build your own front page

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.

Comments

via GitHub Discussions

More in Agents & Tools

All →

Related stories