API prices
get_pricesThe API price catalog: one row per SKU key (provider + model + tier) at its newest revision, in USD per million tokens (input_per_mtok, cached_input_per_mtok, output_per_mtok; null = the vendor publishes no figure), plus delta vs. the previous revision and removed=true for a delisted SKU. matrix is the like-for-like view: one flagship / balanced / economy cell per provider on the standard tier, each citing the vendor sentence (basis) that justifies the mapping, or a stated gap. OpenAI prices come from its pricing.md (Standard / Batch / Flex / Fast tiers, long-context bands as their own tiers); its catalog page prints none. context_window_source is set when the window comes from another page than the row cites (Google prints windows on its model pages, not its pricing page). cross_check is OpenRouter: snapshotted as a drift check on the vendor pages, never a price of record. Optional provider filter narrows rows and matrix to one lab. reach says how far each lab’s price history goes back. An as_of before our first fetch is answered from the Internet Archive’s captures of each lab’s own pricing page (source_id wayback:, point_in_time says which capture), with an empty matrix. Every row carries source_url (the exact page it was read from) and fetched_at (UTC), the fetch that produced its current values; it only moves when they change. A current price row also carries checked_at, the newest read of that page that still showed it, or null. as_of is the newest poll the payload reflects. computed_at is when it was built: a payload is reused until new data arrives, so it can be older than your request. license names the data license, split by age: our compilation and derived numbers from the last 90 days are CC BY 4.0, older ones CC BY-NC 4.0 (non-commercial use only), except what we published before 2026-11-04, which stays CC BY 4.0. A result with as_of older than 90 days is labeled CC-BY-NC-4.0 in point_in_time.license. Upstream data keeps its own license.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Optional point in time, an ISO-8601 timestamp with a zone (e.g. 2026-10-01T12:00:00Z): the payload as the terminal knew it then, rebuilt from stored history, with point_in_time saying how (method) and which keys the change log cannot confirm (unverified). Omitted, the payload is the current one. | |
| provider | No | One of the nine tracked labs: openai, anthropic, google, xai, meta, mistral, deepseek, alibaba, moonshot. |