OpenAI
What Plutus imports
Section titled “What Plutus imports”- Daily spend by model and project
- Also emits
openai.tokens.input/openai.tokens.outputusage metrics, by model, from the same Usage API call — see Usage Explorer - Those usage rows carry
api_key_idandservice_tier, usable as filter or group-by dimensions. Rows synced before this change have no key or tier.
Connecting
Section titled “Connecting”Method: Admin API Key
- Sign in to platform.openai.com and go to Settings → Organization → Admin keys.
- Click Create, and give the key a name (for example,
plutus-billing). - Copy the key immediately — OpenAI only shows it once.
- In Plutus, paste the key into the Admin API Key field and save. Plutus calls the Costs API to pull daily spend by model and project.
A regular API key (sk-…) or project-scoped key will not work here and always fails — this connection needs an Admin key from Settings → Organization → Admin keys.
Input, output and cached line items for one model are summed into a single model per day.
Token quantities come from the Usage API, which needs the api.usage.read scope on the Admin key. Without it, cost still syncs and only the token quantities are skipped.