Skip to content

Codex Daily Report (Beta)

The daily command mirrors ccusage's daily report but operates on Codex CLI session logs.

bash
# Recommended (fastest)
bunx @ccusage/codex@latest daily

# Using npx
npx @ccusage/codex@latest daily

Options

FlagDescription
--since / --untilFilter to a specific date range (YYYYMMDD or YYYY-MM-DD)
--timezoneOverride timezone used for grouping (defaults to system)
--localeAdjust date formatting locale
--jsonEmit structured JSON instead of a table
--offline / --no-offlineForce cached LiteLLM pricing or enable live fetching
--compactForce compact table layout (same columns as a narrow terminal)

The output uses the same responsive table component as ccusage, including compact mode support and per-model token summaries.

Need higher-level trends? Switch to the monthly report for month-by-month rollups with the same flag set.

Released under the MIT License.