Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.baseten.co/llms.txt

Use this file to discover all available pages before exploring further.

usage

baseten org billing usage [OPTIONS]
Show a billing usage summary for the organization. Pass —since (relative duration, e.g. 7d, 24h) for a sliding window ending now, or —start and —end together for an explicit ISO 8601 range. The two modes are mutually exclusive. The range cannot exceed 31 days. Defaults to —since 7d.

Options

--end
TEXT
End of the window (ISO 8601). Requires —start. Mutually exclusive with —since.
-q, --jq
TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
-o, --output
TEXT
default:"text"
Output formatOne of: text, json, jsonl, none
--remote-url
TEXT
Baseten remote URL, overrides BASETEN_REMOTE_URL (default https://app.baseten.co)
--since
TEXT
default:"7d"
Relative window ending now, as a Go duration (e.g. 7d, 24h). Mutually exclusive with —start/—end.
--start
TEXT
Start of the window (ISO 8601). Requires —end. Mutually exclusive with —since.
-v, --verbose
BOOL
Enable verbose logging

Examples

Show usage over the last 7 days (default)
baseten org billing usage
Show usage over an explicit ISO 8601 range
baseten org billing usage --start 2026-05-01 --end 2026-05-08

Filter output with --jq

Print a top-level total (shape TBD)
baseten org billing usage --jq '.total'

Output

Text mode (--output text): Not yet implemented. The output shape is TBD. JSON mode (--output json): payload type map[string]interface {}.