Tawa docs

Paths and limits

The provider paths the Tawa Guard proxy scans or forwards, and its default request, rate and body limits.

Paths the proxy serves

Scanned, on POST only:

APIPaths
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:

FormatPaths under /v1/
OpenAImodels, embeddings, moderations, audio, images, files, batches, fine_tuning
Anthropicmodels, 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

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

LimitDefaultWhen exceeded
Requests in flight per token256429
Sustained request rate per token50 per second, burst of 100429 with Retry-After
Invalid token attempts per source address30 per minute429 with Retry-After: 60
Requests in flight across the proxy20,000503 with Retry-After: 1
Scanned request body32 MiB413
Unscanned request body64 MiBThe request fails
Non-streaming response buffered for scanning16 MiBHandled by Fallback

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

An entry with provider limits reads the request body, so the body must be uncompressed JSON within the scanned body limit.

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.

On this page