AI Spend Doctor

How to export OpenRouter usage as CSV and check your spend

Short answer: open openrouter.ai/activity, pick the period, open the options menu at the top right, choose Export, then CSV. The file has one row per request with its cost in credits, which are US dollars.

Step by step

  1. Sign in and open the Activity page.
  2. Choose the period. The previous full month is a good start; spike detection needs at least a week of days.
  3. Open the options menu at the top right and choose Export, then CSV.

OpenRouter describes the export in Activity Export.

What the columns mean

ColumnMeaning
created_atWhen the request was made
model_permaslugThe exact model version, for example anthropic/claude-4.5-sonnet-20250929
cost_totalWhat the request cost in OpenRouter credits (US dollars)
tokens_prompt, tokens_completionInput and output tokens; OpenRouter counts reasoning tokens inside completion for billing
byok_usage_inferenceInference that ran on your own provider key (BYOK) and is billed by that provider
provider_nameWhich provider served the request

Column names come from the export format as seen in public tools that read it; OpenRouter may add columns over time.

Two things to watch for

Check the file without uploading it

Open the CSV in the free checkup. It reads the file on your device, never uploads it, and shows daily spend spikes, spend per model, the share on top-tier models and price scenarios for older Claude versions. BYOK spend is reported separately. You can try the demo first.

Check your own CSV for free

Questions

How do I export OpenRouter usage?

Open openrouter.ai/activity, choose the period, open the options menu at the top right and choose Export, then CSV.

Is OpenRouter cost_total in dollars?

Yes. It is in OpenRouter credits, which are US dollars. BYOK inference billed by your own provider key is in a separate column.

Can I analyze my OpenRouter CSV privately?

Yes. The free checkup at aispenddoctor.com reads the CSV in your browser; its security policy blocks all network requests, so the file never leaves your device.

List prices checked 27 September 2026 on the official Anthropic and OpenAI price pages. Prices change; check the source before making decisions. Not affiliated with Anthropic or OpenAI. © 2026 Valeriy Danilov. AI Spend Doctor by AgentBridge Labs.