# Rate-Limit Headroom Calculator

> Free tool #22

See how close your traffic runs to your RPM/TPM/RPD limits — which one bites first, and how much you can grow before it does.

## Three ways to use it

**Web** — the interactive page: https://telemeter.ai/tools/rate-limit-headroom

**MCP** — a `tools/call` on the public MCP server at https://telemeter.ai/mcp (tool name: `rate-limit-headroom`), read-only, no key required.

**REST** — `POST https://telemeter.ai/api/tools/rate-limit-headroom` with a JSON body matching the input schema below:

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "limitRpm": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000000
    },
    "limitTpm": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000000000
    },
    "limitRpd": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 1000000000
    },
    "avgRequestsPerMinute": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000
    },
    "avgTokensPerRequest": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 10000000
    },
    "peakMultiplier": {
      "default": 3,
      "type": "number",
      "minimum": 1,
      "maximum": 20
    }
  },
  "required": [
    "limitRpm",
    "limitTpm",
    "avgRequestsPerMinute",
    "avgTokensPerRequest",
    "peakMultiplier"
  ],
  "additionalProperties": false
}
```

[Open the interactive page](https://telemeter.ai/tools/rate-limit-headroom) · [Every tool and doc, machine-readable](https://telemeter.ai/llms.txt)
