Skip to content
AISpendbook

AI providers · Read with a key

OpenAI (Admin API)

Daily token usage by model, project, batch and service tier (completions, embeddings, images) plus billed costs by line item and project from OpenAI's organization APIs.

How data moves
AI Spendbook reads it on a schedule with a key, token or read-only role you give it.
Credential
API key or token
What it covers
provider-reported usage, billed cost
Money
The vendor's billed amount
Runs
each scheduler run (daily on the hosted deployment)
Freshness
Daily UTC buckets. Recent buckets are revised by OpenAI; the trailing 3 days and a just-closed month are re-read.
History on first sync
Up to 365 days
Not included
customer, feature, end user
Status
Built from the vendor's public documentation and tested with recorded responses. Not yet run against a live account.

Set it up

  1. In the OpenAI platform open Settings → Organization → Admin keys (organization owners only).
  2. Create an Admin key (starts with sk-admin-) and paste it here.
  3. We call /v1/organization/usage/*, /v1/organization/costs and /v1/organization/projects only.

What it needs

An OpenAI Admin API key (sk-admin-…) created by an organization owner. It is used read-only for the organization Usage, Costs and Projects endpoints. OpenAI offers no read-only admin key; the app only reads with it.

Every connector, by family

Start with your own numbers.

Every plan is free during launch. No credit card.