---
title: "Get model pricing from Postgres"
method: GET
path: "/v1/pricing/{model_name}"
---

# Get model pricing from Postgres

`GET /v1/pricing/{model_name}`

## 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/pricing/{model_name}`
- Auth: none declared

## Path parameters

- `model_name` string, required

## Headers

- `X-API-KEY` string, nullable

## Response `200`

Successful Response

- PricingResponse
  - `model_name` string, required
  - `input_per_1m` number, required
  - `output_per_1m` number, required
  - `thinking_per_1m` number, required

## 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)
