prices
Retrieve the USD per-million-token price table used to compute costs, including user config overrides and the date each rate was last verified.
Instructions
The price table every figure is computed from, in US dollars per million tokens, with the date it was last verified. Includes any overrides from the user's config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | always usd_per_million_tokens | |
| models | Yes | ||
| verified | Yes | the date the built-in table was last checked against the vendors' price pages | |
| scan_error | No | why the most recent scan attempt failed, in which case the figures are from the last successful scan | |
| age_seconds | Yes | seconds since that scan; the server rescans when a tool is called more than 60 seconds after the last attempt, or on refresh | |
| ingested_at | Yes | RFC 3339 time of the last successful transcript scan; empty if none has succeeded yet |