Public pricing export

Returns SDK-compatible pricing for all models in that database config. No auth. Cached for 5 minutes.

get/api/pricing/export/{dbConfigId}

Path parameters

dbConfigIdstring uuid required

Response

pricing.json body

object required

Example response

{
  "chat": {
    "gpt-4o": {
      "promptPrice": 0.0025,
      "completionPrice": 0.01
    }
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.