Skip to content

Evaluate Anthropic and OpenAI on the same business questions

Updated 7 min readFor ML engineers and data leaders choosing a model provider for an analytics workflow

To compare Anthropic and OpenAI fairly, fix the questions, source snapshot, references and rubric, then let each provider run with its own documented settings. Identical request bodies aren’t achievable and aren’t the goal, since sampling, caching, refusal signals and token counts differ between the APIs. Normalize every response into one record, pair the results question by question and compare cost per accepted answer. Name exact model versions and one workflow in the conclusion, because it doesn’t carry over to anything else.

Start with the decision

A comparison with no decision attached produces plenty of numbers and no conclusion. Write down why you’re looking: answer quality on a specific workflow, operating cost, latency, or a deployment boundary one option meets. That reason chooses the measurements, and it should exist before anyone sees a result.

Then freeze four things: the question set, the source snapshot, the reference answers and the rubric. They belong to the workflow and stay the same for every candidate. When the first results for a preferred candidate disappoint, someone will want to drop a hard question or reword a reference, and at that moment the evaluation stops being defensible. An audit that shows a reference was wrong is different. Fix it and regrade both candidates against the correction.

Everything else is candidate configuration, and there the two APIs part ways.

Pinning means something slightly different on each side

Anthropic’s documentation states that each model ID identifies a pinned version, including the dateless IDs used from the 4.6 generation on, and that updated versions ship under new IDs. Aliases for earlier models are convenience pointers. It also says the serving infrastructure around fixed weights can change, and that this can occasionally produce small differences in behavior under the same ID.

OpenAI lists dated snapshots alongside aliases on its model pages, and its API overview tells developers to use pinned versions and to run evals, warning that prompting behavior between snapshots is subject to change. Record the exact identifier sent, the identifier the response reports, the API version, and the date of the run.

I’d take the Anthropic note seriously. Behavior can move slightly under one ID, so a result is dated evidence. Repeat a sample of the set on a schedule to find out whether it still stands.

Controls that do not cross the boundary

Setting the same temperature everywhere no longer works. Anthropic removed temperature, top_p and top_k in the October 21, 2026 API version, where they return a 400 error, and earlier versions return that error for non-default values on Claude 4.7 and later models. Its documentation says to omit them and guide behavior through prompting. Effort is a separate setting whose default varies by model, so leaving it unset still means a choice was made on your behalf. Write it in the run record.

Tool use and structured output need the same care. Both providers offer schema-constrained output, and both document that a refusal or a token limit can produce something that doesn’t match the schema. The signals differ. Anthropic reports stop_reason values of refusal and max_tokens, while OpenAI uses a refusal field and an incomplete status with a max_output_tokens reason. Anthropic also documents that the capitalization of enum values isn’t guaranteed and can change without any error, and a string comparison in a grader written for one provider will break on that without saying so.

A harness written against one API will misread the other. Put a thin adapter in front of the grader so that it never sees a provider’s raw response.

Raw materialWhat reviewers seeAnthropic responsestop_reason, usagewith cache fieldsOpenAI responserefusal, status, usagedetailsRun configurationModel, API version,effort, toolsPaired gradeSame question, samerubricCost per acceptedanswerIncludes review timeDisagreementsRead these by handNormalizerOne record per questionOutcomeReturned resultBillable usageExact identifiersRaw materialAnthropic responsestop_reason, usage with cache fieldsOpenAI responserefusal, status, usage detailsRun configurationModel, API version, effort, toolsNormalizerOne record per questionOutcomeReturned resultBillable usageExact identifiersWhat reviewers seePaired gradeSame question, same rubricCost per accepted answerIncludes review timeDisagreementsRead these by hand
Grading happens after normalization, so a refusal or a truncation is scored the same way whichever API reported it.
{
  "question_id": "fin-042",
  "provider": "provider-a",
  "model_requested": "<exact id>",
  "model_reported": "<exact id>",
  "api_version": "<version or date>",
  "outcome": "answered",
  "incomplete_reason": null,
  "tool_calls": 3,
  "result_rows_hash": "9f2c1e",
  "tokens": { "input": 8120, "cache_read": 6000, "cache_write": 0, "output": 412 },
  "latency_seconds": 11.4
}

Token prices are the wrong unit

Three details break a price-per-token comparison. First, token counts aren’t a shared unit. Anthropic’s own documentation says its current tokenizer fits roughly 555,000 words in a million tokens, against about 750,000 for earlier models, so even within one vendor a token buys a different amount of text.

Caching works differently too. OpenAI’s prompt caching is on by default for supported models once a prefix passes a minimum length, and reports cached tokens in usage.input_tokens_details.cached_tokens. Anthropic’s is opt-in through cache_control, with writes charged at a premium to the base input price and reads at a steep discount, reported in cache_creation_input_tokens and cache_read_input_tokens. An analytics agent resends a large schema and instruction prefix on every step, so the hit rate can dominate the bill. Run the test at realistic pacing as well. A burst of parallel test requests can miss a cache that real traffic would hit, and Anthropic notes that an entry only becomes available after the first response starts.

Review time is the third, and it usually dwarfs the rest. In a synthetic example, candidate A costs 3.0 cents per question and 80 of 100 answers are accepted, while candidate B costs 2.2 cents and 62 are accepted. Every rejected answer costs an analyst six minutes at 1.25 dollars a minute, or 7.50 dollars. A comes to 3.00 plus 20 times 7.50, or 153 dollars in total and 1.91 dollars per accepted answer. B comes to 2.20 plus 38 times 7.50, or 287.20 dollars in total and 4.63 dollars per accepted answer. On these invented numbers the cheaper API costs more than twice as much per usable answer.

Read the results as pairs

Both candidates answered the same questions, so compare them question by question. Two overall percentages can look tied while one candidate consistently beats the other where they disagree. McNemar’s test, covered in the post on LLM evaluation metrics, is built for this. It uses only the discordant pairs, and an exact binomial version exists for small counts. I’d also spend reviewer time on those discordant questions first.

Grade facts and narrative separately. Facts go first, compared with approved references using a stated tolerance. Then a person or calibrated judge reviews whether the explanation preserved scope, stated caveats and avoided unsupported causes. A candidate can get the number right and explain it badly, or explain an incomplete result very clearly, and those findings call for different responses.

Hide the provider name from whoever grades narrative, and randomize the order, since OpenAI’s guidance warns that judges can be swayed by response order and length. When reviewers disagree, look at the rubric before blaming a model. Often nobody had decided what a good answer was. Keep the rubric version with the results, so a later score can be read against the criteria applied at the time.

Variance needs a plan as well. Run a sample of questions several times per candidate, and report how often each one’s result changes. A model that’s right 90 percent of the time on one question is a different thing to operate from one that’s always right or always wrong.

Settle the pass-or-fail terms first

Some requirements are pass or fail, so settle them before anyone spends time on quality. Confirm them against the current documents and your own contract, because the terms differ by platform.

CheckAnthropic documentsOpenAI documents
Default retentionAPI inputs and outputs deleted within 30 days, with stated exceptionsAbuse monitoring logs up to 30 days; stored responses 30 days by default
Zero retentionBy separate agreement, with feature eligibility listedRequires approval from OpenAI; forces store to false on supported endpoints
Training on API dataSee the commercial terms for your agreementNot used for training unless you choose to share
Retirement noticeAt least 60 days for publicly released modelsAt least 6 months for generally available models, 3 for specialized variants, possibly 2 weeks for previews
Cloud marketplacesOn Bedrock and Google-managed Google Cloud, the cloud provider is the processor and sets lifecycle datesCheck the platform you buy through

A conclusion narrow enough to defend

Keep the conclusion narrow: this model version, with this configuration, on this question set, met these gates on this date. Include a representative case the winner failed, so the next team knows which requests still need another path or extra review. Add the conditions that reopen the decision, such as a retirement notice, a meaningful change in the workload, or a new requirement around where data may go.

I wouldn’t write that one provider is better. Nobody can reproduce that sentence, and it will get repeated long after both models are gone. Reputation can suggest which candidates to test. The evidence has to come from your own workflow.

Accuracy numbers from vendors

The same questions apply to analytics vendors. Our Nexatron release runs pin the model production uses, and we publish no headline figure because the figure moves with the model. When someone quotes you an accuracy number, ask which exact model produced it, on which questions, and what happens to it when the model changes.

Claude is a trademark of Anthropic, PBC.

Bring three business questions

Explore your sources, definitions, and review criteria with our team. Please keep credentials and sensitive records out of the inquiry.