Cross-Session Budget

Cross-session budget is an AI UX pattern that applies spending or usage caps across chats, devices, and projects—not just one thread. Org and personal limits stay coherent wherever the user works.

Share

Interactive demo

Settings → Spending

Monthly spend

Shared across desktop, mobile, and web.

Monthly limit

$30

Desktop

$9.4

Mobile

$5.2

Web

$7.8

Total this month: $22.4 · $7.6 remaining

Overview

The design problem

How might we design cross-session budget so people can trust and act on AI output?

Use this pattern

When this pattern fits

  • Essential for AI platforms, enterprise agent deployments, and consumer products where user spend accumulates across many sessions and devices, and session-scoped caps fail to reflect the real budget.

Avoid this pattern

When to skip or lighten it

  • Single-session demos with no account.
  • Unlimited enterprise seats with no metering.
  • Budgets so coarse they block critical ops without an override path.

States

State model coming soon

Key UX elements

Key UX elements coming soon

Anti-patterns to avoid

  • Per-chat limits that reset and bypass the real monthly cap.

  • Budgets that do not sync across devices.

  • Hitting a cap with no owner notification.

  • No distinction between soft warn and hard stop.

How products use it

ProductImplementation
OpenAIMonthly usage caps across projects and keys.
AnthropicOrganization spend budgets across workspaces.
GitHub CopilotSeat and usage entitlements across IDE sessions.
AWSOrganization budgets and accounts-wide controls.

Implementation

Copy this prompt to generate a production-ready implementation in Cursor, Claude Code, Lovable, or any AI coding agent.

Generate a production-ready implementation of the "Cross-Session Budget" AI interface design pattern.

Pattern Definition:

Frequently asked questions

Why do cross-session budgets matter?

Users open many chats and devices. Without a shared cap, spend leaks through parallel sessions.

How does this relate to hard budget ceilings?

A hard ceiling is the enforcement mechanism. Cross-session budget is the scope of that ceiling across contexts.

Who sets the budget?

Individuals for personal plans; admins for orgs. Show which policy applied when a run stops.

What should users see mid-month?

Remaining budget, reset date, and top consuming projects or agents.

Weekly AI UX in your inbox

Weekly AI interface UX notes and resources on Substack, no spam, unsubscribe anytime.

Subscribe on Substack