Why AI Agents Get Slow in Long Chats
Is your AI agent slow in long chats? It rereads the whole history before each reply. A quick two-chat test shows if chat length is really the cause.
By Samer Shaker
An AI agent slow in long chats is often carrying the whole history into every reply, so the first word shows up late. A fresh chat fixes only that kind of slow. A quick two-chat test tells you which kind you have.
I learned this after one chat grew to 982 messages and replies took up to 18 minutes. My plan hit its usage limit that same day, so the long chat was not the only suspect.
Key Takeaways
- A long chat can make the first word come late.
- Send one tiny request to the long chat and a new chat. If both are slow, chat length is not the cause.
- When every agent slows at once, check your plan's usage limit first.
- Ask for a short summary instead of pasting big files.
- Move work to a fresh chat with a handoff note you checked yourself.
Every Reply Starts With Reading the Chat Again
In a standard agent setup, each turn sends the model the full chat plus your new message, as Anthropic's context window guide explains. Hundreds of messages get read for a one-line request.
That work happens before the first word. OpenAI's latency guide notes that a long prompt can delay the first word. So a long chat shows up as a late start, not slow typing.
Providers can also skip work they already did, which is called caching. OpenAI's prompt caching guide says it works only when the start of the chat matches exactly. It has limits. A public bug report on OpenAI's Codex, a coding agent, timed the same tiny prompt in two chats in 2026. The long chat had grown for six months and carried 209,857 tokens each turn. It took 42.3 seconds to start replying. A fresh chat took 2.9 seconds.
Yet 99.73% of the long chat was already cached, so rereading was not the whole story.
If your agent does a safe first task for an agent, such as quote follow-ups, that wait comes back on every request.
Send One Small Request to Two Chats and Compare
To learn if chat length is the problem, time one tiny request in the long chat and in a new one.
- Pick a tiny request, such as "Reply with OK."
- Send it in the long chat. Count the seconds until the first word shows up.
- Open a brand-new chat with the same agent and send the same request.
- Repeat it two or three times in each chat and compare the middle result.
In the Codex report, the fresh chat started in about 3 seconds and the long one in 42. If your two waits are close, look elsewhere.
On Telegram: time the whole wait. To start fresh, try a command such as /new.
If only the long chat is slow, its length is the likely cause. If both are slow, look at the model, the provider or a usage limit. An explainer from outlier.host agrees. If the wait grows with thread length and resets when you start over, the chat is too long.
What a slow start, slow typing and a laggy screen each mean
| What you see | Likely cause | What to do |
|---|---|---|
| First word is late in the long chat only | The long chat | Move the work to fresh chats |
| Both chats are slow to start | The model, the provider or a usage limit | Check your plan |
| Words come slowly once they start | The model or a busy provider | A new chat will not help |
| The screen lags | The app showing a huge chat | Open a new chat |
When Both Chats Are Slow, a New Chat Will Not Save You
A troubleshooting guide from murage.ai lists the usual suspects. One is a model that thinks first. Another is a busy provider. A third is a plan out of usage. Rules, skills, memory and apps also get read on every turn, even in a fresh chat.
The usage limit caught me. All my agents share one AI plan. On 2026-11-10 it hit its limit. Until 10:34 pm, every agent quietly fell back to a weaker backup model; about 280 requests went to the backup.
No agent told me. I found it in my agent's error log. So when every agent slows down at once, look at the plan first:
- Open your AI provider's usage or billing screen. It shows if you hit the cap.
- Open your agent's error log, or ask the person who set it up. A switch to a backup model shows up there.
- If you find a switch, wait for the limit to reset or raise your plan.
Pasted Logs and Big Files Fill the Chat Faster Than Your Messages
A long chat also holds tool output, such as files, reports, logs and emails.
Guides from outlier.host and swarmz.net warn that pasted material stays in the chat for every later turn. Paste last month's orders, and those rows ride along with every question.
So ask for a short summary, the top 10 lines or a link to the file. Know what an agent reads before you hand it a big file.
Habits that make the agent start reading from scratch
A cache matches the chat word for word from the very top, as Anthropic's caching guide describes. Change anything near the top, and everything after it counts as new:
- You edit an early message.
- You change tools or settings mid-chat.
- The setup puts a live clock at the top of its rules, so the start never matches.
A Crowded Chat Also Gives You Worse Answers
In 2025, Chroma, an AI search company, tested 18 AI models. On a memory test, all of them scored higher with a short, focused prompt of about 300 tokens than with the full 113,000 tokens. A token is roughly a piece of a word. For scale, one Hermes Agent example puts 45 messages at about 95,000 tokens. Chroma calls this drop context rot.
The "Lost in the Middle" study by Liu and colleagues, from 2023, found that models use facts at the start or end of a long input best. They do much worse with facts buried in the middle. A rule you gave at 9 am, now under hundreds of messages, is easy to miss.
These studies measure answer quality, not speed.
Start Fresh With a Short Handoff Note, Not the Whole Chat
If your two-chat test points at the long chat, give each job its own chat. Carry the work over with a short handoff note.
From our work: On 2026-11-10 my main agent's single Telegram chat had grown to 982 messages since that morning. Replies took 9 to 18 minutes because the agent re-reads the whole chat each time. Starting fresh conversations, and a report that flags any chat over 300 messages, fixed it.
One caveat: that same day, about 280 requests went to the backup model. The log does not split the wait between the two. I don't have a measured after-fix reply time.
That 300 is my own alert setting. It is not a safe limit for everyone, so pick yours from your own test.
What goes in the handoff note
- Give each job its own chat, such as one for quotes.
- When you switch jobs, paste this into the old chat: "Write a short handoff note for a new chat. List the goal, decisions made, open items and next step."
- Read the note yourself and fix anything wrong or missing.
- Paste it into a brand-new chat and keep working there.
A sample note for a quote job could read like this:
Goal: follow up on this week's open quotes. Decisions: wait two days after a quote before the first follow-up. Open items: three quotes have no reply. The list lives in the quotes sheet. Next step: draft three follow-ups and wait for my OK before sending.
Anthropic's Applied AI team also suggests notes kept outside the chat that the agent can read back later.
Why squeezing the chat down is not always enough
Hermes Agent, which my agents run on, squeezes the chat into a summary when it is half full. MadeByBrain, a developer who built a chat length warning for Hermes, put it plainly: "A summary keeps the gist, not the details."
Frequently Asked Questions
Why is my AI agent slow to reply in a long chat?
In many setups, the agent sends the whole chat along with every new message, so it has more to process before the first word. Once the reply starts, it types at about the same speed as in a short chat. A usage limit or a busy provider can also slow it down.
Does a bigger context window stop an AI agent from slowing down?
A bigger context window does not stop the slowdown. The context window is the most text an agent can hold in one chat. A bigger one only lets the chat grow longer, and the agent still carries all of it into each reply. Answers also tend to get worse as the window fills.
How many messages is too many for one AI agent chat?
No single number fits every agent. To find your limit, send one tiny request to the long chat and to a brand-new chat. If the long chat is slow to start and the new one is quick, the long chat is too long. I flag chats over 300 messages, but that is only my own alert.
Will I lose what the agent knows if I start a new chat?
A new chat starts without the old conversation, but in many agents your saved rules, skills, memory and settings live outside the chat and stay. To carry the work over, ask the agent for a short handoff note with the goal, decisions, open items and next step. You check the note yourself and then paste it into the new chat.
Does compacting or summarizing a chat make an AI agent faster?
It can, because the agent has less to carry into each reply. A summary can also drop small details that matter later. In one public bug report on OpenAI's Codex, a long chat went through 80 rounds of automatic summaries and was still slow to start.
Does a long chat cost more to run?
Usually it does, because providers charge for the text an agent reads on every reply, not just once. A long chat history adds to the bill on each turn. Some providers reuse what they already read, which is called caching, and that can cut the cost.
Why is my AI agent slow even in a brand-new chat?
If an agent is slow in a brand-new chat, chat length is not the cause. The usual causes are a model that stops to think before it answers, a busy provider or a plan that hit its usage limit. Starting another new chat will not fix any of those.
Get Help Keeping Your Agents Quick
Run the two-chat test today. If only the long chat lags, move the work to fresh chats with a handoff note you checked. If every chat lags, open your plan's usage page first. iMakeMVPs builds and manages AI agents, web apps and MVPs for businesses. We can set up chat limits, handoff notes and a morning report for your agents.
Book a free call: Managed AI Agents