# Paths and limits (/docs/proxy/reference/paths-and-limits)



## Paths the proxy serves [#paths-the-proxy-serves]

Scanned, on `POST` only:

| API              | Paths                                   |
| ---------------- | --------------------------------------- |
| OpenAI format    | `/v1/chat/completions`, `/v1/responses` |
| Anthropic format | `/v1/messages`                          |

The form without `/v1` is accepted too. Each entry serves the paths of its own
format: OpenAI-format entries, which include OpenRouter and the other built-in
providers except Anthropic, serve the OpenAI paths, and Anthropic-format entries
serve `/v1/messages`.

Forwarded without scanning:

| Format    | Paths under `/v1/`                                                                          |
| --------- | ------------------------------------------------------------------------------------------- |
| OpenAI    | `models`, `embeddings`, `moderations`, `audio`, `images`, `files`, `batches`, `fine_tuning` |
| Anthropic | `models`, `messages/count_tokens`, `messages/batches`, `files`                              |

Any other path returns `404` with the code `tawa_path_not_proxied`. That includes
`GET` requests to `/v1/responses`.

## Limits [#limits]

These are the proxy's defaults. They sit well above normal traffic and exist to
stop one token or one source from affecting others.

| Limit                                        | Default                     | When exceeded                                                               |
| -------------------------------------------- | --------------------------- | --------------------------------------------------------------------------- |
| Requests in flight per token                 | 256                         | `429`                                                                       |
| Sustained request rate per token             | 50 per second, burst of 100 | `429` with `Retry-After`                                                    |
| Invalid token attempts per source address    | 30 per minute               | `429` with `Retry-After: 60`                                                |
| Requests in flight across the proxy          | 20,000                      | `503` with `Retry-After: 1`                                                 |
| Scanned request body                         | 32 MiB                      | `413`                                                                       |
| Unscanned request body                       | 64 MiB                      | The request fails                                                           |
| Non-streaming response buffered for scanning | 16 MiB                      | Handled by [Fallback](/docs/proxy/configure/scanning-and-blocking#fallback) |

A streaming response counts as in flight until the stream ends.

An entry with [provider limits](/docs/proxy/routing/openrouter-provider-limits)
reads the request body, so the body must be uncompressed JSON within the scanned
body limit.

## Region [#region]

The proxy runs in the UK (London). Requests from other regions cross the network
to it, and then on to the provider. Plan for that when you measure latency.
