llm-anthropic 0.30

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Users of the llm CLI no longer need a plugin update to access newly released Anthropic models, and can pre-count prompt tokens for free.

Read this as

Simon Willison released version 0.30 of llm-anthropic, a plugin that lets his 'llm' command-line tool use Anthropic's Claude models. The new version can fetch the list of available Anthropic models directly from the API, so newly released models work without Willison shipping an update. It also adds a command that counts how many tokens a prompt will use before sending it. No pricing or benchmark figures are given.

llm-anthropic 0.30, a plugin for the 'llm' command-line tool, now pulls Anthropic's model list from the API via an 'llm anthropic refresh' command, eliminating releases just to support new models like Claude Sonnet 5.5. It also adds 'llm anthropic count', which uses Anthropic's free token counting API to check prompt sizes before sending. Gains go to developers using the tool; there are no costs, competitive or risk implications stated.

Release 0.30 of llm-anthropic adds 'llm anthropic refresh', which queries Anthropic's API for its current model list so new models like Claude Sonnet 5.5 work without a plugin release. An 'llm anthropic count' command calls Anthropic's free token counting endpoint to return the token count any prompt will consume before submission. The article does not cover implementation details, latency, or API limitations beyond the free tier of the counting API.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

llm-anthropic 0.30 Claude Sonnet 5.5 Anthropic Datasette Pyodide

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading