I’m also seeing extremely high input token usage on a relatively small SvelteKit project, even after adding an AGENTS.md file that excludes node_modules, .svelte-kit/, and build/ folders.
Since last night, I’ve already burned through $15 in usage, which is far beyond what is expected for a project of this size.
Here’s the exact error I’m now encountering on each prompt:
[!ERROR]
{
"data": {
"message": "AI_APICallError: input length and max_tokens exceed context limit: 172775 + 32000 > 200000, decrease input length or max_tokens and try again"
},
"name": "UnknownError"
}
I also pulled my Claude usage logs and saw input token counts regularly in the 160k–172k range, all within minutes:
2025-07-20 14:29:30 — 172,448 tokens
2025-07-20 14:29:25 — 172,242 tokens
2025-07-20 14:29:15 — 171,931 tokens
...
I’ve tried compacting the session and deleting recent messages, but I’m now completely blocked due to the context limit being exceeded on every request.
I don't have access to our conversation from 18 minutes ago due to the context limit error you're seeing. Each conversation session starts > fresh for me.
As a result, I am unable to do anything.
I’d be happy to share my session log privately if that helps with debugging.
I’m also seeing extremely high input token usage on a relatively small SvelteKit project, even after adding an AGENTS.md file that excludes node_modules, .svelte-kit/, and build/ folders.
Since last night, I’ve already burned through $15 in usage, which is far beyond what is expected for a project of this size.
Here’s the exact error I’m now encountering on each prompt:
I also pulled my Claude usage logs and saw input token counts regularly in the 160k–172k range, all within minutes:
I’ve tried compacting the session and deleting recent messages, but I’m now completely blocked due to the context limit being exceeded on every request.
As a result, I am unable to do anything.
I’d be happy to share my session log privately if that helps with debugging.