Melious
CLI

Usage & Impact

Track your API usage, costs, and environmental impact

Usage & Impact

Usage Summary

View your usage for the current period:

melious usage

Change the time period:

melious usage --period day
melious usage --period week
melious usage --period month

Shows total requests, tokens, credits, environmental impact, breakdown by product, and your most-used models.


Usage History

View recent API calls in a table:

melious usage history

Filter by product:

melious usage history --product inference

Filter by model:

melious usage history --model qwen3-235b-a22b-instruct

Adjust page size:

melious usage history --limit 50
FlagTypeDefaultDescription
--limitint20Items per page
--productstringFilter: inference, kit, engine, chat
--modelstringFilter by model ID

Per-Key Breakdown

See usage split across your API keys:

melious usage keys

Shows requests, tokens, credits, and last-used time for each key.


Environmental Impact

View your CO2, water, and energy usage with real-world equivalents:

melious usage env

This shows:

  • Carbon emissions (grams CO2) with everyday equivalents
  • Water consumption (liters) with household comparisons
  • Energy usage (kWh) with device-hour equivalents
  • Renewable energy percentage across providers

Melious tracks environmental impact for every API call. You can also see per-response impact using melious run --show-env or by enabling stats.environment in your config.

On this page