> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usefeyn.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Call https://api.feyn.ai only; the hosts behind it are not public.
> Authenticate with a workspace API key in the Authorization header: `Authorization: Bearer fn_...`. Keep keys server-side.
> For chat completions, use the official OpenAI SDK with base_url https://api.feyn.ai/v1 and a model ID from GET /v1/models.
> On 429, wait for the Retry-After header before retrying. Failed requests are not charged.

# Credits

> Self-serve workspaces prepay with credits; usage comes off the balance as it happens.

New workspaces start with a \$5 starter grant (once per person). Add more on the dashboard's [Billing](https://platform.feyn.ai/billing) page by card, or with a credit code. You can also turn on auto-recharge to top up off-session when the balance runs low.

The billing page shows your balance and a ledger of every grant, purchase and hour of usage.

## Prices

| Model | Price |
| - | - |
| Pulpie | $1.00 per 1,000 requests; $0.50 per 1,000 past 1M requests in a calendar month (UTC) |
| MultiMatte | \$2.00 per 1,000 images |
| Jiffy | \$0.10 per 1M input tokens |
| Chat models | Per million input and output tokens, as listed for each model |
| [Judges](https://docs.usefeyn.com/observability/judges.md) | \$0.15 per 1M input tokens; output tokens aren't charged |

Failed requests are not charged.

## When the balance runs out

At \$0 the API answers `402` with a `billing_error`, and calls start working again as soon as credits are added. A model with no listed price is available on a contract only, and answers `403` with a `permission_error`.

The gateway checks your balance every few seconds, so a burst of requests right at \$0 can take the balance slightly below zero.

## Contracts

For volume pricing, private fine-tuned models or invoicing, contact us at [feyn.ai](https://feyn.ai).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.