Upcoming event:Rewriting the SRE Book for the AI Era with Niall Murphy
Dec 9, 202610:30 AM ETRegister
ComparisonsEngineeringAI Infrastructure

Total tokens to root cause

Shiva Swaroop N K02 Dec 2026  ·  15 min read
Explain with AI
Total tokens to root cause

Historically, SREs were the ones reading telemetry during an incident. They opened dashboards, wrote ad hoc queries and pieced the story together. More and more teams now hand that first pass to an AI agent. Agents read telemetry through the Model Context Protocol (MCP), a standard way for a data system to give an agent a set of tools it can call. Almost every observability system ships an MCP server.

The cost of a human on-call is pretty well defined. It is natural to wonder - what does it cost for an agent to work an incident on a stack? We set out to measure this cost. We decided to measure this across different observability stacks to understand how the architecture and tooling affect the agent's efficiency and cost. We chose Grafana LGTM stack, ClickHouse and Parseable to compare the cost.

To find and compare the cost, we sent 24 hours of synthetic telemetry into all three, and asked an AI agent 30 questions (related to the incident) on each. We asked the same question five times, with two Claude models. The agent got 96.7% to 100% of its attempts right on every stack. However the cost varied significantly. A correct answer cost 2.7 times as much on Grafana LGTM as on ClickHouse, and 3.8 to 4.3 times as much as on Parseable.

This blog covers a high level summary of our approach and outcomes. Detailed analysis and methodology can be found in our whitepaper: Telemetry for Agentic Consumers: a deep dive into hidden costs of splitting data.

The checkout incident

Here's one question from the benchmark: "Some customers could not complete checkout during a 38-minute window. Find the root cause."

For context, here's what happened in that window (as per the raw synthetic data). For four minutes, from 10:46 to 10:49 UTC, the payment service rejected card charges with "Payment request failed. Invalid token." The failure ran up the chain from payment to checkout to the frontend, and 11 checkout requests failed, while 5 of the 16 charges in those minutes still went through. The payment service kept running, its version didn't change and its latency stayed flat, so anything watching uptime, deploys or latency would have shown nothing unusual. It was one of the 32 faults we injected.

To answer, the agent has to name the service where the failure started, quote the error, count the affected requests and say when it started and stopped. On Grafana LGTM, that means finding the failing checkout traces in Tempo with TraceQL, the matching error logs in Loki with LogQL and the error rate in Prometheus with PromQL, and then lining the three up itself. On ClickHouse and Parseable, it writes SQL against one store.

All 15 attempts with Claude Sonnet 5.5, five per stack, got the same final answer, field for field: the payment service, that exact error text, 11 affected requests, 10:46 to 10:49, and an injected error. But the work required to get there varied significantly across stacks.

One checkout question: Grafana LGTM averaged 6.6 tool calls, 196k input tokens and $0.42 per attempt; ClickHouse 3.2 calls, 62k tokens and $0.14; Parseable 3.0 calls, 25k tokens and $0.06

StackTool callsRoundsInput tokensCost per attempt
Grafana LGTM6 to 78 to 9137k to 321k$0.30 to $0.67
ClickHouse3 to 45 to 658k to 75k$0.13 to $0.16
Parseable3523k to 28k$0.06 to $0.07

Range over the five attempts on each stack, Claude Sonnet 5.5.

Parseable ran the same way all five times: three tool calls, five rounds, about 25,000 input tokens and six or seven cents. Grafana LGTM varied a lot more, and four of its five attempts had one tool call come back with an error. Its most expensive attempt made 7 tool calls, had one result cut off at our 45 KB limit, and sent 321,000 input tokens to the model. That one attempt cost $0.67, more than ten average Parseable attempts put together.

On average, an attempt on Grafana LGTM came to 6.6 tool calls, 196,000 input tokens and $0.42. On Parseable, it came to 3 tool calls, 25,000 input tokens and $0.06, about a seventh of the cost for the same answer.

Background

Unlike Grafana LGTM, which is a split stack: logs, metrics and traces each live in their own store, with their own query language, ClickHouse and Parseable are single stores: all three signals live in one place, and you query them with SQL. The difference between ClickHouse and Parseable is mostly under the hood. ClickHouse uses its own columnar format and Parseable stores Parquet on object storage, and as you'll see later, the agent never notices.

Split stack: the agent goes through Grafana's MCP server (22 tools, 33 to 34 KB tool list) to Prometheus, Loki and Tempo, each with its own query language. Single store: the agent goes through a 3-tool MCP server to one store queried with SQL

Agents also query differently from people. An agent fires off a quick burst of queries that can look unrelated while it works out the context, then narrows down to one service or time window. It sends more queries, and faster, than any of us would.

So the benchmark and the questions it asks are closely tied. Our core goals with this study are to find out:

  • Does the platform change how often the agent gets it right, and how long it takes?
  • How many tokens, tool calls and dollars does a correct answer cost on each platform?
  • Is one store for logs, metrics and traces cheaper than a split stack with one engine and query language per signal?
  • Does any of this change when you switch between models?

Setting up the benchmark

We wanted to ensure every platform gets exactly the same data, the answer keys come from somewhere other than the platforms, every question is tested, and each vendor's own MCP server is used. We built a harness that does all of this and called it TTRC-Bench, short for "tokens to root cause".

TTRC-Bench architecture: OpenTelemetry Demo and background load feed a capture gateway into a sealed archive. The archive feeds a ground-truth path (reference store, independent question tests, keys) and a measurement path (feeders into Grafana LGTM, ClickHouse and Parseable, queried by the agent over MCP). A scripted grader compares answers to keys

Here's what went into it:

  • The data: we recorded the OpenTelemetry Demo for 24 hours with 8 simulated users. During the recording we injected 32 faults, covering errors, latency, CPU saturation, memory leaks, GC pressure, lock contention and cache failures. We also slipped in 7 decoys, events that look like incidents but aren't: service restarts, releases that changed nothing, and a gap in traffic. With background load added, the archive holds 6.57 million spans, 559 million log records and 1.05 billion metric points.
  • The platforms: every platform received the same frames in the same order, and each backend ran on 8 CPU and 32 GiB.
  • The questions: 30 of them, from one-query lookups (level 1) to triaging a real fault that happened right next to a harmless release (level 5). Ten are controls. Seven describe a decoy in the words a real incident would use, so the right answer is "nothing happened", and three ask for something the data simply can't give.
  • The answer keys: computed from the recording and the fault schedule, never from a platform. A second program, written without any of the harness's code, recomputed every key before we froze the question set.
  • The agent: Claude Code with Claude Sonnet 5.5 or Claude Opus 5.5. Each attempt ran in a fresh session, and its only tools were the platform's MCP server and a submit_answer tool. Every question ran 5 times per platform per model, totalling 900 graded attempts in all.
PlatformDesignMCP serverToolsTool list size
Grafana LGTMSplit: Prometheus, Loki, Tempomcp-grafana 2.1.1 (read-only groups)2233 to 34 KB
ClickHouseSingle columnar store, SQLmcp-clickhouse 0.7.034 to 5 KB
ParseableSingle telemetry data lake, SQL, Parquet on object storageparseable-mcp-server 0.3.1, three tools (the core profile)32 to 3 KB

One more thing before the results: how we keep score. We compare platforms on cost per correct answer, which is the total model cost of every attempt on a platform divided by the number it got right. We priced every token at list price with no cache discount. Caching depends on the agent client rather than the platform, and a discount would hide how much text each platform actually sends to the model.

Outcomes

Accuracy and speed

Good news first: every platform scored between 96.7% and 100%, and we found no statistically detectable difference in accuracy between them. ClickHouse got all 300 of its attempts right.

PlatformModelCorrect of 150Tool callsKB returnedInput tokensWall time (s)
Grafana LGTMSonnet 5.514910.246.8259,31751.6
ClickHouseSonnet 5.51506.222.193,14634.9
ParseableSonnet 5.51486.113.761,16143.8
Grafana LGTMOpus 5.51479.045.2268,23151.6
ClickHouseOpus 5.51505.623.695,90434.6
ParseableOpus 5.51455.310.752,34947.5

Averages per attempt, over 150 attempts each.

ClickHouse was the fastest at about 35 seconds per attempt, Parseable took 44 to 48 seconds and Grafana LGTM about 52. The model itself took 27 to 42 seconds of each attempt everywhere, so query speed was never the main cost.

Cost per correct answer

Now for the part you came here for.

Uncached USD per correct answer with 95% intervals. Sonnet: Grafana LGTM $0.56, ClickHouse $0.21, Parseable $0.15. Opus: Grafana LGTM $1.16, ClickHouse $0.43, Parseable $0.27

Grafana LGTM cost the most with both models.

ComparisonSonnet 5.5Opus 5.5
Grafana LGTM vs ClickHouse2.7×2.7×
Grafana LGTM vs Parseable3.8×4.3×
Parseable vs ClickHouse0.72× (28% cheaper)0.64× (36% cheaper)

We planned the Grafana LGTM vs ClickHouse comparison before running anything (p < 0.001). The two Parseable comparisons came up afterwards, so treat them as exploratory. The whitepaper explains why.

The order stays the same at billed prices with cache discounts, and the gaps shrink. At billed prices, Parseable cost 0.40 to 0.41 times as much as Grafana LGTM per correct answer.

Tool lists and input tokens

So where does the money go? Think of every round of an agent's conversation as sending the whole conversation to the model again. That includes the system prompt, the MCP server's full list of tools and every tool result so far. An attempt with ten rounds sends the tool list ten times.

Context sent per round, to scale. Grafana LGTM starts at about 35 KB because of its 33 KB tool list and grows by about 4.6 KB per result. Parseable starts at about 5 KB and grows by about 2.3 KB per result

Grafana LGTM's tool list is the largest by far. Its MCP server needs 22 tools in 33 to 34 KB to reach three engines with three query languages, while the single stores need 2 to 5 KB. Joining three signals by hand also took the agent 1.7 times the tool calls and 1.5 times the rounds it needed on Parseable. And the results were bigger: 46.8 KB per attempt against 13.7 KB on Parseable, with 31 calls cut off at our 45 KB limit.

Input tokens made up 80% to 94% of the uncached cost on every platform, so this is where the bill comes from.

Input tokens per attempt, Sonnet. Grafana LGTM 259k (about 150k of it the system prompt and tool list re-sent each round), ClickHouse 93k, Parseable 61k

With Sonnet, an attempt on Grafana LGTM used 198,000 more input tokens than one on Parseable, 4.2 times as many. Over Parseable's 8 rounds per attempt, the larger tool list alone accounts for about 41% of that gap. The rest comes from the extra rounds and the larger results carried from round to round.

Cost by question

We expected the gap to come from the hard questions, where the agent has to join three signals. Instead, Grafana LGTM was the most expensive platform on all 30 questions, including the simplest ones.

Mean cost per attempt for each of the 30 questions, Sonnet, grouped by level L1 to L5. Grafana LGTM is the most expensive platform on all 30

On level 1 lookups, which need one query in one store, Grafana LGTM already cost 2.8 times as much per attempt as ClickHouse, and with Sonnet the ratio didn't grow with difficulty. We read this as a cost paid on every round, from the tool list and the results sent again, rather than a cost of hard joins. Grafana's discovery calls returned less than 1 KB per attempt, so extra exploration doesn't explain the gap either.

Wrong answers

Out of 900 attempts, 11 were wrong, and in all 11 the answer key was right. Seven of the eleven were on Parseable, so let's talk about those.

One Parseable attempt never submitted its answer. The other six all came from how Parseable's query startTime and endTime work. A quick clarification: they select rows by the time Parseable received each record, not by the record's own timestamp, and a span arrives when it ends. A 600-second span that starts near the end of the question's window arrives after the window closes, so a query range that matches the window misses it.

A short span that starts and arrives inside the window is counted. A 600-second span that starts inside the window arrives after the query range closes, so it is missed

The query returned a plausible count with no error, and the agent reported it. Our first tool note told the agent to end its range 10 minutes late, which isn't enough for spans that last 600 seconds. In a later exploratory run, a revised note fixed this question in all 10 attempts.

Any store that filters by arrival time has this problem. It should filter on the record's own time, or say in each result which time it filtered on.

Sonnet vs Opus

We also ran every question with Claude Opus 5.5 to see whether a bigger model changes the picture.

USD per correct answer, Sonnet vs Opus. Grafana LGTM $0.56 to $1.16 (2.09x), ClickHouse $0.21 to $0.43 (2.05x), Parseable $0.15 to $0.27 (1.82x). Accuracy did not improve

Opus cost 1.8 to 2.1 times as much as Sonnet per correct answer on every platform, and it wasn't any more accurate. Opus's list price is exactly twice Sonnet's, so a ratio under 2 means Opus used fewer tokens. On Parseable, it used 52,000 input tokens per attempt against 61,000 for Sonnet. The order of the platforms and the size of the gaps were the same with both models.

Takeaways

If agents are going to be the main readers of your telemetry, the number of engines and query languages they have to join is the biggest cost. One store with one query language removed most of the overhead, and ClickHouse got that saving as well as Parseable. The size of the MCP server's tool list comes next, because it goes to the model on every round. And on these questions, Opus doubled the cost without improving accuracy.

Query speed mattered less than we expected. Query time was the smaller part of every attempt, and the model took 27 to 42 seconds of each one.

Running the benchmark yourself

Everything is at github.com/parseablehq/ttrc-bench. The harness is under Apache 2.0. Under CC BY 4.0 you'll find the 30 questions with their keys, every graded attempt with its answer, tokens, tool calls and timing, the pre-registrations and the analysis scripts. The OpenTelemetry Demo telemetry from the recording is attached as a release file, so you can recompute every answer key yourself. The full method and statistics are in the whitepaper.

We'd love to see the benchmark run on other stacks, agents and models. If you try it on yours, tell us how it goes.

If you've reached this far, thank you for taking time out of your day to read this! See you in the next one.

See your data in a new light

Parseable unifies telemetry data, keeps full-fidelity data queryable. It all lives in open formats on object store with your complete control and ownership.

Explore more