API reference · Account
What the same usage would cost on cheaper comparable models
GET/api/account/savingsSigned in session
For each model the signed in account used over the last 30 days (answered requests only; no cache hits, probes or requests on the caller's own provider key), the nearest model that is priced no higher on either rate, has at least the same context, accepts images where the original does, and supports tool calling and JSON output wherever the original declares or was measured doing so, with the same tokens priced on both at today's billed rates. Listed only from 3 requests up, and only when the saving is at least 10% and $0.01. A price comparison only: nothing is claimed about the quality of the answers.
Answer 200
The savings, largest first; an empty list when there is none.
| Field | Type | What it is |
|---|---|---|
| days | integer | |
| since | integer | |
| considered | integer | Models used often enough, and priced, to be judged. |
| savings | array of object | |
| savings[] | string | The model the account used. |
| savings[] | string | |
| savings[] | string | |
| savings[] | integer | |
| savings[] | integer | |
| savings[] | integer | |
| savings[] | integer | The same tokens on the model used, at today's billed prices. |
| savings[] | object | |
| savings[] | string | |
| savings[] | string | |
| savings[] | string | |
| savings[] | integer or null | |
| savings[] | integer | The same tokens on the alternative, at today's billed prices. |
| savings[] | integer | |
| savings[] | number | savedMicros over currentMicros, 0 to 1. |
| totalSavedMicros | number |
Errors
- 401OpenAI shaped error.
- 429OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.