Browse tools / Development

context-viewer

Open source, browser-based tool that takes an OpenAI-format conversation log and breaks its context window into components. Shows how each component's token share grows over time, to help find redundant or unneeded context.

Visit website ↗

Outbound links may earn a commission when an approved affiliate destination is available. Read disclosure.

Capabilities

  • parses OpenAI chat-completions, responses and conversations log formats
  • counts tokens per message using tiktoken WASM bindings
  • segments large messages into smaller pieces using an AI call
  • identifies components and assigns them to messages with AI calls
  • stacked bar and time-slider views of context growth
  • filter, sort and search messages
  • editable prompts in the UI
  • multiple conversations processed in parallel

Best for

  • AI engineers who build multi-turn LLM apps and need to see which parts of the context are wasting tokens.

Limitations

  • no server component; runs in the browser
  • parses only the OpenAI-style log formats described on the page
  • segmentation and classification use AI calls that consume tokens and cost money
  • about 15s for a 13k-token conversation and about 40s for 35k tokens, per the author

Platforms

  • Web

Integrations

  • OpenAI-format conversation JSON logs

Independent evidence

Evidence review is pending.

Reviewed alternatives

No reviewed alternatives yet.

Explore other tools

Compare your selection