datasette-llm-usage 0.2a0

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story. The source provided limited text, so this summary is brief.

Why it matters

Datasette operators tracking LLM token usage get prompt logging and a permission-gated usage page, but pricing and allowance features have moved elsewhere.

Read this as

Simon Willison released version 0.2a0 of datasette-llm-usage, a plugin for Datasette, a tool for exploring SQLite databases online. The plugin records how many tokens, the units AI models charge by, each request uses. New in this version, it can save full prompts, responses and tool calls to a log table, and its usage page now requires a special permission. Features for billing allowances and estimated prices were removed and moved to a separate plugin.

This is an alpha release, 0.2a0, of a free open-source plugin for the Datasette data tool that meters LLM token consumption in a SQLite table. The scope has narrowed: allowance tracking and price estimates were split out into datasette-llm-accountant, and the plugin now depends on datasette-llm for model configuration. Organisations running Datasette-based AI features should review the new log_prompts setting and the tightened permission on the usage page.

datasette-llm-usage 0.2a0 removes allowance and estimated-pricing features, delegating those to datasette-llm-accountant, and now depends on datasette-llm for model configuration (issue #3). Full prompts, responses and tool calls can be logged to the llm_usage_prompt_log table in the internal database when the new datasette-llm-usage.log_prompts plugin configuration is set. The /-/llm-usage-simple-prompt page was redesigned and now requires the llm-usage-simple-prompt permission.

Read the original

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

Key terms

datasette-llm-usage datasette-llm-accountant datasette-llm Datasette SQLite llm_usage_prompt_log

Was this summary useful?

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

Related reading