free · nothing to install

See where your AI money goes, from one usage key.

Paste a usage key from OpenRouter, OpenAI or Anthropic. Margin reads the provider's own usage report and gives you a page back the same hour. It is cost only: a usage report has no outcomes, so it shows where the money goes, never whether a cheaper model is good enough. That is what a pilot measures, on your own evals.

Sign in and start a teardown

What the page shows

  • Your spend for the last 30 days by model and by day, from the provider's own report
  • Which models and which keys carry most of it
  • Where the exact same model is sold cheaper by another host, and any host that keeps prompts
  • A link you can forward inside your company, which you can end at any time

The key, plainly

No provider sells a key that can only read usage, so here is what each one can do. Make a new key for this, and delete it at the provider when your page is out. Margin stores it encrypted, never shows it again, and “Forget this key” deletes it and every row read with it.

ProviderKey it needsWhat else that key can do
OpenRoutera management keyit can also create and delete keys on the account
OpenAIan admin keyit can also manage the organization; it cannot call models
Anthropican Admin API keyit can also manage the organization

After the teardown

A cheaper host or model on the page is a candidate, not a saving. To know whether it holds your quality, Margin runs it against the current model on your own evals and opens a pull request only when it passes. See pricing for the pilot, or start free with a repository.