PostHog offline evaluations explained: what it changes
PostHog offline evaluations went generally available on November 26, 2026
PostHog made offline evaluations generally available on November 26, 2026, so a team can run its AI test cases locally or in CI and upload the scores to PostHog to watch them change over time. For a small B2B company with an AI feature in production and no fixed check before release, that makes this a pilot to scope this month, while a team that already blocks bad AI changes with a working CI script has little reason to switch now.
An offline evaluation is a scripted test that runs your AI feature against a fixed set of known inputs before a change ships, then scores the outputs so you can see whether quality rose or fell. The PostHog changelog entry is the primary source for the launch date and scope. It says you can "Run your evals locally or in your CI, and upload the results to PostHog to see how they evolve over time," and that you can "use those results in your CI to gate underperforming changes from being merged."
TL;DR: PostHog's offline evaluations keep runs, item-level scores and the reasoning behind failed checks in one place, but they ship without a built-in merge gate. The PostHog Experiments docs say the team writes its own threshold check and exits with a failure code. Braintrust, the main rival we compared, documents a GitHub Action that comments on pull requests, and its docs do not describe a threshold input for that action. Both have free tiers that can cover a small suite depending on run frequency (see the worked example below), so the real decision is who owns the gate and the threshold.
Key Takeaways
PostHog offline evaluations became generally available on November 26, 2026. You can run them from local scripts or in CI and upload the results to PostHog.
The launch adds storage and run comparison for offline results. It does not add a merge gate, so your own script sets the threshold and exits with a failure code.
Billing counts scored results rather than runs, so volume planning should start from the number of scorers applied to each test case.
Braintrust's GitHub Action posts results to pull requests, but its docs do not document a threshold input for the action.
The vendor has not published a before-and-after comparison, so the "what changed" list rests on the changelog and docs.
For a team with a small, fixed set of cases and no pre-release check, a one-month pilot inside existing CI is the lowest-risk next step.
How we evaluated these tools
This is an informed buyer's guide built from public pages, not a hands-on test. We weighted six decision factors that a small B2B team has to settle before it adopts a pre-release AI check. The weights are our judgment. Each cell in the comparison below is drawn from a page linked in the sections that follow, and where a vendor does not document a capability, the table says so rather than guessing.
| Decision factor | Weight | Why this reader cares |
|---|---|---|
| Merge gating without custom code | 25% | A check that cannot block a change protects nothing |
| Cost at small-team volume | 20% | Per-event and per-seat billing scale with different units |
| Setup effort and skills needed | 20% | A two-person team must maintain whatever runner it picks |
| Result history and run comparison | 15% | Shows which change lowered a score |
| Link to production traces | 10% | Turns live failures into new test cases |
| Data retention and access control | 10% | Payload deletion and key scope affect audits |
Gating and cost carry the most weight because a check that cannot stop a bad change is only a dashboard, and a bill that scales with the wrong unit surprises small teams. Setup effort ranks just as high because the team has to keep the runner working. Verification effort is the reason any of this matters: InfoWorld, reporting on Stack Overflow's 2025 survey, says Verification burden: 45% cite debugging time according to InfoWorld (2025).
What changes from the setup most teams run today
PostHog already offered online evaluations before this launch. The online evaluations docs describe scoring live production traffic as it arrives, with a sampling rate you set. Offline evaluations are the other half: a fixed set of test cases scored in CI before a change ships. Our ID-JAG explainer follows the same what-changed format for a different launch, and it is a useful template if you are writing this up internally.
Based on the pages we read, the offline side now gives a team four things it did not have in one place:
Uploads from local runs or CI, with each run recorded as an experiment.
Item-level scores, so a failed case can be opened and its reasoning read, per the Experiments docs.
Project secret keys that can create and manage offline evaluations without a personal API key tied to one user, as listed in the changelog.
A stated retention limit: inputs, outputs and reasoning are deleted 30 days after PostHog first accepts them, while scores and summaries are kept, per the offline evals docs.
The setup this replaces, for most small teams, is a script in CI that prints a number with no shared history. That is our read, not a vendor claim. The vendor has not published a before-and-after comparison in the pages we opened, so no benchmark is implied.
The main rival is Braintrust. Its CI docs describe a GitHub Action, braintrustdata/eval-action@v2, that runs evals on pull requests, posts a results comment and needs pull-requests: write permission. The CLI, bt eval, returns a non-zero exit code when any eval throws an exception, and custom reporters can return true or false to decide whether the process exits. The same page says the goal is to "gate merges on the results" but does not document a threshold input for the action.
Trust is the reason a gate matters: Distrust of AI accuracy: 46% of developers according to Stack Overflow (2025), up from 31% the year before. If you are also comparing models for the same feature, our related model read on this blog covers that side of the decision.
Feature matrix: PostHog offline evaluations against Braintrust
| Decision factor | PostHog offline evaluations | Braintrust CI evals |
|---|---|---|
| Where runs happen | Locally or in CI; the SDK uploads results | bt eval in CI; GitHub Action for pull requests |
| Merge gate | No built-in gate; you write the threshold check and exit non-zero | No documented threshold input for the action; gating through exit codes or a custom reporter |
| Pull-request comment | The vendor has not published this for offline evals | The action posts a results comment on the pull request |
| Test-case storage | Code, a file, or a PostHog dataset | Not verified in the pages we opened |
| Cheap pull-request runs | Not stated in the docs we opened | --first N or --sample N for smoke tests, full run on merges |
| Access control | Project secret key scoped to offline_evaluation_ingestion:write | api_key input for the action |
| Payload retention | Payloads deleted 30 days after acceptance; scores kept | 14-day retention on Starter, 30-day on Pro |
| Link to production traces | Online evaluations score live traffic in the same product | Not verified in the pages we opened |
Read the table as a checklist. Where a cell says the vendor has not documented a capability, we did not assume it exists. Our analysis: PostHog's clearest advantage in the pages we read is that run history, item scores and reasoning sit in the same product as production monitoring. Braintrust's clearest advantage is a documented pull-request path that posts results where engineers already review code, plus a documented way to run cheap smoke tests on pull requests and the full set on merges.
One implementation detail matters before anyone copies a snippet. The offline evals docs list Python 3.10+ with posthog 7.74.0+, while the quickstart installs posthog>=8,<9, a newer major version that satisfies that minimum.
What it costs at small-team volume
| Vendor | Plan or tier | Published price | Included or metered usage |
|---|---|---|---|
| PostHog | AI Observability, first tier | Free | First 100,000 events per month |
| PostHog | 100,001 to 150,000 events | $0.00035 per event | Metered band |
| PostHog | 1,000,001 to 10,000,000 events | $0.00007 per event | Metered band |
| Braintrust | Starter | $0 per month | 1 GB processed data, then $4 per GB; 10k scores, then $2.50 per 1,000 scores; 14-day retention |
| Braintrust | Pro | $249 per month | 5 GB processed data; 50k scores; 30-day retention |
| Braintrust | Enterprise | Quote-based | Custom limits |
| LangSmith | Developer | $0 per seat per month | Up to 5k base traces per month; 1 seat |
| LangSmith | Plus | $39 per seat per month | Up to 10k base traces per month; unlimited seats |
| LangSmith | Enterprise | Quote-based | Custom |
Sources for each row: PostHog pricing, Braintrust pricing, and LangChain pricing.
Pricing checked November 27, 2026.
On PostHog's pricing page, the AI Observability rate is free for the first 100,000 events a month, then $0.00035 per event from 100,001 to 150,000, and it falls with volume to $0.00006 per event above 50,000,000, according to PostHog (2026). Braintrust's Starter plan costs $0 per month with overages of $4 per GB and $2.50 per 1,000 scores, and its Pro plan costs $249 per month with overages of $3 per GB and $1.50 per 1,000 scores, according to Braintrust (2026). LangSmith's Developer plan costs $0 per seat per month, and its Plus plan costs $39 per seat per month, according to LangChain (2026).
Offline billing: 1 event per scorer result according to PostHog (2026). Each newly accepted reported scorer result per experiment item counts as one AI Observability event. Retries, edits and deletes add no events, but re-uploading a deleted result in an open experiment counts again. Online evaluations bill on a different unit: each evaluation run counts as one AI Observability event, per the online evaluations docs.
Worked example (illustrative assumptions, not vendor data): a team keeps 200 test cases, each scored by 3 item scorers, runs the suite 40 times a month in CI, and sends 120,000 production AI events the same month. Each run produces 200 × 3 = 600 scorer results, so 40 runs produce 24,000 events, and the total pool is 24,000 + 120,000 = 144,000 events. The first 100,000 are free, which leaves 44,000 events in the 100,001 to 150,000 band, so 44,000 × $0.00035 = $15.40 per month, reading the tiers as marginal bands. To compare those runs over time, the team should keep one suite_key per suite across runs, which the offline evals docs ask for.
| Line item | Units | Result |
|---|---|---|
| Scorer results per run | 200 cases × 3 scorers | 600 events |
| Offline events per month | 600 × 40 runs | 24,000 events |
| Total pool with production traffic | 24,000 + 120,000 | 144,000 events |
| Free allowance | First tier | 100,000 events |
| Billable events | 144,000 − 100,000 | 44,000 events |
| Monthly cost at $0.00035 | 44,000 × $0.00035 | $15.40 |
Braintrust cannot be priced in the same units from public pages, because its plans meter processed gigabytes and scores. If Braintrust's score unit matches this scenario, the 24,000 figure sits above Starter's 10k included scores, and at Starter's listed overage of $2.50 per 1,000 scores the extra 14,000 would cost $35 on Starter before any other usage charges, compared with Pro at $249 per month. Our read: at this volume, the bill is small for PostHog, and the cost that matters is the engineering time to keep the gate working.
Vendor profiles: best fit, limits and implementation
PostHog offline evaluations
Best fit: teams already using PostHog for AI observability or product analytics who want scored test runs beside production data.
Limits: no built-in merge gate; payloads are deleted after 30 days.
Implementation: Python, TypeScript (
@posthog/ai8.16.0+) and Go (1.21+) SDKs are documented. Set the run source tociand record the agent's commit SHA as the application version, per the Experiments docs. The MCP server can also create scorers, manage datasets and upload experiments.Evidence: the launch entry and the offline evals docs.
Braintrust
Best fit: teams that want a pull-request comment from the eval runner without writing the reporting layer.
Limits: the action docs do not document a threshold input, so gating needs a custom reporter or exit-code logic. Enterprise pricing is quote-based.
Implementation:
braintrustdata/eval-action@v2takes anapi_keyand aruntimeof node, python or go. For cheap pull-request runs,--first Nor--sample Nprovide a smoke test, with the full run reserved for merges, per the CI docs.Pro tier detail: Pro tier: $249 per month with 5 GB according to Braintrust (2026).
Evidence: the Braintrust pricing page and the CI docs.
LangSmith
We opened LangChain's pricing page only, so this guide makes no capability claim about LangSmith's CI features. From public pricing alone, its paid tiers are per seat with pay-as-you-go usage on top, which means the bill can grow with both the number of people and the traces used. Enterprise pricing is quote-based. Evidence: the LangChain pricing page.
Where a proposed US Tech Automations workflow could sit
The two workflows below are proposed, configurable designs that US Tech Automations could build around PostHog's upload path. They are not a live deployment, and we report no measured results from them.
Proposed pre-release gate: the trigger is a CI job that finishes an offline experiment uploaded with run source ci. The configured job computes the run's pass rate and its counts of errors, skipped checks and missing results from the scores in the test script, compares them with the saved figures from the last accepted run, and posts a pass, warn or fail verdict, with the failing item keys, to the pull request and a Slack channel. Prerequisites are a project secret key with offline_evaluation_ingestion:write, the llm_analytics:read scope to look up scorer versions, and a threshold that the engineering lead writes and signs off. Review points: an engineer reads every fail before merge, and the workflow never edits test cases or scorers, because PostHog has no built-in gate and the team's own exit code is the policy. For routing verdicts into chat tools, our Monday.com to Slack guide is a related read.
Proposed weekly coverage digest: the trigger is a weekly schedule. The workflow collects each suite's pass rate and the counts of errors, skipped checks and missing results from summaries the CI job saves, and it keeps those counts because the Experiments docs say pass rates count only results with status ok. It writes a one-page digest for the product owner that shows the change in pass rate since the last run. Prerequisites are those saved run summaries and a mapping from suite keys to owners. Review point: the product owner decides which cases to add or retire, and the digest only reports.
The realistic alternative for most small teams is stitching these steps together in Zapier, Make or n8n, or writing a small in-house runner. Those tools can keep run histories, retries, error branches and audit trails when they are configured that way, so the comparison is not about raw capability. The buyer still designs and owns idempotency, escalation paths, access controls and maintenance, and a flow that fails quietly after a key rotation is the failure mode to design against. A US Tech Automations design would differ mainly in writing those pieces, and the human review points above, into the flow from the start, while still depending on the same PostHog exports and key scopes.
Who should choose which
| Vendor | Choose it when | Disqualifier |
|---|---|---|
| PostHog offline evaluations | Your team already runs PostHog and wants scored test runs next to production data | No built-in merge gate, so an engineer must own the threshold code |
| Braintrust | You want a pull-request comment and a documented CI action without writing the reporting layer | Metering by gigabyte and score can be hard to forecast for low-volume teams |
| LangSmith | Per-seat pricing fits your team plan | Not evaluated for CI capability in this guide |
Who this is for and who should skip it
Who this is for: a small B2B team with an AI feature in production, one engineer who owns the CI pipeline, and a fixed set of cases with expected outputs.
Red flags: you have no written test cases yet; nobody owns the CI pipeline or the pass-fail threshold; you expect a merge gate to work without writing any code.
Decision checklist before you start:
Do you have a fixed set of cases with expected outputs?
Who writes and owns the pass-fail threshold?
Do you already run production monitoring in PostHog?
Is per-event or per-seat billing easier to forecast at your volume?
Will a failed check reach a human before merge?
When NOT to use US Tech Automations: a simpler existing tool wins in three cases. If your team only needs PostHog's upload path and a threshold script, the SDK and a short CI step do the job without an extra layer. If you have one engineer and a handful of cases, a manual check before each release costs less than any automation. If your only need is a summary of production scores, PostHog's own reports can send summaries by email or Slack. In each case the simpler tool is the better choice, and a custom workflow adds maintenance without a clear return.
Signal vs Speculation: what the launch confirms
Signal, confirmed on vendor pages:
Offline evaluations became generally available on November 26, 2026, per the changelog.
Runs can happen locally or in CI, with results uploaded to PostHog, per the offline evals docs.
The Experiments docs describe no built-in pass-fail gate.
Payloads are deleted 30 days after acceptance; scores are kept.
Each newly accepted reported scorer result counts as one AI Observability event.
Speculation, our read and not vendor claims:
That PostHog will add a built-in merge gate. The vendor has not published a plan for one, so do not budget for it.
That offline evaluations will displace Braintrust or LangSmith for most teams. We compared only what public pages state and have no usage data.
That most small teams today run a CI script with no shared history. It is a common starting point in our read, not a measured share.
That the vendor will publish a before-and-after comparison. It has not, in the pages we opened.
Questions buyers ask before acting
Is PostHog offline evaluation generally available now?
Yes, PostHog's changelog entry dated November 26, 2026 says offline evaluations are now generally available.
Does PostHog block a merge when scores drop?
No, the Experiments docs describe no built-in gate and say to check scores against your own threshold and exit with a failure code.
How is offline evaluation billed?
Each newly accepted reported scorer result per experiment item counts as one AI Observability event, and retries, edits and deletes add no events.
Where do test cases live?
You can keep them in code, in a file or in a PostHog dataset, and each case has an input and optionally an expected output.
Is Braintrust cheaper for a small team?
Braintrust's Starter plan is free, but its Pro plan meters processed data and scores, so compare your own volumes in those units before deciding.
Should we act this month?
If you have an AI feature in production and no fixed pre-release check, start a one-month pilot inside existing CI; if you already gate changes, keep your current setup until a specific gap shows up.
Decide this month
The launch makes one useful step easier: scored offline runs with history, billed per scorer result, in a product many teams already use for production data. It does not remove the hard part. Someone still has to write the cases, set the threshold and read every failure before merge. Start with a small fixed case set, one owner and one written threshold, then decide at the end of the month whether the run history is worth keeping. To see how a review step like this is configured in practice, see how US Tech Automations configures this for a CI pipeline.
About the Author

Helping businesses leverage automation for operational efficiency.