The figures OSPP measures
Tokens, cost, duration, errors, tool-call validity and the data-check result are measured by OSPP on every call. You report nothing.
One rule#
OSPP measures from what it executes. You do not report, time or approve anything for a figure to exist.
| Figure | Where it comes from |
|---|---|
| Tokens | The provider's usage on the gateway's call |
| Cost | The tokens at OSPP's price for the model, in millionths of the currency, rounded up per call. Where OSPP supplies the model, that price is the provider's list price plus 15% on model use, and the cost figure includes it |
| Duration | How long the call took |
| Errors | Calls that ended without a passport, with their reason |
| Tool-call validity | For calls with tools: how many tool calls the model returned, and how many of them name a tool that was not declared or carry malformed arguments |
| Data check | The result of the Security check on the call's content, when it is switched on. See Security |
Tokens and cost are written on the passport and can be recomputed by a verifier: each usage record hashes to the usage record hash the certificate carries, and the cost follows from the record's tokens and the price snapshot inside it.
Per node, per model#
The Platform adds the figures up per node and per model: the number of calls, passports, errors, cost, median duration, tokens, tool-call validity and the outcomes reported. A node whose calls name two models shows the figures of both, side by side. See calls.
The same figures are available from the API: GET /v1/calls lists the calls, GET /v1/calls/summary?range=24h|7d|30d|90d|365d gives the figures per node and model.
Calls that were run again on another model for a comparison are counted apart. They are billed as normal calls and stay out of the node's production figures.
Tool-call validity#
OSPP checks every tool call a model returns against the tools the call declared. A tool call counts as invalid when it names a tool that was not declared, or when its arguments are not a well-formed JSON object. The figure is the share of valid tool calls per node and model.
It is a check of form. It does not say that the model chose the right tool or filled in the right values.
For calls with tools, send X-OSPP-Trace so the round trips of one agent task can be found together; see tool calling.
Prices#
OSPP publishes a price per model, per million input tokens and per million output tokens. GET /models returns the price of every model you can call; see models. Costs are counted in millionths of the currency, because a cheap model's call costs a fraction of a cent. A call of a model without a price shows UNPRICED.
Who supplies the model decides what the model use costs you:
- OSPP supplies the model. The call is billed at OSPP's price list: the provider's list price plus 15% on model use. The cost figures include that 15%.
- Your own provider key. An organisation can store its own key for a provider. The model use is then paid to the provider directly and is not charged by OSPP.
See what is billed.
Time saved#
A passport can also carry OSPP's own estimate of the human time a call stands in for: ESTIMATED with a low, central and high range in whole minutes, NO_ESTIMATE when no estimate was ready at the time of the call, or WORKLOAD_UNKNOWN when the input was sealed and could not be counted. It is a declared estimate, not a measurement of anybody's hours. The Finance statement lists it last, labelled as an estimate.
Figures are not a judgement#
The figures say what a call cost and how it ran. They do not say whether the answer was good. For that, report outcomes and compare models in the Model Arena.
Where the figures show#
The passport's public page, the Platform's calls page, passport management and Finance. The answer of every call carries its own measurements under ospp in the body; see responses.
