---
title: "Create new provider pricing row (admin only, append-only)"
method: POST
path: "/v1/admin/provider-pricing"
---

# Create new provider pricing row (admin only, append-only)

`POST /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

## Request body

- CreateProviderPricingRequest
  - `provider` string, required
  - `model_name` string, required
  - `prompt_token_cost` number, nullable
  - `completion_token_cost` number, nullable
  - `note` string, nullable

## Response `201`

Successful Response

- ProviderPricingItem
  - `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)
