[BUG] claude.ai chat unusable for entire account: server-side ~4.8M-token blob injected into prompt assembly (all models, all surfaces, 1+ week) — follow-up to #62175

Status Open
Maintainer reply None cached
Activity 4 comments · opened Jul 17, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Filing here because claude.ai has no public bug tracker and this error class is already documented in #62175 (closed as not planned). Anthropic support has not responded for 4+ days (support conversation ID 215475070708461). This report is precise enough for engineering to root-cause from logs.

Since ~2026-07-10, nearly every message in Claude chat fails for my account with:

This request exceeds Claude's context limit by about N tokens. Try turning off some tools or shortening your message.
  • Happens on brand-new, empty conversations with a 4-character prompt ("test")
  • All models (Haiku 4.5, Opus 4.5 verified via API; all models via UI)
  • All surfaces: claude.ai web, Claude Desktop, iOS app, incognito browser sessions
  • N drifts between 4,625,481 and 5,863,234 tokens over the week
  • Claude Code and Cowork on the same account work normally

Diagnosis via API bisection (2026-07-17, 09:20-10:00 UTC), all on fresh conversations:

  • Overage is identical across models (Haiku 4.5 vs Opus 4.5: delta of 10 tokens) -> a single fixed blob of ~4.84M tokens (~19 MB) is injected server-side during prompt assembly
  • Fully independent of the client payload: fails identically with tools: [] on an API-created conversation
  • Ruled out while failing: all 11 account connectors disconnected, memory deleted + both memory toggles off, skills/plugins/styles < 15 KB total, local desktop config removed (also fails on mobile and incognito)
  • The blob intermittently disappears for minutes and returns: directly observed one ~7-minute success window (09:40-09:47 UTC) in which identical requests suddenly succeeded, then failed again at 09:55 with a new overage value (4,625,481, three identical runs). Matches the past week's pattern of rare single messages succeeding
  • Side effect: account memory NEVER rebuilds after deletion (memory endpoint stays empty for days) - consistent with background memory/summarization jobs dying on the same oversized context

SSE error detail:

event: error
data: {"type":"error","error":{"type":"invalid_request_error","message":"This request exceeds Claude's context limit by about 4,641,642 tokens. Try turning off some tools or shortening your message.","details":{"error_visibility":"user_facing"}},"request_id":"req_011Cd7Qwe45kCCijPaknN2wb"}

Request IDs for log correlation (2026-07-17): failing req_011Cd7Qwe45kCCijPaknN2wb (~09:25 UTC, tools:[], Haiku 4.5, overage 4,641,642) vs succeeding chatcompl_011Cd7RQ5v4VstraeuxQsV6p (~09:40 UTC, same account, near-identical payload). Diffing what prompt assembly injected between these two requests should directly reveal the ~19 MB object.

This is critical: the primary paid product (chat) is completely non-functional for the account, and the cause is invisible to every user-facing setting and API.

What Should Happen?

A brand-new empty conversation with the prompt "test" and zero tools must never exceed the context limit. Whatever per-account object prompt assembly injects (index/summary/cache) must be size-bounded, and the error message should say WHAT is consuming the context - a week of methodical user-side debugging (connectors, memory, skills, plugins, styles, models, devices) could not reveal the source because it is invisible to every user-facing setting.

Ask to Anthropic: escalate to engineering, diff the two referenced requests in prompt-assembly logs, identify and clear/bound the injected object for org 73ffd8f5-75cc-4c02-a683-598bbc758ba2, and check the periodic rebuild job that makes the blob vanish for minutes and return (likely the same job preventing memory from rebuilding).

Error Messages/Logs

event: error
data: {"type":"error","error":{"type":"invalid_request_error","message":"This request exceeds Claude's context limit by about 4,641,642 tokens. Try turning off some tools or shortening your message.","details":{"error_visibility":"user_facing"}},"request_id":"req_011Cd7Qwe45kCCijPaknN2wb"}

Observed overage values: 5,863,234 (desktop, Jul 16) / 4,668,050 (web, Jul 16) / 4,660,121-122 (web UI, Jul 17) / 4,657,180 (API replay) / 4,641,642 (tools:[], Haiku 4.5) / 4,641,652 (tools:[], Opus 4.5) / 4,625,481 (3 identical runs, Jul 17 09:55 UTC)

Steps to Reproduce

  1. Log into the affected claude.ai account (account 825ad336-6e6d-4dfa-92d9-7dad025a8070, org 73ffd8f5-75cc-4c02-a683-598bbc758ba2 - Anthropic staff can verify server-side; this is not reproducible on arbitrary accounts, which is the point: it is corrupted per-account server state)
  2. Start a brand-new chat on claude.ai (web, desktop or iOS; incognito works too)
  3. Send the message "test"
  4. Error appears immediately: "This request exceeds Claude's context limit by about ~4.6M tokens"
  5. Equivalent API repro: POST /api/organizations/{org}/chat_conversations/{uuid}/completion with {prompt:"test", tools:[], attachments:[], files:[], model:"claude-haiku-4-5-20251001", rendering_mode:"messages", parent_message_uuid:"00000000-0000-4000-8000-000000000000", timezone:"Europe/Berlin"} on a freshly created conversation -> same error
  6. Repeat for minutes/hours: occasionally (rarely) a request succeeds for a few minutes, then the failure returns with a slightly different overage value

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

n/a - claude.ai chat product; worked normally until ~2026-07-10

Claude Code Version

n/a - bug is in the claude.ai chat backend (prompt assembly); Claude Code itself is unaffected on this account

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Related: #62175 (closed as not planned) documents the same error string caused by connector schemas; my case is account-level and persists with ZERO connectors - I posted the full bisection as a comment there before filing this. Support conversation ID: 215475070708461 (Fin escalated to human team 4 days ago, no response). Public thread with screenshots: https://x.com/iret77/status/2077906079732715951

Happy to provide the full markdown report, additional request IDs, or run further diagnostics on request - the account is available for server-side inspection.

View original on GitHub ↗

4 Comments

happyarts · 1 month ago

Correction/clarification on the model comparison (thanks @iret77 for catching this on X): "Opus 4.5" was tested via the API, not the UI picker. The completion endpoint still accepts claude-opus-4-5-20251101 even though it is no longer offered in the model picker — re-verified just now: it returns the same context-limit error (overage 4,625,492) instead of an availability error. The endpoint does validate availability in general: claude-sonnet-4-5-20250929 is rejected with 403 "This model isn't available right now."

New datapoint from the re-run (all three probes within the same minute, identical minimal payload with tools: []):

| model | overage |
|---|---|
| claude-haiku-4-5-20251001 | 4,625,481 |
| claude-opus-4-5-20251101 (API-only) | 4,625,492 |
| claude-fable-5 (current default) | 5,823,046 |

The current default model shows ~1.198M tokens MORE overage for the same blob — which finally explains why the desktop app consistently reported ~5.86M while web (Haiku) reported ~4.66M: the difference is the model family (presumably a different tokenizer over the same ~19 MB injected object), not desktop-side tools.

Also of note: the Haiku overage has been frozen at exactly 4,625,481 for ~5 hours now (it was drifting downwards this morning: 4,660,121 → 4,657,180 → 4,641,642 → 4,625,481, with one ~7-minute success window in between). The blob is present for every model offered on the account.

michjeff1992 · 1 month ago

Yeah this is B.S. - Not that there are issues but the complete lack of actionable support.

<img width="1460" height="767" alt="Image" src="https://github.com/user-attachments/assets/59e458b7-8cf1-40be-9b9c-8763c70be3ab" />

Been happening to me as well for atleast 3 days. Removed everything. No connectors. No skills. No memory. Usually can't send even send a 1-word message as system is injecting an absurd number of tokens. I got 1 thru last night (literally the word "Test") to Haiku in Chat and it cost $4. Also escalated via Fin to no avail.... Why is this being marked as invalid, Anthropic??

happyarts · 1 month ago

@michjeff1992 Thank you — your report matters for two reasons beyond confirmation:

  1. This is not per-account corruption. Two independent accounts with the same server-side injection means a bug class, not a one-off.
  2. Your "$4 for a single word" is the critical datapoint. It means the injected blob doesn't just block requests — when it fits under the model's context limit, it gets processed and billed. $4 at typical input pricing is roughly 4M tokens, which matches the blob size measured on my account (4.6M–5.8M depending on model family). For usage-billed accounts this is a billing incident, not just an outage.

Fresh datapoints from my account (2026-07-19, 07:12 UTC, identical minimal payload, tools: []): Haiku 4.5 overage 4,642,007 (was 4,625,481 on 07-17), claude-fable-5 5,845,168 (was 5,823,046). The blob is growing again (~8k tokens/day) and the outage is now at day 9.

To triage: this was labeled invalid, presumably because it concerns claude.ai rather than the CLI. Understood — but claude.ai has no public bug tracker, the in-product support flow has been unresponsive for 6+ days (conversation ID 215475070708461), multiple paying accounts are affected, and at least one is being billed for injected tokens. Where should this be filed so it reaches the serving/prompt-assembly team?

If you are affected, please comment with the following so we can triangulate what the injected object is:

  1. When did it start (date)?
  2. Overage value(s) from the error message — and do they drift over hours/days?
  3. Which surfaces/models (web/desktop/mobile, which models in the picker)?
  4. Do you use Cowork and/or Claude Code heavily? Scheduled tasks? Many artifacts?
  5. If you deleted memory: does it ever rebuild?
  6. How many connectors are/were configured?
  7. Billing type (Max/Pro flat vs usage-based) — and if usage-based, are you being charged for the inflated requests?
happyarts · 1 month ago

Update: resolved on my account — silently, with zero communication from Anthropic.

As of today (2026-07-21, ~10:00 UTC) chat works again on my account. Verified end-to-end: 8/8 fresh API completions with tools: [] succeeded across Haiku 4.5 and the default model, and a real UI message returned a normal response. No context-limit error. This is genuine, not one of the intermittent success windows — those never survived more than a few minutes, this has been stable for the full test run.

Likely root cause (correlational, not confirmed by Anthropic): the account's memory backend changed state right around the fix. The memory endpoint now shows updated_at: 2026-07-19T15:04:56Z — it was null for the entire outage (nothing had written to it, matching "memory never rebuilds"). Memory settings now report memory_mode: "melange" with classic_mode_available: false, i.e. the account was migrated off the classic memory system onto the new one. This fits the hypothesis in the original report: the ~19 MB injected object was tied to the old memory/summarization index, and migrating/resetting that backend cleared it. That would also explain the daily size drift (the index was still being rewritten) and why deleted memory never rebuilt (the rebuild job was choking on the oversized object).

For anyone still affected (@michjeff1992): check GET /api/organizations/{org}/memory — if updated_at is null, your memory backend is likely still stuck. A migration to melange memory mode appears to be what fixed it here.

To be clear about what this resolution does not include:

  • No human response to support conversation 215475070708461 (now 10+ days).
  • No response to two emails.
  • No acknowledgement that this was a real bug — the issue is still labeled invalid.
  • No word on the billing side: @michjeff1992 was charged ~$4 for a single-word message while the blob was being processed. A silent fix does not refund that.

Leaving this open and documented so the next person who hits the "~4M token" error can find the memory-backend correlation, and as a record that this was a real, reproducible, multi-account server-side bug — not invalid.