---
title: "Get current and historical provider pricing (admin only)"
method: GET
path: "/v1/admin/provider-pricing"
---

# Get current and historical provider pricing (admin only)

`GET /v1/admin/provider-pricing`

## Request

- Base URL: `https://api.clichefactory.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.clichefactory.com/v1/admin/provider-pricing`
- Auth: none declared

## Headers

- `X-API-KEY` string, nullable

## Response `200`

Successful Response

- ProviderPricingResponse
  - `current` ProviderPricingItem[], required
    - `id` integer, nullable
    - `provider` string, required
    - `model_name` string, required
    - `prompt_token_cost` number, nullable
    - `completion_token_cost` number, nullable
    - `effective_from` string, date-time, nullable
    - `note` string, nullable
  - `history` ProviderPricingItem[], required
    - `id` integer, nullable
    - `provider` string, required
    - `model_name` string, required
    - `prompt_token_cost` number, nullable
    - `completion_token_cost` number, nullable
    - `effective_from` string, date-time, nullable
    - `note` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/clichefactory/apis/aio-server.md) · [All operations](https://skmtc.dev/clichefactory/apis/aio-server/llms.txt) · [OpenAPI document](https://skmtc.dev/clichefactory/apis/aio-server/revisions/9bd59f9bbb31?raw)
