Returns the cost of your AI calls per provider, such as OpenAI or Anthropic, in USD, split into time buckets (hourly, daily or monthly, depending on the length of the date range). Coding assistants the team is charged for at API rate, or that ran through a host that bills each call, are inside the provider total, mostly as their own rows, such as claudecode (Claude Code). The coding-assistant cost from get_cost_by_user_aggregated (shown as Assistants) reads the same calls, so it is already inside this total; never add it. To split assistants from other spend, report the assistant provider rows as a part of this total; they can differ from that cost, so do not reconcile them. Assistants on the AI by Employee page can also hold seat-plan usage and invoice-billed Cursor or GitHub Copilot spend, which is outside this total. For one figure per group over the whole period, a far smaller answer over a long date range, use get_cost_by_provider_aggregated.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||