Account and billing
API keys and budgets, your team, the prepaid balance, receipts, usage and how long data is kept.
Everything you do with the API is paid for and limited at two levels: the organisation (your team and its prepaid balance) and each API key (its own budget and limits). This page explains both and where to manage them in the console.
API keys
- Create keys under API keys. A key is shown once, right after you create it, so copy it into a secrets manager. Only owners and admins of the organisation can create or revoke keys.
- Give each app, environment or agent its own key. If one leaks, revoke it: it stops working at once and the others are not affected. Revoked keys stay listed for your records.
- Calls made from the console playground use a separate key of their own, with lower limits than the keys you create.
- Routing defaults on a key decide which fallback models its requests may use when a model is unavailable.
How to send a key is on Authentication.
Budgets
A key can have a budget in US dollars, set when you create it. Once the key has spent it, requests with that key answer 402 with code insufficient_budget until you create a key with a bigger budget. A key without a budget can spend as much as the organisation allows. Use a small budget on any key you give to an agent, a contractor or a script you do not fully trust: it is the most that key can ever spend.
To see what a key may still spend, call GET /v1/key with it: the budget, what is spent, what remains, the key's limits and the organisation's balance. The call is free and sees only the key that makes it. See budget or rate for how 402 differs from 429.
Team
- Invite people under Team by email. The link in the email is valid for 7 days.
- You can invite someone as an admin (can create and revoke keys, add funds and invite people) or as a member. Owners have the same rights as admins.
- Everyone in the organisation shares one balance and one set of usage records.
Prepaid balance
eWest is prepaid: you add funds, and every request is deducted at the prices on the pricing page. A failed job is never charged. The current balance is on Billing and at the top of the console.
- When the balance is too low for a request, it answers
402with codeinsufficient_balancebefore any model runs. Add funds and send the request again; do not retry it before that. - Only owners and admins can add funds.
- Prepaid billing is being rolled out. The Billing page shows whether adding funds is open for your organisation; until it is, requests are not stopped for a low balance.
Receipts and invoices
Each payment on Billing has an Invoice link to its receipt. Combined monthly invoices and tax details on invoices are not available yet. If you need them, write to support@ewest.ai with the organisation name.
Usage, errors and export
- Usage shows your spend and requests. Analytics and Errors break the same data down further.
- Every request has a row under Requests, with its trace. Quote the trace ID or the
x-request-idheader when you ask for help (Request traces). - Usage can be downloaded as CSV from the Usage page: one line per billed row, with a
request_idthat groups the rows of a single request.
How long data is kept
We do not store chat prompts or answers. Inputs to image, audio, video, speech and transcription requests (and the text of transcriptions) are kept for 7 days, and generated media on cdn.ewest.ai is deleted after 7 days, so download what you want to keep. Responses API conversations are kept for 30 days after the last turn unless you turn storage off, per request with store: false or for the whole organisation in the console. The full table, with how long each kind of record is kept and what is not yet in place, is on the data retention page.