#0412
`datasette-llm-limits` `0.1a0` adds per-user LLM spend caps
40radar
DatasetteOpen-source data publishing tool — strong plugin extensibility
LLM usage inside Datasette can now be hard-capped by user or globally with rolling windows and USD limits. Useful if you expose prompts to users; otherwise the impact is narrow but the cost-control pattern is worth copying.
- Works with
datasette-llmanddatasette-llm-accountant, so enforcement sits on top of existing usage tracking. - Config supports per-user or global limits, with windows like
rolling-24hand explicitamount_usdcaps. - Example policy sets $1.00 per actor over 24 hours, which is a clean template for metered AI features.
- Best fit is multi-user internal tools or lightweight SaaS surfaces where prompt access needs a hard budget guardrail.
Source: simonwillison.net/2026/May/15/datasette-llm-limits/#atomRead original →