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

# Pricing

> Understand API credits and billing.

export const checkoutUrl = 'https://agentfirst.dev/#pricing';

export const companyName = 'Agent First';

## Credit system

Access to **{companyName}** services is based on prepaid credits. Your credit balance is decremented
only for successful API calls or successful Chrome DevTools Protocol (CDP) sessions. Most calls cost
**1 credit** each or are **free**, except for substantially longer-running AI calls:

| Service                             | Base credits |
| :---------------------------------- | :----------- |
| <Link href="search">Search</Link>   | 1            |
| <Link href="ai">AI</Link>           | 5            |
| <Link href="browser">Browser</Link> | 1            |
| <Link href="usage">Reporting</Link> | 0 (free)     |
| Administration                      | 0 (free)     |

CDP sessions are billed by time, rounded down to the nearest credit:

| Service                                 | Base credits |
| :-------------------------------------- | :----------- |
| <Link href="browser">Browser CDP</Link> | 10 / minute  |

A few premium parameters multiply the base cost of calls or sessions that use them:

| Service       | Key          | Value                 | Credit multiplier |
| :------------ | :----------- | :-------------------- | :---------------- |
| Browser (CDP) | `difficulty` | `medium`              | 2                 |
| Browser (CDP) | `difficulty` | `high`                | 6                 |
| Browser       | `speed`      | `ridiculous`          | 2                 |
| Browser       | `speed`      | `ludicrous` (planned) | 4                 |

For example, calling the browser service successfully with both `difficulty=medium` and
`speed=ridiculous` params would cost **4 credits** in total:

<Latex>1 base credit x 2 (difficulty multiplier) x 2 (speed multiplier) = 4 total credits</Latex>

<Card title="Your API credits" icon="link" href={checkoutUrl} horizontal>
  Create or fund an account.
</Card>
