AI calls · Scores · Judges
See what your app’s AI costs, and whether it answers well.
Calls your Node.js app makes to Claude or OpenAI are recorded with no code change. Judges score a share of the answers, so a prompt change that makes things worse shows up the same day, not in a support ticket.
| Time | Route | Model | Tokens | Cost | Latency | Helpfulness |
|---|---|---|---|---|---|---|
| 14:02:11 | POST /api/chat | claude-sonnet | 1,840 | $0.012 | 2.1 s | 0.92 |
| 14:01:47 | POST /api/chat | claude-sonnet | 2,310 | $0.015 | 2.8 s | 0.31 |
| 14:01:20 | POST /api/summarize | claude-haiku | 960 | $0.001 | 0.7 s | not sampled |
What you get
Four things, next to the rest of your app.
What teams usually reach for a separate LLM tool to do.
01
AI calls
Model, tokens, cost, time and status for every call, tied to the route and request that made it. Streamed calls too.
02
Cost
Money per call, model, route and day, from each model's price. A model with no price says so; it is never guessed.
03
Scores
A number or a label on a call: from a judge, from your users' thumbs up or down, or from someone on your team.
04
Judges
Claude scores a share of your calls against a check you write, and gives a reason for each score.
Judges
Write the check in plain words. Superflows runs it.
Pick a question like "Did the answer follow the rules?", choose how many calls to check, and set a daily cap so the cost is never a surprise.
- Test the judge on 3 real recent calls before you save it
- 10% of calls by default, and a daily cap on runs
- Its own token budget, so it never slows root-cause analysis or Supfix
- Every score comes with the judge’s written reason
- Judges read the prompt and the answer, so they score calls sent with content capture on
Was the answer helpful and correct for the question?
Question: {{input}}
Answer: {{output}}- 0.84
- average today
- 118
- runs today
- $0.21
- judge cost today
0.31“The answer quoted a refund policy that is not in the question’s context.”
Set up in a minute
No code change for the common case.
The Node.js SDK reads the usage from Anthropic and OpenAI responses. Prompts and answers stay off until you turn content capture on (SUPERFLOWS_LLM_CONTENT=1), and secrets and emails are removed before anything is stored.
One place
Your AI calls sit next to the errors, logs and releases they belong to.
Every recorded call carries the route and request id that made it.
| Feature | A standalone LLM tool | Superflows |
|---|---|---|
| AI calls, cost, scores, judges | Yes | Yes |
| The error, logs and slow request behind a bad answer | A separate tool | The same request, in the same place |
| Uptime, incidents and AI fixes for the rest of the app | No | Yes |