Skip to content

v0.0.33

Choose a tag to compare

@github-actions github-actions released this 30 Nov 05:23
· 15 commits to main since this release
a433c33

VoidLLM 0.0.33 adds cost budgets: set a daily or monthly spending limit for an org, a team, a user or a single key, next to the existing token limits.

Features

Cost budgets (Pro)

  • Daily and monthly cost limits for orgs, teams, users and keys, set in the UI or via the Admin API. Most restrictive wins, like token limits.
  • Requests over budget get 429 cost_limit_exceeded with Retry-After and x-should-retry: false. Claude Code and Codex CLI stop right away instead of retrying until midnight.
  • Amounts in your configured currency (settings.currency, default USD). Models without pricing count as 0, and the UI lists them so nothing slips through unnoticed.
  • New GET /api/v1/budgets/status and dashboard bars show what is used and when each budget resets (UTC), with warnings at 80%.

Multiple instances

  • With Redis, token and cost budgets are now counted across all instances instead of per instance. If Redis is briefly unavailable, each instance keeps enforcing with its own view and recovers on its own.
  • Limit changes and new or changed API keys apply on all instances immediately.

UI

  • Correct totals on list pages, usage windows that keep moving in an open tab, views that fit your role, and the running version in the sidebar.
  • Error page instead of a blank screen, request timeouts, accessibility fixes, and you return to the page you were on after logging in again.

Fixes

  • PostgreSQL: hourly usage rollups were not written, so dashboard stats showed zero. Fixed, and missing hours are rebuilt once on startup.
  • Redis client messages now go through the normal log instead of raw stderr lines.

Security

  • Security hardening around API keys and the API docs page. Thanks @arhuman (KwalitAI) for the review.

Upgrade notes

  • Database migration 0022_cost_limits runs automatically.
  • Cost limits need a Pro license. Without one they can be stored but are not enforced; token limits work as before.
  • Team-bound user keys stop working when their owner is no longer a member of that team.
  • Keys you cannot see now return 404 instead of 403.
  • Only org admins and above can change team limits.
  • Shared budgets need a single Redis endpoint; Redis Cluster is not supported.

Dependencies

  • Fiber 3.7, pgx 5.12, modernc sqlite 1.62, grpc 1.85, prometheus client 1.25, golang.org/x/net and x/crypto updates, plus UI tooling and GitHub Actions.

Full changelog: CHANGELOG.md