Remix.run Logo
8note 5 days ago

ive been thinking its that my company mcp has blown up in context size, but using claude without claude code, i get context window overflows constantly now.

another option could be a system prompt change to make it too long?

data-ottawa 5 days ago | parent [-]

I think that’s because of the Artifacts feature and how it works. For me after a few revisions it uses a ton of tokens.

As a baseline from a real conversation, 270 lines of sql is ~2500 tokens. Every language will be different, this is what I have open.

When Claude edits an artifact it seems to keep the revisions in the chat context, plus it’s doing multiple changes per revision.

After 10 iterations on a 1k loc artifact (10k tokens) you’re at 100k tokens.

claude.ai has a 200k token window according to their docs (not sure if that’s accurate though).

Depending on how Claude is doing those in place edits that could be the whole budget right there.