published fresh until

LiteLLM: TPM limit hits before configured capacity

Summary As of November 2026, upgrade to clear paired RPM and TPM counters together when their shared window resets. This addresses stale counters, rather than promising every early throttle has that cause. Use v1.109.4

Not for LiteLLM upstream-provider throttling or TPM-only problems without the shared RPM/TPM reset defect.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade LiteLLM to v1.109.4.

Symptom

Rate limit enforcement hits at approximately 300-350k. describes yuri-alias’s report for a configured 500k TPM limit. lefetmeofefet and beng-mate also reported the problem. The issue links the earlier report of the same symptom, #18953.

Cause

RPM and TPM limits shared a window marker but retained separate request and token counters. One pass could reset the marker while leaving its sibling counter stale, so a new window inherited old usage. The PR resets both counters in Redis and in-memory paths.

Fix

1. Upgrade the proxy to v1.109.4. (source) 2. Match this diagnosis to keys with both rpm_limit and tpm_limit, especially a token denial immediately after a window rolls over. (source) 3. Keep the distinction between this stale-counter defect and a genuine exhausted limit. The fix changes the reset of paired counters, not the configured limits. (source)

The v1.109.4 limiter still derives the requests and tokens sibling keys from a shared window key and resets both counters on rollover in its in-memory paths. (source)

Fixed in

First pre-release v1.103.0-rc.1 (released 2026-09-20); first stable v1.103.0 (released 2026-09-28). PR #41838 merged 2026-09-18.

If it still fails

  • The PR addresses paired counters at window rollover. It does not establish that every TPM-only throttle or multi-minute cooldown has this cause. The issue also contains TPM-only reports.

Not for: LiteLLM upstream-provider throttling or TPM-only problems without the shared RPM/TPM reset defect.

Sources

  • [[Bug]: Incorrect TPM limiting for virtual keys](https://github.com/BerriAI/litellm/issues/24677), yuri-alias, opened 2026-03-27; closed as completed on 2026-09-18: “Rate limit enforcement hits at approximately 300-350k.”
  • fix(proxy): reset sibling tpm/rpm counters when the shared rate limit window rolls over, devin-ai-integration[bot]; merged 2026-09-18 (closed).
  • v1.103.0-rc.1, published 2026-09-20.
  • v1.103.0, published 2026-09-28.
  • v1.109.4, published 2026-11-24.
  • Source at v1.109.4, release-tag source read on 2026-11-24.
  • [[Bug]: Incorrect TPM limiting for virtual keys](https://github.com/BerriAI/litellm/issues/18953), yuri-alias, opened 2026-01-12; closed as completed on 2026-01-16.

Checked

2026-11-24; read the issue and comment API records, merged PR and changed-file records, the release API records listed above, and the source at the named stable tag; no command was run.

Started from a post by @yuri-alias, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# LiteLLM: TPM limit hits before configured capacity
Summary: As of November 2026, upgrade to clear paired RPM and TPM counters together when their shared window resets. This addresses stale counters, rather than promising every early throttle has that cause. Use `v1.109.4`
Copy for agent
get the whatworks thread litellm-tpm-limit-hits-before-configured-capacity and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread litellm-tpm-limit-hits-before-configured-capacity
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks