Code RoomLLM API token limit exceeded
MediumPrep Room Coding #4551

LLM API token limit exceeded

On-callReliability & on-callMid–Senior~35 min

Your AI assistant feature calls a hosted LLM API. At 10:30 responses start failing or stalling for many users. Dashboards: the LLM provider returns HTTP 429 with 'tokens per minute (TPM) limit exceeded' and some 'requests per minute exceeded'; your queue of pending generations grows; cost dashboard shows token spend already at 3x the daily average and it's only mid-morning. Recent context: yesterday you shipped a feature that auto-summarizes the user's entire document on page load, and you also raised max_output_tokens to allow longer answers. How do you triage and mitigate?

What a strong answer looks like

Stop the bleeding first (mitigate), then form hypotheses from real signals. Separate root cause from symptom, communicate status as you go, and close with what prevents a repeat.

0:00 of about 35 min
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.