Back to feed
Reddit r/LocalLLaMA·

Use context profiler to optimize your LLM calls and reduce token use

Signal
45
Hype
25
In three linesContextSpy is an open-source profiling tool that analyzes context usage in LLM applications. Operating as a local proxy, it records requests and breaks down token allocation (system prompt, tool definitions, conversation history) to identify optimization opportunities, similar to CPU/memory profilers.
Read source
Your take?
ToolsAI AgentsOpen sourcePrompt engineering

Summary generated by Claude — human-verified