Skip to content

datasette-llm-limits 0.1a0: Spend Control for LLM Usage in Datasette

The point: datasette-llm-limits allows administrators to define daily spending limits for LLM API calls in Datasette to control costs.

A new plugin for Datasette makes it possible to set spending limits for LLM usage — either per user or globally. Configuration is done via the Datasette plugin system.

The datasette-llm-limits plugin integrates with the existing extensions datasette-llm and datasette-llm-accountant. It enables the setting of spending limits for Large Language Models usage within a Datasette instance.

The limits can be configured granularly: either per user (based on the Actor object) or globally for the entire instance. The current example configuration shows a daily limit of $1.00 per user in a rolling 24-hour window. This is defined via the Datasette configuration file, for example under the key limits with sub-parameters scope, window and amount_usd.

For practitioners, this control function is relevant to prevent uncontrolled API costs. Particularly in multi-tenant setups or shared Datasette instances, such a limit protects against surprises in billing. The integration with datasette-llm-accountant suggests that usage is already being measured and can now also be limited.


Source: ainews-dev.lumi-systems.io · Published May 15, 2026
Lumi AI News — AI-assisted curation pursuant to Art. 50 EU AI Act. Paraphrase and classification by Lumi News Pipeline v1.5.2.

Share on: