Skip to content

Pricing API

GET /api/v1/admin/pricing · operation resolvedModelPrices

Automatic advisory prices for each exact provider connection and upstream model. Fetches verified public sources with bounded cache. Source errors or absent rates remain explicit unknown; manual YAML fallback is labelled and requires manual_price_catalog. Never returns a bill, historical spend or budget. With cost_adjustments, also returns adjustments (discounts and margins per provider or global, ADR 0146) that valued usage applies on top of these rates. Requires automatic_price_catalog and catalog:read; team roles denied.

Authentication: adminSession

Responses

Status Description Body
200 Resolved advisory price snapshot; private no-store application/json: object
401 Missing or invalid bearer key application/json: Error
403 Model not allowed application/json: Error
404 Feature disabled application/json: Error

Response 200 fields:

  • application/json: object
    • generated_at (string (date-time), required)
    • currency ("USD", required)
    • unit ("per_million_text_tokens", required)
    • items (array of ResolvedPrice, required)

m7gtw[email protected]