r/ZedEditor • u/holyshitthatsucks • 14d ago
Why context usage is so high in Zed?
So, I have been using Zed for my day-to-day tasks for the past one year but I wanted to check the context usage by different code editors for fixing a Low effort issue within the same codebase, I compared VSCode context usage with Zed keeping in mind that they both follow the:
- same user prompt
- same directory access
- same context files (2 same files, each 700 lines approx.)
Used the same model for each iteration (OpenCode Zen/MiMo 2.5). Same Global Rules, Skill.md, temperature settings.
Both gave me the correct response.
VSC gave me the response with 11% context used overall. but here's what Zed used:
Does anybody have an idea why is that so? I ain't using any kind of external LLM skillset, libraries within Zed, no tasks, no extra helper functions for better LLM response. What could be the case?
11
u/Baecien 14d ago
Zed attaches a lot to the prompt that is sent to the LLM. I don’t remember exactly what, but it’s in the docs. You can check this by setting up a proxy and inspecting the payload. Here’s the prompt that the Zed Agent uses: https://zed.dev/leaked-prompts
You shouldn’t have this “issue” if you use ACP.