News ·
llm-echo 0.5
Simon Willison released llm-echo 0.5, a debug plugin for LLM that provides an echo model, now simulating token usage including tool calls, system prompts, and reasoning tokens.
Simon Willison released version 0.5 of llm-echo, a debug plugin for his LLM tool. He revisited the plugin while testing pull requests in preparation for a new LLM release. The plugin provides a "model" that involves no LLM at all — it simply repeats back the prompts fed to it.
The new release updates the simulated token usage counts to account for tool calls, system prompts, and reasoning tokens. It can be run with a command like uvx --with llm-echo llm -m echo 'hi there' -o thinking 1 --usage, which outputs an echoed response along with usage details showing the prompt, system, attachments, and stream settings.
For anyone building or testing with LLM tooling, an echo model is a lightweight way to debug prompts and verify tooling behavior without spending tokens or calling a real provider. The improved usage simulation means developers can now exercise token accounting for features like tool calls and reasoning tokens in tests without a live model.
References
- Simon Willison · simonwillison.net
Read the full story at Simon Willison ↗Like, save or discuss on Buzz


