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

# Pricing & Ratelimits

> Plans, credits, and rate limits for the Struct API

All plans are billed in **credits** which reference roughly how much compute it costs to run that specific API or Websocket.

<Note>All plans include access to all APIs.</Note>

## Pricing Plans

| Plan       | Price    | Credits   | API keys  | Webhooks  | WS connections |
| ---------- | -------- | --------- | --------- | --------- | -------------- |
| Free       | Free     | 5,000     | 1         | 10        | 1              |
| Hobby      | \$49/mo  | 100,000   | 3         | 5,000     | 50             |
| Startup    | \$299/mo | 1,000,000 | 10        | 25,000    | 250            |
| Scale      | \$999/mo | 5,000,000 | 25        | 100,000   | 1,000          |
| Enterprise | Custom   | Custom    | Unlimited | Unlimited | Unlimited      |

## Rate Limits

| Plan       | Requests per Second | Requests per Minute |
| ---------- | ------------------- | ------------------- |
| Free       | 5                   | 120                 |
| Hobby      | 25                  | 1,000               |
| Startup    | 125                 | 5,000               |
| Scale      | 300                 | 15,000              |
| Enterprise | Custom              | Custom              |

## Webhook Subscriptions

| Plan       | Max webhooks |
| ---------- | ------------ |
| Free       | 10           |
| Hobby      | 5,000        |
| Startup    | 25,000       |
| Scale      | 100,000      |
| Enterprise | Unlimited    |

Webhooks are billed at **0.1 or 0.2 credits per delivered event** depending on the event type. See the [Webhook Pricing](/webhooks/pricing) page for the full per-event rate card.

## Websocket Connections

| Plan       | Concurrent connections |
| ---------- | ---------------------- |
| Free       | 1                      |
| Hobby      | 50                     |
| Startup    | 250                    |
| Scale      | 1,000                  |
| Enterprise | Unlimited              |

## Credits Overview

At the core, all APIs are charged at **1 credit per call**. This can vary depending on internal costs and how much data is being processed.

Example list of exclusions to this rule:

| API Name | Cost                             |
| -------- | -------------------------------- |
| Search   | 1 credit per search type (max 3) |

## Websocket Pricing

Websockets are billed **per message**, with rates that vary by room. Opening a new connection places a 1 credit hold that is charged even if you disconnect immediately. Because credits are fractional, any usage is rounded up to the nearest whole credit at the end of the billing period.

See the [Websocket Pricing](/websockets/pricing) page for the full per-room rate card and example calculations.
