SiteVerdict — LLM Eval Runner (prompt tests, regressions, cost) avatar

SiteVerdict — LLM Eval Runner (prompt tests, regressions, cost)

Pricing

Pay per event

Go to Apify Store
SiteVerdict — LLM Eval Runner (prompt tests, regressions, cost)

SiteVerdict — LLM Eval Runner (prompt tests, regressions, cost)

Run prompt test suites against OpenAI, Anthropic and Gemini with your own keys. Assertions: contains, regex, JSON schema, similarity, LLM-as-judge, latency, cost. Side-by-side model matrix, regression diff vs last run, HTML report, Slack alerts, CI gate.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Aman Thakran

Aman Thakran

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

LLM Eval Runner: test your prompts and models like code

Write a test suite once, then run it against OpenAI, Anthropic or Google Gemini with your own API keys. You get a pass/fail matrix, cost and latency for every model, a regression diff against your last run, an HTML report and a Slack alert when something breaks. Use it before you change a prompt, switch a model or ship a release.

  • Assertions: contains, icontains, not-contains, contains-any, equals, starts-with, regex, not-regex, is-json, json-schema, similarity (lexical or embeddings), llm-judge, max-latency, max-cost, length and not-refusal.
  • Bring your own keys: you pay the model providers directly. Keys are encrypted secret inputs; the Actor sends each key only to its own provider's API host and never writes it to the dataset, key-value store, report or log.
  • A free mock provider replays canned outputs, so you can try the Actor or dry-run in CI without spending tokens. Just press Start: the prefilled input runs a 3-test demo suite on the mock provider, needs no key and costs $0 in events.

Who it is for

  • AI product teams: catch prompt regressions before users do. Run nightly on a schedule, or from CI with failOnRegression.
  • Engineers choosing a model: run the same suite on gpt-4.1-mini, claude-sonnet-5-5 and gemini-2.5-flash and compare pass rate, latency and cost side by side.
  • Agencies: give clients a dated, shareable HTML report as evidence of quality.

Example suite

{
"name": "Support bot",
"defaults": { "system": "You are a concise support assistant for {{company}}.", "vars": { "company": "Acme Ltd" } },
"tests": [
{ "id": "refund-policy", "prompt": "What is your refund window?",
"assert": [{ "type": "icontains", "value": "30 days" }, { "type": "not-refusal" }, { "type": "length", "max": 400 }] },
{ "id": "json-order", "prompt": "Return order {{order}} as JSON with id and status.", "vars": { "order": "A-1001" },
"assert": [{ "type": "json-schema", "value": { "type": "object", "required": ["id", "status"] } }] },
{ "id": "tone", "prompt": "A customer is angry about a late delivery. Reply.",
"assert": [{ "type": "llm-judge", "value": "Empathetic, apologises, offers a concrete next step, no blame.", "threshold": 0.7 }] }
]
}

Models: [{"provider": "openai", "model": "gpt-4.1-mini"}, {"provider": "anthropic", "model": "claude-sonnet-5-5"}]

What you get

  • Dataset: one row per test × model (× repeat) with status, score, output, every assertion's result and reason, latency, tokens and estimated cost. Each row also records:
    • the model you asked for (requestedModel) and the model version the provider says answered (resolvedModel: OpenAI and Anthropic model, Gemini modelVersion), plus OpenAI's systemFingerprint when returned;
    • the settings actually sent (temperature, topP, seed, maxTokens; null means not sent, so the provider default applied) and a promptHash of the exact prompt sent;
    • the judge's own model, version, temperature, seed, prompt-template version and hash, tokens and estimated cost (judge), and embedding tokens and cost when used.
  • REPORT.html: a provider table (pass rate, p95 latency, cost, Δ vs baseline), a test × model matrix, regressions, and failure details with prompt and output.
  • OUTPUT: an agent-ready JSON summary, including the regression list and report URL. It also has tokens (model under test, judge and embeddings kept apart), providerCostEstimate (candidateUsd, judgeUsd, embeddingUsd, totalUsd, marked as an estimate, with the price-table date and any unpriced models) and reproducibility (seed, per-model requested and returned versions, judge settings, prompt-template hash). RESULTS.csv is also saved.
  • Regression tracking: each run is compared with the last one for the same suite, stored in a named key-value store in your account. It reports regressions (pass → fail), fixes, score drops, and pass-rate, cost and latency deltas. A case whose model or judge request failed after retries is reported as an error, never as a regression, and keeps its last good baseline result. A run limited by tagFilter or maxCalls only updates the cases it ran.
  • Alerts and CI: a Slack or HTTPS webhook fires on regressions, failures or always. failOnRegression and minPassRate mark the run FAILED, and when the gate trips the last good baseline is kept.

Sample output (local run with the built-in mock suite)

RunPass rateRegressionsGate
1 (baseline)100% (3/3)0–
2 (refund answer changed to "14 days")66.7%1 (refund-policy)FAILED, baseline kept

Pricing

Pay per event:

  • test-case-run: $0.002 per test case run on a real model whose assertions were all evaluated (mock runs are free; a case is not charged when the model request, or a judge/embedding request it needs, fails after retries, or when a template variable is missing)
  • llm-judge-call: $0.001 per LLM-as-judge grading call that returned (a judge request that failed is not charged)

Provider requests are retried up to 3 times on 429, 408, 5xx, timeouts and network errors. The wait honours Retry-After (seconds or a date, capped at 30 s), otherwise 1, 2 and 4 seconds. Other 4xx errors (such as a wrong key) and a reply that is not JSON are not retried. Retries are never charged twice: a case is charged once, after its result is saved.

Your maximum total charge for the run is always respected. When it is reached, the remaining cases are not run and not charged: each gets a dataset row with status skipped, OUTPUT shows incomplete: true and notProcessedForBudget, the status message says "N cases not processed (max total charge reached)", and the regression baseline is not updated. If the budget only covers the cases themselves, judge calls that no longer fit are not charged.

Examples:

  • 100 tests × 3 models = $0.60 per run
  • the same suite nightly for 30 days = $18 a month

Model usage (including judge and embedding calls, and provider calls for cases that later error) is billed to you by your providers, not by this Actor. The cost figures in the output are estimates of that provider bill, not Apify charges: tokens reported by the provider × a built-in price table (13 Nov 2026) that you can override with modelPrices. The model under test, the judge and embeddings are shown separately and added up in totalCostUsd. Cached-input discounts are ignored, so the estimate leans high. Tokens of a request that failed are not known and not included. A model missing from the table shows n/a (null), never $0.

FAQ

Is it promptfoo? It works in the same spirit (suites + assertions), as a hosted, scheduled, no-install Apify Actor with built-in regression history, alerts and an HTML report.

How is cost computed? Token usage reported by the provider × price per 1M tokens, for the model under test, the judge and embeddings separately. Unknown models show n/a until you add them to modelPrices.

Can I reproduce a run? As far as the providers allow. A seed (default 42) is sent to OpenAI and Gemini for model and judge calls; Anthropic has no seed. The judge runs at temperature 0 on OpenAI and Gemini models unless you set judgeTemperature; Claude and OpenAI reasoning models reject non-default sampling values, so nothing is sent to them (temperatureSource: "not-sent"). Seeds are best-effort: providers do not guarantee identical output, and the recorded resolvedModel and systemFingerprint tell you when the model behind a name changed.

Flaky tests? Set repeats (up to 5). The matrix then shows passed/total per cell.

Data safety? Prompts and outputs go only to the providers you choose and to your own Apify storage. Keys are secret inputs and are redacted from all errors and outputs. REPORT.html (prompts and outputs) is stored in the run's default key-value store and can be opened by anyone who has its link (the link is also sent to your webhook).

Which key should I use? A dedicated, revocable project key with a spend limit is best. Check that your provider's terms allow use through a tool acting on your behalf. With a free-tier Gemini key, Google may use your prompts and outputs to improve its products and humans may review them; use a paid-tier key for anything confidential.

Limits

  • Supported providers: openai, anthropic, google (Gemini) and the free mock. Other providers and endpoints (for example Mistral, Azure OpenAI, OpenRouter, Bedrock or a custom base URL) are not supported. Embedding similarity uses OpenAI only.
  • Up to 2,000 tests, 10 models, 5 repeats and 20,000 cases per run, with up to 8 requests in parallel.
  • Non-streaming requests only, 120 s timeout per attempt. Anthropic requests use the provider's defaults (no temperature, top-p or seed unless you set them; Anthropic has no seed), with a 16k max-token budget, and API version 2023-06-01. Current Claude models and OpenAI reasoning models reject a non-default temperature or topP, so leave them out for those. On models that think by default, output tokens include thinking tokens.
  • Lexical similarity is word-based. Use method: "embedding" with useEmbeddings for semantic similarity.

Sources & compliance

  • Calls only the official APIs: OpenAI Chat Completions (plus Embeddings when you turn on useEmbeddings), Anthropic Messages and Google Gemini (generativelanguage.googleapis.com), under your accounts and their terms (reviewed 13 Nov 2026). You own your outputs under those terms; this Actor never uses them for anything except your report. It never scrapes chat UIs.
  • The suite URL and webhook URL are fetched or posted with an SSRF guard (private and internal addresses blocked). Webhooks must use HTTPS.
  • Don't put personal data in test prompts unless your provider agreements allow it (UK GDPR). Not legal advice.

Built by SiteVerdict (BharatFare Travel and Technologies Ltd, UK). Contact: hello@webrevenuescan.com.