# Limits

Plan around send rates, key limits, request sizes, connections and timeouts

Source: https://zerocopy.sh/docs/swqos/limits

## Submission rate [#send-rate]

The default is 15 sends per second per key at each metro, with bursts of up to one second.
Each metro counts separately, whichever hostname reaches it; `sol.zerocopy.sh` counts
against the metro that serves you. Each transaction uses one submission; queries do
not count. Bundles have [their own rate](/docs/swqos/bundles#rates).

Read a key's rate in the [console](https://console.zerocopy.sh) under **Keys**, in the
**Send rate** column. Higher rates are available on
request through [Requests in the console](https://console.zerocopy.sh). See [Terms 2.2](https://zerocopy.sh/terms#service-2).

For [`rate_limited`](/docs/reference/errors#rate_limited), use `per_second` and `retry_after_ms` when
included. Slow down and wait before retrying; more connections do not raise the rate.

## Sending key slots [#keys]

Each team starts with 10 slots for its own [API keys](/docs/api-keys). Active and paused keys use
slots; revoked keys, expired keys and [white-label customer keys](/docs/account/white-label#customer-keys) do not.
Reaching the limit stops new key creation. It does not stop active keys from sending.

On **API keys**, choose **Request more slots**, enter the **total** you need and explain why.
Any team member can request an increase. The pending request and the decision both appear on
the same page. Only a team admin or developer can create keys after the increase.
If your team already has five open requests, **Your requests** shows which are waiting for a decision.

## Request sizes [#sizes]

| Request | Limit |
| --- | --- |
| Legacy or v0 transaction | 1,232 wire bytes |
| v1 transaction | 4,096 wire bytes |
| Bundle | 1 to 4 transactions, each within its transaction limit |
| JSON-RPC request | 65,536 body bytes; one request per call, batches are refused |

Use base64 for transactions above 1,232 bytes. See [JSON-RPC](/docs/reference/json-rpc),
[HTTP](/docs/reference/http), [QUIC](/docs/reference/quic) and [IPC](/docs/reference/ipc) for exact request formats.

[`too_large`](/docs/reference/errors#too_large) reports the allowed `limit` and the submitted `size`
when known. For a bundle, `index` identifies the affected transaction.

## Connections [#connections]

Reuse connections across submissions.

| Hosted connection | Limit per metro host |
| --- | --- |
| HTTP/HTTPS from one source IPv4 address | 256 open connections combined |
| QUIC using one API key | 32 open connections |

The [local agent](/docs/swqos/agent/local-interfaces#http) does not apply the hosted HTTP limit per source IP.

## Timeouts [#timeouts]

Finish writing request bodies within 2 seconds. If a request times out or disconnects,
its outcome may be unknown: [check the transaction's signature](/docs/swqos/confirmation)
before replacing it.

## Busy metros [#capacity]

For [`overloaded`](/docs/reference/errors#overloaded) or a temporary [`not_ready`](/docs/reference/errors#not_ready),
wait and retry while the transaction is valid, or choose another [metro host](/docs/swqos/endpoints#regions).

## Declared tips [#billing]

[Arrange declared tips](/docs/swqos/tips#declared-tips) with support before using them.
See [Billing](/docs/account/billing) for payment and account guidance.
