live · 2.4M spans / min ingested

Your LLM app stopped being a black box.

Trace every request through your pipeline. Watch latency, token cost, and error rates in real time, span by span.

npm i @thermal/sdk · 2 lines · no agent to run

trace · chat-completion
id 9f3a·c21e
p95 LATENCY
1.84s
TOKEN COST
$0.041
ERROR RATE
0.3%
SPAN1.84s total
retrieve.ctx
0.21s
embed.query
0.11s
openai.chat
1.41s
parse.json
0.09s
The black box

It worked in the demo. In production it just got slow, expensive, and silent.

+412ms

Silent latency spikes

A provider degrades, a retry storm kicks in, p95 doubles. Nobody sees it until users do.

$9,140

Runaway token spend

One verbose prompt template ships to prod and quietly triples your monthly bill.

3.1%

Invisible failures

Malformed JSON, truncated output, tool-call loops. Returned as 200 OK, logged nowhere.

Four signals, captured on every request.

Auto-instrumented at the SDK boundary. No manual timers, no sampling gaps.

Latency

p50 / p95 / p99, per span

healthy
p50 0.62sp95 1.84sp99 3.07s
Token cost

Spend per route, model, and user.

gpt-4o$1,204
claude-opus$612
Error rates

Typed failures, not just 500s.

  • schema_invalid1.4%
  • rate_limited0.9%
  • timeout0.5%
  • tool_loop0.3%
Distributed traces

Follow one request across every hop.

Retrieval, embeddings, the model call, tool calls, and parsing, stitched into a single waterfall with full context propagation.

Open explorer →
Trace explorer

Click a span. See exactly where the time and the money went.

trace 9f3a·c21e · POST /v1/summarize 2.07s · 6 spans
openai.chat
1.41s
retrieve.context
0.29s
embed.query
0.12s
tool.web_search
0.18s
parse.schema
0.05s
emit.response
0.02s
Span detail ● ok

openai.chat

DURATION
1.41s
TOKENS
2,910
COST
$0.041

POST api.openai.com/v1/chat/completions · model gpt-4o · 2,310 in / 600 out tokens. Bulk of request time. Consider streaming or a smaller model for this route.

↑ ↓ to move · click any span
Instrumentation

Wire it in with two lines. Keep your stack.

Wrap your client once. Thermal auto-captures spans, tokens, and errors from the calls you already make. Works with OpenAI, Anthropic, and LangChain out of the box.

  • ▹ OpenTelemetry-native, no proprietary agent
  • ▹ Async export, sub-millisecond overhead
  • ▹ Drop-in for Python and TypeScript
# pip install thermal-sdk openai
from thermal import instrument
from openai import OpenAI

client = instrument(OpenAI())  # that's the whole setup

resp = client.chat.completions.create(
    model="gpt-4o",
    messages=messages,
)
# latency, tokens, cost + a full trace: captured
“We cut p95 latency 38% and our monthly token bill by $7k in the first week, just by seeing which spans were actually slow.”
Portrait of a staff ML engineer at a workstation
Priya Raghavan
Staff ML Engineer, Cohere-scale RAG team
38%
p95 cut
2.4M
spans/min
<1ms
overhead

Start monitoring in the next five minutes.

Free for the first 1M spans a month. No credit card, no sales call, no agent to deploy.

Already have a key? Read the docs →

Made with Baljia