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

# Get a cost estimate for a training job

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

## Query parameters

- `tenant_id` string, required
- `billing_type` string
- `optimizer_tier` string, nullable
- `total_examples` integer
- `max_metric_calls` integer, nullable

## Headers

- `X-API-KEY` string, nullable

## Response `200`

Successful Response

- TrainingQuoteResponse
  - `base_credits` integer, required
  - `usage_credits` integer, required
  - `total_credits` integer, required
  - `total_usd` number, required
  - `breakdown` string, required
  - `sufficient_balance` boolean, required
  - `current_balance_credits` integer, 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)
