# CheapAIAPI API documentation

CheapAIAPI provides image, text, and video generation APIs for production workloads.
The OpenAPI specification is the authoritative public HTTP contract.

## Developer resources

- [Interactive CheapAIAPI API reference](https://cheapaiapi.org/docs)
- [CheapAIAPI OpenAPI specification](https://cheapaiapi.org/openapi.json)
- [Models and account-specific pricing](https://cheapaiapi.org/v1/models)
- [Public models and pricing pages](https://cheapaiapi.org/models/)
- [Public starting prices in Markdown](https://cheapaiapi.org/pricing.md)
- [Public starting prices as JSON](https://cheapaiapi.org/pricing.json)
- [Agent integration guide](https://cheapaiapi.org/llms.txt)
- [Request access or integration help](https://cheapaiapi.org/contact)

## Pricing and access

CheapAIAPI is a prepaid, usage-based API with no monthly or annual subscription.
The public catalog contains real starting prices for new customers. Customers
with existing production volume may qualify for lower account-specific rates by
sending the exact model, current monthly usage, and average and peak RPS through
[CheapAIAPI contact](https://cheapaiapi.org/contact).

## Authentication

Send the issued API key as `Authorization: Bearer sk_cheap_...`. API keys are issued after account approval.

## Recommended generation flow

1. Call `GET /v1/models` to discover the SKUs and prices enabled for the account.
2. Submit a generation request with a stable `Idempotency-Key`.
3. Store the returned job `id`.
4. Treat `queued` and `running` as pending, then poll the documented job endpoint or use a signed terminal webhook.
