Why we don't let AI do the payroll math

Why we don’t let AI do the payroll mathÂ
Remote just published PayMark, a benchmark that asked 12 AI models to calculate statutory deductions on 2,000 real payslips from 50 countries. The best model only got 26% of payslips fully right. Two models spent more than 30,000 tokens per payslip and still got more than 8 in 10 wrong.
Remote's conclusion is that payroll needs current rules under the model vs. all the archived information. While there’s no doubt that current rules are necessary, they’re not sufficient. The bigger issue is that the language model shouldn't be doing the calculation at all.
What PayMark shows
PayMark's setup is generous to the models. Each one gets the country, pay period, contract, earnings lines, gross pay and any employer-decided amounts, so it only has to work out the statutory employee deductions and employer contributions. The definition of "right" is generous too: an answer counts if it's within 1% of the expected amount or 0.25% of gross pay, whichever is larger. Even so, the best model got only 26% of payslips fully right.
To put that in pounds: on a £5,000 monthly payslip with about £950 of income tax, 1% of the tax figure is £9.50 and 0.25% of gross is £12.50. The larger applies, so the model's tax can be £12.50 out and still count as right. In a real UK payroll, that's an error that has to be corrected with HMRC and explained to the employee.
Payroll is a rules problem, not a reasoning problem
Payroll is a business of exactness. An employee is paid correctly or they aren't, and employees and tax authorities treat that as binary. An answer that's probably right is worth nothing.
That's why PayMark's generous tolerance is worth debating. Production payroll isn't judged within a percentage. It's judged to the penny. Even rounding rules can matter. For example, for National Insurance code calculations, the HMRC specifies rounding rules: NICs are rounded at the end of the calculation, when the figure is used or reported, and is rounded to the nearest penny with half a penny rounded down. HMRCÂ requires cumulative pay to-date to be calculated to 4 decimal place precision without rounding. German tax procedures have multiple intermediate rounding rules where an intermediate computed value will be subject to rounding up or down
Getting to the penny takes two separate things:
- Calculation accuracy. Given what the law says, does the system produce the right number?
- Regulatory compliance. When the law changes, does the system update, and how quickly and reliably?
A general-purpose language model struggles with both. Its knowledge of rates, thresholds and ceilings is fixed at training time, and current rules are mixed in with years of superseded ones. More reasoning can't produce a threshold the model never learned. And because models are probabilistic, the same payslip can come back with two different answers on two runs. Payroll has to be exact and reproducible: you need the same result when you rerun a period, answer an employee query or respond to an audit.
How Intermezzo uses AI: agents draft, deterministic machinery decides
We use AI throughout Intermezzo, but we don't ask a model to calculate a payslip. The rule is a division of labor: probabilistic models read, draft and investigate, and humans & deterministic machinery decide. Nothing an agent produces reaches production on its own authority, however confident it looks.
Our Global Knowledge Engine uses AI agents to monitor regulatory sources across markets. Changes arrive as unstructured text: legislation, statutory instruments and guidance, often in local languages. Agents detect and interpret each change and build a structured knowledge base. Evals test whether the extracted knowledge handles everything from regular payroll to esoteric boundary conditions correctly. Payroll experts review the results, and it goes into the engine with an effective date. Every change leaves an auditable record of what changed, when and why.
This is the "current rules under the model" that PayMark points to. April 2026 is a good UK example. Statutory Sick Pay became payable from day one at the lower of £123.25 a week or 80% of average weekly earnings, which added a per-employee earnings test that didn't exist before. Our engine calculates average weekly earnings from actual pay run history, so customers didn't have to change anything.
Our Gross-to-Net Engine is code, not a model. The same inputs produce the same outputs every time, to the penny. That's what lets a customer rerun a period, answer an employee query or face an audit and get the identical result. Keeping models out of the calculation path also means payroll doesn’t depend on an AI provider’s uptime. When a major model provider has an outage, anything that calls it in real time stops, including any payroll that needs a model to calculate each payslip. If that happens to us, our agents’ monitoring and drafting work pauses for a few hours. Pay runs carry on, because the engine doesn’t call a model and the rules it uses are already in place. Payroll deadlines don’t move for outages.
AI makes the engine faster to build without making it less exact:
- Coding agents can restructure the calculation engine however they like, as long as the output stays byte-identical to a recorded baseline. Verification runs after every change.
- A large corpus of test cases, including those provided by the relevant government authorities, is used to run evals. Independent critic agents reason and test each other's findings before a human sees them, using concepts from Google’s co-scientist. We treat a single model's opinion the way an auditor treats a single source.
We call it freedom of means, zero freedom of outcome.
What this looks like on a real payroll: a shadow run with our strategic investor CloudPay
This summer, as part of CloudPay's technical due diligence in connection with its strategic investment in Intermezzo, we conducted a shadow payroll to validate our technology in a real-world enterprise payroll environment. We rebuilt one anonymised UK client's April 2026 payroll in the Intermezzo engine from CloudPay's raw inputs, using the output of CloudPay's established UK payroll engine as the reference benchmark. The 1,684 employees included 74 leavers and people paid after leaving, such as redundancy settlements and pay in lieu of notice.
Our first full comparison matched about 50% of employees exactly to the penny: 799 of 1,610 active employees, with the remaining comparisons requiring additional payroll input data. Once the full set of required inputs was incorporated, the final run – two weeks later – matched 99.2% of employees to the penny on tax, NIC and net pay, with zero unexplained differences and zero Intermezzo bugs. The results exceeded the predefined success criteria for the technical validation and provided a strong proof point of Intermezzo's capabilities as part of CloudPay's investment assessment.
This isn't a like-for-like comparison with PayMark. PayMark tests models on statutory deductions across 50 countries with a percentage tolerance. Our technical validation with CloudPay covered a full payroll in one country, benchmarked against an established enterprise payroll engine to the penny, including non-statutory choices like pension schemes and absence schemes. Intermezzo can also read employer policies through our AI process and incorporate them into our deterministic calculation engines. The difference in approach is the point: with current rules and deterministic math underneath, the bar moves from "within 1%" to "exact."
What to ask any AI payroll vendor
PayMark is a useful reality check for anyone evaluating AI in payroll. If you're talking to a vendor, these questions separate AI that helps from AI that guesses:
- When a payroll runs, do the numbers come from a model or from deterministic code?
- If you run the same payslip twice, do you get the identical answer?
- If your AI provider goes down on payday, does payroll still run?
- How do rule changes get into the system, who reviews them, and can you see an audit trail with effective dates?
- What exactly is "accuracy" measured against: employees, line items or value, and to the penny or within a percentage?
AI earns its place in payroll by keeping rules current and making exact engines faster to build, not by doing the arithmetic.
If you'd like to see how this works on your own data, we'll run your UK payroll in parallel with your current provider, for free with our 99% accuracy guarantee. Book a call with our team.