If you want to know whether coding agents integrate your API correctly, give them realistic tasks with your product and run each task many times in a sandbox. Grade each requirement separately. Then report two numbers: the average score, and the share of runs that pass every required check. Stripe's new benchmark shows why you need both numbers. Across all agent setups, the average score was 78.1%, but only 29.4% of runs passed every required check.
A working request can still be a wrong integration
Vercel describes the problem with an example. An agent can place a "successful" order for a hot latte when the user asked for an iced one. The request worked, so the logs look fine. The task still failed.
API integrations fail the same way. Stripe found that coding agents "bias towards older APIs that are more prevalent in their pretraining corpus, miss key features, and hallucinate". Pretraining data is the large body of text and code that a model learns from before release. Old patterns appear in that data more often than new ones, so the model writes them first.
Stripe gives a specific case. In a mobile payments scenario, GPT-6.1 Sol without the plugin used payment_method_types: ['card']. The current pattern is automatic_payment_methods, which turns on Dynamic Payment Methods. The old call runs. The integration is still out of date.
Microsoft's DevAX research reports a similar case. An agent built a SharePoint Framework web part on version 1.11.0, from July 2020, six years out of date.
Normal coding benchmarks do not catch this. Stripe says they check "whether the code passes deterministic checks, not whether the API integration is correct." To catch it, a vendor must test the agents that use its own product. This is a different job from the workflow-specific evals that a team runs on its own agent.
Key numbers from Stripe's benchmark
Stripe published its benchmark and its Forge eval harness on 19 November 2026.
| Measure | Value |
|---|---|
| Scenarios | 69 (24 payments, 26 subscriptions, 19 Connect) |
| Model and harness pairs | 14, in Claude Code, Codex, and OpenCode |
| Runs per coding agent | 276 (69 cases x 2 repetitions x 2 arms) |
| Average score, all agents and both arms | 78.1% |
| Strict pass rate, all agents and both arms | 29.4% |
| Average score gain from the plugin | About 3 to 8 points for every setup |
| Outdated parameters in API calls | 7% without the plugin, 1.3% with it |
| Web searches per eval (OpenCode setups not measured) | 1.26 without the plugin, 0.05 with it (-96%) |
The two arms are "without the Stripe agent plugin" and "with the plugin." The plugin gives the agent skills and an MCP server. MCP (Model Context Protocol) is a standard way to give an agent tools. The plugin tools include stripe_implementation_planner, search_stripe_documentation, and API search and details tools.
Average score and strict pass rate
Stripe grades each scenario against a list of criteria. Each criterion is a MUST or a SHOULD, as in RFC 2119. A separate judge grades each criterion.
- Average score = criteria passed / all criteria, averaged over runs. It gives partial credit.
- Strict pass rate = runs where every MUST criterion passes / all runs. Each case is pass or fail.
Here is Stripe's own worked example:
- A scenario has 8 criteria: 7 MUST and 1 SHOULD.
- A run satisfies 6 of the 8 criteria.
- The average score for the run is 6 / 8 = 75%.
- Two criteria failed, and only one of them can be the SHOULD. So at least one MUST failed.
- The strict result for the run is 0.
The run looks good on the average score and fails on the strict pass rate. Stripe says that "many of the models create almost correct implementations and have difficulty with the last mile."
One last-mile example: in a Radar review scenario, Opus 5.5 checked only PaymentIntent.status === 'succeeded' before it shipped an order. Stripe notes this "can allow orders to ship after refund or dispute." Most of the code was correct. The one missing check is the one that costs the merchant money.
Is the 78.1% the score without the plugin? No. Stripe's figures pool both arms. We recomputed the means from Stripe's Table 1:
| Arm | Average score | Strict pass rate |
|---|---|---|
| Without plugin (mean of 14 setups) | 75.8% | 25.3% |
| With plugin (mean of 14 setups) | 80.6% | 33.4% |
| Both arms pooled | 78.2% | 29.4% |
| Stripe's stated figure | 78.1% | 29.4% |
The pooled values match Stripe's figures within rounding. These are our calculations. Stripe does not state the per-arm means.
All 14 agent setups, with and without the plugin
| Model | Harness | Avg score (without → with) | Strict pass (without → with) |
|---|---|---|---|
| Haiku 5.5 | Claude Code | 73.5 → 76.2 | 23.5 → 30.9 |
| Sonnet 5.5 | Claude Code | 78.0 → 82.6 | 29.4 → 33.1 |
| Opus 5.5 | Claude Code | 83.5 → 86.2 | 35.3 → 36.0 |
| Fable 5.1 | Claude Code | 79.5 → 84.6 | 25.4 → 36.4 |
| Fable 5.2 | Claude Code | 81.1 → 85.2 | 28.4 → 43.2 |
| GPT-6 Luna | Codex | 72.0 → 79.1 | 17.3 → 29.1 |
| GPT-6.1 Sol | Codex | 85.6 → 89.6 | 39.0 → 50.7 |
| GPT-6 Astra | Codex | 85.5 → 90.0 | 41.9 → 52.9 |
| Gemini 4 Argon | OpenCode | 74.3 → 77.6 | 20.6 → 31.6 |
| Gemini 3.8 Flash | OpenCode | 64.8 → 72.7 | 11.2 → 21.6 |
| Grok 4.7 | OpenCode | 72.0 → 75.8 | 21.3 → 26.5 |
| Kimi K3 | OpenCode | 69.2 → 75.0 | 21.1 → 25.0 |
| GLM 5.3 | OpenCode | 68.1 → 72.6 | 18.5 → 21.8 |
| Minimax M3.1 Flash | OpenCode | 73.4 → 80.8 | 21.5 → 28.6 |
Source: Stripe, Table 1. Stripe's table labels gains with "%", but they are percentage-point changes. The average score gains go from +2.7 (Haiku 5.5 and Opus 5.5) to +7.9 (Gemini 3.8 Flash).
The plugin moved the strict pass rate more than the average score. By our calculation from Table 1, the mean average score went up 4.8 points. The mean strict pass rate went up 8.1 points, from 25.3% to 33.4%. That is about one third more fully correct runs. The gains differ a lot between setups. Fable 5.2 gained 14.8 points. Opus 5.5 gained 0.7 points.
Do not use this table as a model ranking without care. Stripe says that "cross-model comparisons should be contextualized with Table 3." That table splits scores by case type, and the results change by category. Fable 5.2 went from 69% to 73% on subscriptions and from 89% to 97% on Connect. Connect gained the most from the plugin. The strongest setups on payments and subscriptions were not the strongest on Connect.
What the plugin changed in agent behavior
A score tells you whether the result improved. Behavior metrics tell you why, and what you gave up.
| Behavior per eval | Without plugin | With plugin | Change |
|---|---|---|---|
| Web searches (OpenCode setups not measured) | 1.26 | 0.05 | -96% |
| Page fetches | 4.84 | 1.78 | -63% |
| All tool calls | 59.4 | 61.4 | +3% |
| Outdated parameters in API calls | 7% | 1.3% | -5.7 points |
| Evals in which the agent ran tests | 53% | 42% | -11 points |
| Test lines written | baseline | about 40% fewer |
With the plugin, agents searched the web less and used Stripe's guidance more. Two results need attention:
- Agents wrote fewer tests. If your plugin makes agents more confident, they can skip checks that a developer needs.
- Some setups did more work. Fable 5.1 made 53% more tool calls. Gemini 4 Argon fetched 12 times more pages. Gemini 3.8 Flash made 26% fewer tool calls.
Stripe notes that web search for the OpenCode setups was not measured, so the web search figures cover only the setups where Stripe measured it.
How other companies test agent use of their product
Stripe is one of several companies that have published methods. Each company tests a different part of the problem.
| Organization | What it tests | Method | Useful lesson |
|---|---|---|---|
| Stripe | Coding agents that integrate the Stripe API | 69 scenarios, simulated developer, one LLM judge per criterion, with and without plugin | Report the strict pass rate next to the average score |
| Vercel | Agents that find and use a product (sample CLI sfbeans) |
Three test tiers, run in containers with Harbor | Pick the cheapest tier that catches the problem |
| Microsoft DevAX | Changes to docs, CLIs, and output formats | Before and after runs per change | Some popular fixes hurt results |
| PostHog | PostHog's own agents | Golden set of 33 real incidents, isolated runs | Agents cheat if runs share state |
| GitHub | Agents with variable paths | Check the essential outcomes | Validate the outcome, not the path |
| Databricks | Coding agents on its own codebase | Internal benchmark across harnesses | The harness changes cost and quality |
Vercel describes a funnel. Agents "go through the same funnel a human does to find and use a product: Discovery, Selection, Access, and Success." Vercel runs its evals in Harbor, "an open-source framework from the creators of Terminal-Bench that runs agents in containers, checks results, and records their actions." Vercel also tells product owners to identify which agents call them. Its sample CLI "adds a user-agent header when it detects a specific coding harness." Our Harbor Framework guide covers the framework in more detail.
PostHog tests its own agents, not outside agents that use PostHog. Its lesson on isolation applies to any vendor eval: "agents love to cheat. They'll search for leaked context, memory, and database query logs to pass benchmark tests with as little work as possible." In one case, a run saved a memory, and a later run used that memory instead of doing the work. Vercel reports the same risk. Agents can try to edit the inventory or write orders.json directly to get the reward.
GitHub found that when agents vary their path, a strict path check gives false failures: "The agent didn't fail. The validation did." It defines correctness as "reliably achieving the essential outcomes." Databricks found that "the harness a model is called from dramatically impacts cost and quality." Test each model in the harness that your users actually run, as Stripe did.
Fixes that help and fixes that hurt
Vendors can change many things to help agents: docs, CLIs, output formats, MCP servers, skills, and plugins. Measured results show that the direction of the effect is not always clear in advance.
| Change | Source | Measured effect |
|---|---|---|
| Agent plugin (skills plus MCP server) | Stripe | +2.7 to +7.9 points average score on all 14 setups |
| Docs fix | Microsoft DevAX | Configuration checks passed: 30/80 (37.5%) before, 83/85 (97.6%) after |
| Structured JSON output | Microsoft DevAX | 72 to 85 of 85 configuration checks |
| Same output as JSONL | Microsoft DevAX | 2.6 times more tokens, worse on every dimension |
| CLI arguments as one JSON payload | Microsoft DevAX | 4 to 11 times the cost per task; correctness never improved; Haiku 4.5 fell from 5 of 5 to 2 of 5 |
| Tip added to the docs | Microsoft DevAX | 1 of 5 runs used the tool |
| Most capable model | Microsoft DevAX | +1 point at 5.6 times the cost per run |
The before and after denominators in the docs fix are different (80 and 85 checks), so compare the percentages. The DevAX models (Sonnet 5 and Haiku 4.5) are older than the models in Stripe's benchmark.
Our recommendation: treat each fix as an experiment. Run the same scenarios with and without the change, as Stripe did with its plugin. If a change does not raise the strict pass rate, or if it raises cost a lot, do not ship it. Our posts on harness A/B testing and agent skills explain how to package and test this type of change.
No public source gives an industry-wide rate of deprecated API calls by agents. Stripe's 7% to 1.3% is the only measured rate in our research. No source compares llms.txt, an MCP server, and a plugin on the same benchmark.
Map Vercel's three tiers to checks for an API product
Vercel's test pyramid has three tiers: "deterministic tests (0), one-turn evals (1), and E2E evals (2+ across a whole task)." The number is the count of LLM calls. Vercel's rule: "start with the problem you want to catch and pick the lowest tier that can catch it."
The first three columns come from Vercel. The last column is our own synthesis for API products, with Stripe's checks in the end-to-end row.
| Tier | Question it answers | Vercel sfbeans example |
Checks for an API product |
|---|---|---|---|
| Deterministic test (0 LLM calls) | "Does your software behave in the way you expect?" | A quote adds tax and tip correctly; an order charges exactly the quoted total | API contract tests, error messages that name the current parameter, deprecation warnings, docs examples that run |
| One-turn eval (1 LLM call) | "Does the agent pick the right command and generate the right arguments?" | Is the first command sfbeans search? Does the agent run quote before it orders? |
First API call uses the current endpoint; no deprecated parameters; correct auth method |
| End-to-end eval (2 or more LLM calls) | "Does the agent complete the task correctly?" | Place exactly one order for a large iced latte with whole milk, ready by 9:00, under $8 including tip | Uses automatic_payment_methods; checks fulfillment eligibility after refunds and disputes; handles webhooks |
Vercel says a good task set "covers the common case, the edge cases that trip agents up, and at least one request where the right move is not to act." Add the third type. An agent that writes code for every request, including a request it should refuse, is also a failure.
Pass@k or Pass^k: pick the metric from the cost of failure
Vercel defines two metrics for repeated trials:
- Pass@k is "the chance that at least one of k trials passes."
- Pass^k is "the chance that all k trials pass."
Vercel gives illustrative numbers (they are not measured data). If a trial passes 60% of the time:
- Pass@5 = 1 - 0.4^5, which is about 99%.
- Pass^5 = 0.6^5, which is about 8%.
- If an agent orders coffee every day of a 5-day week, at least one order is wrong in about 92% of weeks.
Vercel says the right metric "depends on what a failure costs your user." For a coffee order, use Pass^k. For a coding agent that gets test feedback and can retry, Pass@k can be correct. Stripe's strict pass rate is close to the Pass^k view. Stripe says it "is more indicative of developer success, but it is sensitive to any data or judgement errors." Our post on agent run variance covers this choice in more detail.
Build plan for a vendor-side eval
- Write scenarios from real integrations. Cover the common case, the edge cases, and one request where the agent should not act. Stripe used 69 scenarios in three product areas.
- Write criteria as MUST or SHOULD. Make each criterion one checkable fact, for example "uses
automatic_payment_methods." - Add a simulated developer for multi-turn tasks. Stripe's simulated developer holds "a frozen, private set of needs," usually two to four, with a maximum of six. See our guide to agent simulation testing.
- Run every trial in a fresh sandbox. Do not share memory, logs, or files between runs. This blocks the leaks PostHog found.
- Test the harnesses your users run. Stripe used Claude Code, Codex, and OpenCode.
- Run each scenario with and without your fix. Repeat each case. Stripe ran 2 repetitions per arm.
- Grade each criterion separately. Use a deterministic check on the final state where you can. Use an LLM judge only where code cannot decide.
- Add reward hack checks. If the agent edits test files or writes output files directly, fail the run.
- Report three things. Report the average score, the strict pass rate, and behavior metrics (searches, fetches, tool calls, tests run).
- Split results by case type. Do not publish one ranking that mixes payments, subscriptions, and platform cases.
For tier 0 and tier 1, run the tests on every docs or SDK change. Run the end-to-end tier on a schedule and before each plugin or docs release.
Limits of this type of eval
- It checks specification, not execution. Stripe says: "A well-shaped but non-functional integration can score full marks. The benchmark asserts correct specification, not correct execution." Add tier 0 tests that run the generated code against a sandbox account.
- An LLM judge is in the loop. Stripe used GPT-6.1 Sol as the judge and as the simulated developer. A probe with Opus as the judge showed no bias, but Opus was "a more lenient judge uniformly." This shifts the absolute score, so compare arms that use the same judge.
- It does not measure everything. Stripe does not measure product recommendation quality or long-term maintenance.
- Errors leave the score. Stripe excludes runs that hit its 45-minute timeout or other errors. Report the error count too.
- Assert on structure where content varies. LangChain's testing guide recommends this approach: "Assert on structure, not content." For a one-turn eval, check the tool name and the argument shape.
Which approach fits your situation
| Your situation | Start with | Main metric |
|---|---|---|
| Small API, few endpoints, low cost per failure | Tier 0 tests and tier 1 evals on the first API call | Share of first calls with no deprecated parameters |
| Developer tool or CLI with many commands | Vercel's three tiers in Harbor, including do-not-act tasks | Pass@k, efficiency on successful trials |
| Payments, finance, or other high-cost failures | Stripe-style end-to-end scenarios with MUST criteria | Strict pass rate or Pass^k |
| You plan to ship an MCP server, plugin, or docs change | The same scenarios with and without the change | Strict pass rate change and cost per task |
If your strict pass rate is far below your average score, start with the last-mile checks. Find the MUST criteria that fail most often. Then test one fix for each. Keep the fix only if the strict pass rate goes up.
Make your product easy for agents to use correctly
More of your customers' integrations are now written by coding agents, so how well agents use your API decides whether those integrations work in production. OpenNash puts forward-deployed engineers on your team, and we work with Fortune 2000 companies. A typical engagement:
- Collect real integration patterns and support tickets, and turn them into scenarios with MUST and SHOULD criteria.
- Pick the agent harnesses and models your developers use, and the right judge for each criterion.
- Build the three test tiers first, with sandbox isolation and reward hack checks.
- Test each docs, MCP server, or plugin change with and without the change, and ship only the changes that raise the strict pass rate at an acceptable cost.
- Train your developer experience team to add a new scenario for each failure they find.
At the end, you own the scenarios, the harness, the graders, and the dashboards.
Book a call with an OpenNash forward-deployed engineer or email us at hello@opennash.com. In the first session, we review your top AI use cases and your data, and we show you which ones give the highest business value and the fastest ROI.