AI-generated text
llm-echo 0.5: debug "echo" model adds refined token-usage simulation
Tools · October 18, 2026

llm-echo 0.5 is a new minor release of a debug plugin that simulates a model by echoing prompts instead of running an LLM.
In this article · 5
llm-echo 0.5 has been released. The plugin acts as a debug "model" that does not run a real large language model (LLM) but simply echoes back prompts it receives. While preparing a new LLM release and testing pull requests, the maintainer revisited the llm-echo plugin and updated its simulated token-usage accounting.
What the plugin does
llm-echo provides a model-like interface for testing and debugging: instead of invoking an actual LLM, it repeats the input prompts. This makes it useful for integration tests and development workflows where you want predictable, fast responses without downstream model costs.
Changes in version 0.5
The main change in the 0.5 release is that the simulated token counter now includes:
- tool calls,
- system prompts,
- and internal "reasoning" tokens.
Including these elements gives a more accurate simulation of token usage in scenarios where tool interactions, system-level instructions, or extra reasoning steps contribute to token counts.
Example usage
A representative command and its output shown in the release notes:
uvx --with llm-echo llm -m echo 'hi there' -o thinking 1 --usage
The plugin prints a short explanatory line, the echoed prompt structure, and a token-usage line. The example output is:
First I consider the prompt, then I decide what to say. { "prompt": "hi there", "system": "", "attachments": [], "stream": true, "previous": [] } Token usage: 2 input, 24 output
In this example the tool reports 2 input tokens and 24 output tokens.
Why it matters
Although llm-echo does not replace real models, the improved token accounting helps developers and testers estimate costs and quota consumption more realistically without making live model calls. That is useful for integration testing, automated checks, and rapid prototyping where token usage matters.
Tags
llm
Related articles More from the section.
Anthropic rewrites its messaging API in Rust
Anthropic recently rewrote its Messages API service from Python to Rust.
Tools · November 25, 2026fx offers developer tools in six megabytes
According to the creators of fx, as artificial intelligence advances, the implementation details of permissions, code changes and tool calls are becoming less visible to users.
Tools · November 25, 2026OpenAI begins testing shared ChatGPT usage limits for Chat and Work
OpenAI has begun introducing a unified Chat and Work experience to a small group of ChatGPT Pro subscribers.


