Billing & Quotas
3 min
Token Billing, Prompt Caching & Limits
Understand how Starlight AI meters input, output, cached tokens, daily caps, and concurrency.
1. Transparent Token Metering & Prompt Caching
Every request is metered strictly by the exact input, output, cache-creation, and cache-read token counts returned by the model.
When coding agents (such as Claude Code, Codex CLI, or Cline) re-send large repository context, cache-read tokens cost up to 90% less than uncached input tokens.
Keep your system prompt and workspace file prefix stable across turns to maximize cache hit ratios.
2. Total Quota, Daily Cap & Concurrency
Each API key carries an optional total USD quota limit, an optional UTC daily spend cap, an expiration date, and a maximum concurrent in-flight request limit.
You can inspect real-time consumption anytime on the Key Stats page or inside your Account Portal.
Paused keys immediately stop all traffic without losing their remaining balance.