Cost-Accounting Modularization (Feature Migration)
Sources: 1 • Confidence: High • Updated: 2026-04-12 09:59
Key takeaways
- In datasette-llm-usage 0.2a0, features related to allowances and estimated pricing were removed.
- datasette-llm-usage now depends on datasette-llm for model configuration.
- If the datasette-llm-usage.log_prompts plugin setting is enabled, full prompts, responses, and tool calls can be logged to the internal llm_usage_prompt_log table.
- The /-/llm-usage-simple-prompt page was redesigned and requires the llm-usage-simple-prompt permission to access.
- Allowances and estimated pricing functionality is handled by datasette-llm-accountant rather than datasette-llm-usage.
Sections
Cost-Accounting Modularization (Feature Migration)
- In datasette-llm-usage 0.2a0, features related to allowances and estimated pricing were removed.
- Allowances and estimated pricing functionality is handled by datasette-llm-accountant rather than datasette-llm-usage.
Centralized Model Configuration Via Dependency Change
- datasette-llm-usage now depends on datasette-llm for model configuration.
Observability Expansion With Optional Prompt/Tool Logging
- If the datasette-llm-usage.log_prompts plugin setting is enabled, full prompts, responses, and tool calls can be logged to the internal llm_usage_prompt_log table.
Access Control Tightening On Interactive Prompt Ui
- The /-/llm-usage-simple-prompt page was redesigned and requires the llm-usage-simple-prompt permission to access.
Unknowns
- What is the migration path (configuration steps and data continuity) for users moving allowance/estimated pricing workflows from datasette-llm-usage to datasette-llm-accountant?
- What versions of datasette-llm are required by datasette-llm-usage after the new dependency, and are there breaking configuration changes for existing deployments?
- Is datasette-llm-usage.log_prompts disabled by default, and what are the recommended retention, redaction, or access-control practices for llm_usage_prompt_log?
- What is the schema and lifecycle behavior of llm_usage_prompt_log (e.g., size growth characteristics, indexing, cleanup tooling)?
- How is the llm-usage-simple-prompt permission intended to be assigned (roles/groups), and does the redesign introduce new capabilities beyond access gating?