LLMxRay
Local observability interface for Ollama with chat diagnostics, benchmarking, model comparison, embeddings and tool building.
At a Glance
Self-hosted, local LLM observatory for Ollama released under the Apache License 2.0; no API keys, subscriptions or limits.
Engagement
Available On
Alternatives
Listed Oct 2026
About LLMxRay
LLMxRay is an open-source local LLM observatory by LogneBudo (Ivan Stankovic) that sits on top of a locally running Ollama instance. It lets users chat with models while seeing token streaming, quality flags, timing and throughput, and adds benchmarking, comparison, embeddings and RAG inspection tools. The current official version is 0.8.12.
What It Is
LLMxRay is a browser-based interface for inspecting how local models behave. It connects to Ollama (the project states it is tested against 0.40.x) and stores data in the browser's IndexedDB. No product account or API key is required. Local observation does not require cloud calls; optional OpenTelemetry export can send spans to a trace viewer you configure. Prompt text is exported only when both relevant switches are enabled.
Core tools include Chat Diagnostics with per-token streaming and thinking-block visualization, automatic quality badges (repetition, refusal, gibberish, empty, truncation), a comparison workbench with up to four slots, and a Surgical Benchmark that scores models using real token logprobs through the OpenAI-compatible endpoint. Results can be exported as JSON, CSV, Markdown, JSONL and TXT.
Live, Cache Lab and Decision Lab
The Live page, new in 0.7.2, opens a second port (11435) that behaves like Ollama and forwards requests to it. Pointing tools such as VS Code Copilot, Open WebUI or Continue at it shows each turn's prompt size, cached tokens, prefill and generation speed, tool calls, and where the prompt stopped matching the previous turn. Counts and timings are recorded; prompt text is opt-in. Observed turns persist on this machine for 30 days and survive restarts.
Cache Lab finds values that change between turns and breaks KV cache reuse, then measures the effect of moving them. Decision Lab queries Ollama decision models and shows the probability distribution behind each answer.
Building and Data Tools
The Embeddings Lab visualizes vectors and measures cosine similarity, and a local knowledge base chunks PDFs, DOCX and CSV files so users can see what RAG retrieves. The Tool Workshop provides a visual node canvas with bidirectional code sync for building tool definitions, probing APIs and testing. Protocol Observatory compares replies across Ollama's native, OpenAI-compatible and Anthropic-compatible APIs, and a Fill-in-the-Middle playground supports code completion models. Accepted or rejected outputs can be curated into JSONL training data.
Setup Path
Run it with npx llmxray or the Docker image, then open localhost:5174. Ollama must be running with at least one model pulled. It can also be run from source with Node. The interface is available in English, French, Chinese, Arabic and Serbian.
Added Diagnostics and Agent Access
Prompt X-ray draws each prompt to scale, showing cached, recomputed or cut segments. Runs presents one tool’s calls as a waterfall. Shared box shows which tool evicted which model, GPU map shows what occupies video memory, and Tool calls inspects how reliably models call tools. A read-only MCP server exposes seven tools, with registry name io.github.LogneBudo/llmxray; an Agent Skill is also available.
LLMxRay runs on Windows, macOS and Linux through npx llmxray (Node.js 22+) or Docker, with a local browser interface and proxy/API surfaces. There is no VS Code extension; VS Code Copilot is one of the tools it can observe.
Correction (November 3, 2026): Updated version to 0.8.12, corrected runtime platforms and VS Code-extension labeling, and added current diagnostics, read-only MCP and Agent Skill capabilities.
Community Discussions
Be the first to start a conversation about LLMxRay
Share your experience with LLMxRay, ask questions, or help others learn from your insights.
Pricing
Open Source (Apache 2.0)
Self-hosted, local LLM observatory for Ollama released under the Apache License 2.0; no API keys, subscriptions or limits.
- Apache License 2.0
- Runs locally via npx llmxray or Docker
- Chat Diagnostics, Compare, Surgical Benchmark, Embeddings, Knowledge Base, Tool Workshop
- No API keys, no subscriptions, no limits
- Requires Ollama running locally (external)
Capabilities
Key Features
- Real-time token streaming with live metrics
- Thinking block visualization
- Response quality badges
- Model comparison workbench with up to 4 slots
- Surgical Benchmark with real logprobs
- Live proxy page showing requests from other tools to Ollama
- Cache Lab for KV cache reuse analysis
- Decision Lab for Ollama decision models
- Protocol Observatory across native, OpenAI and Anthropic APIs
- Embeddings explorer and local RAG knowledge base
- Tool Workshop visual canvas
- Fill-in-the-Middle playground
- Latency percentiles and usage analytics
- Cost dashboard with cloud-equivalent estimates
- Training data curation with JSONL export
- Local history database
- Multilingual interface
- Prompt X-ray: cached, recomputed and cut prompt segments drawn to scale
- Runs: a waterfall of one tool’s calls
- Shared box: which tool evicted which model
- GPU map: current video-memory use
- Tool calls: model tool-calling reliability
- Read-only MCP server with seven tools
- Agent Skill for diagnosing Ollama calls
