---
title: "Get a cost estimate for an operation"
method: GET
path: "/v1/billing/quote"
---

# Get a cost estimate for an operation

`GET /v1/billing/quote`

## 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/billing/quote`
- Auth: none declared

## Query parameters

- `operation` string, required
- `billing_type` string, required
- `pages` integer, required
- `tenant_id` string, required
- `extraction_mode` string

## Headers

- `X-API-KEY` string, nullable

## Response `200`

Successful Response

- QuoteResponse
  - `currency` string
  - `estimated_cost_usd` number, required
  - `estimated_credits` integer
  - `credits_per_page` integer
  - `pricing_model` string, required
  - `rate_per_page_usd` number, required
  - `flat_cost_usd` number, nullable
  - `pages` integer, required
  - `free_pages_applied` integer
  - `free_pages_remaining_after` integer
  - `balance_usd` number, required
  - `balance_credits` integer
  - `balance_sufficient` boolean, required
  - `breakdown` string, 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)
