Listing the model pricing¶
Note
The Admin API requires no token. The Admin API is typically protected at the network level.
Send the request as GET to the path /admin/v1/model-prices.
Description¶
Returns all stored per-model pricing records used for spend tracking.
Example¶
Example of the response body:
{
"prices": [
{
"provider": "openai",
"model": "gpt-4o",
"input_per_1k": 0.005,
"output_per_1k": 0.015
}
]
}
Responses¶
The endpoint answers the request with the following status codes:
| Status code | Description |
|---|---|
200 |
Pricing records. |