LLM Eval Frameworks Compared: Perplexity vs Agentic [2026]

OpenAI's Chief Scientist wants perplexity to be the industry's shared yardstick. Here's what that means for choosing between DeepEval, Promptfoo, OpenAI Evals, and lm-evaluation-harness.

Part of theAI Agent Architecture & Frameworks series
Two people working on computer code at monitors in a bright office workspace
Listen to this article
--:--

On November 22, 2026, OpenAI's Chief Scientist did something the company had never done before: he published its internal perplexity curves going back to GPT-3.5. In an essay titled "Perplexity and Intelligence," Jakub Pachocki argued that perplexity, not leaderboard scores, should become the industry's shared yardstick for AI progress.

It hit the #2 spot on Hacker News with 486 points and 335 comments inside nine hours.

Most engineers read it as a verdict on intelligence. That's the wrong read, and it quietly reframes every llm eval framework comparison you'll run this year.

Here's the tension nobody connected. The essay arrived eight months after OpenAI acquired Promptfoo, one of the most widely deployed eval frameworks in the industry. So the company now arguing for a new shared metric also owns a major tool for measuring the old ones.

That's the real story. And nobody has tied it to the decision every team actually faces: which eval framework to install, and what to gate your releases on. Let me do that.

Key takeaways

  • Perplexity measures the quality of the pretrained model. It tells you almost nothing about whether your agent finishes a multi-step task in production.
Smartphone screen displaying chatgpt app details
  • OpenAI's push to standardize perplexity is a safety-pacing argument between labs, not an application-testing recipe for the teams building on top of those models.
  • DeepEval, Promptfoo, OpenAI Evals, and lm-evaluation-harness each measure a different layer: trajectories, model-vs-model behavior, task accuracy, and academic benchmarks respectively.
  • A model can post state-of-the-art perplexity and still fail your eval suite, because elicitation (prompting, tool use, retrieval) lives above the pretraining layer perplexity captures.
  • OpenAI owning Promptfoo makes framework neutrality a real question you should factor into tooling choices, not a hypothetical one.

What Is LLM Evaluation, and What Does an Eval Framework Measure?

LLM evaluation is the practice of measuring whether a language model, or the application built on top of it, produces outputs that are correct, grounded, and useful for a defined task. The common misconception is that a single number can capture it. It can't.

a person holding a cell phone with a chat app on the screen

An eval framework is the software that automates those measurements. It runs your model against a dataset or a live trajectory, applies metrics, and returns scores you can track across versions the way you track test coverage.

The confusion in the perplexity debate comes from collapsing two different questions. One: how good is the raw model at predicting text? Two: does the system you shipped actually finish the job? Perplexity answers the first. Eval frameworks answer the second, and none of the four popular ones below report perplexity at all.

I gate on the second question, always. Running the seven-agent pipeline that has published 261+ posts on this site, I've learned that a release passes or fails on task completion against a golden set, never on how confidently the model predicts tokens. A model that scores beautifully on next-token prediction can still drop an idempotency key on step six and corrupt a publish. That lesson, not a leaderboard, is why I treat production AI evaluation as trajectory-level by default.

What OpenAI's 'Perplexity and Intelligence' Essay Actually Argues

Pachocki's core claim is that modern AI progress is mostly the story of one thing: training better compressors. You build a large computer, you pretrain a model on a huge unstructured corpus, and then you apply a grab-bag of techniques (prompting, fine-tuning, reinforcement learning) to elicit the latent capability already baked into that model. He calls the pretrained model the "intelligence substrate" and, borrowing his own earlier phrase, an "alien mind."

A smartphone screen displaying a chat interface with a virtual keyboard on black

The measurement that tracks progress on that substrate has stayed remarkably constant: perplexity on a held-out dataset. His argument is that perplexity, not leaderboard scores, is the honest signal of how capable the raw model is, and that labs should publish it so the industry has a shared scientific basis for pacing progress and setting safety standards.

Perplexity tells you how good the raw model is. It tells you almost nothing about whether your agent will actually finish the task.

This is a safety-coordination pitch aimed at other frontier labs. Pachocki even admits that publishing OpenAI's numbers "gives competitors a clearer picture of where we stand," but argues the urgency of shared safety measures outweighs it. Read it that way and it's reasonable. The problem is how fast it gets flattened into "perplexity is the real intelligence metric, benchmarks are noise." That reading falls apart the moment you ship an agent.

Perplexity, Explained: Why It's Not the Same as 'Intelligence'

The most-upvoted critique on Hacker News, from commenter hazrmard, was blunt: the essay never plainly defines perplexity. A follow-up from hauntsaninja gave the intuition that actually sticks. Perplexity is roughly "the number of options a model is considering for the next token." A perplexity of 10 means the model is, on average, about as uncertain as if it were choosing uniformly among 10 tokens. Lower means it's more confident and more often right.

Formally it's the exponential of cross-entropy loss over your held-out text. If your model assigns high probability to the tokens that actually appear, cross-entropy is low and perplexity is low. That's the whole mechanic. It's cheap, it's continuous, and it's been the backbone metric since the n-gram era.

Here's the catch the essay underplays. Perplexity is defined against a dataset, and it measures next-token prediction, not task success. hauntsaninja pointed to Section 6.3 of the 2020 Scaling Laws for Neural Language Models paper and its idea of an "unknown floor," a point below which perplexity can't usefully fall because natural language has irreducible entropy. Two models can sit a hair apart on perplexity and behave completely differently once you ask them to call a tool, follow a system prompt, or stay on-task across 20 steps.

That gap between predicting tokens and doing work is exactly where every practical eval framework lives. It's why I treat perplexity as a lab-internal metric rather than something I'd gate a release on.

Where Leaderboard Benchmarks Diverge from Real Agentic Performance

Pachocki's essay implicitly throws shade at leaderboard benchmarks too, and he's half right. The canonical leaderboard engine, EleutherAI's lm-evaluation-harness, has 14,521 GitHub stars and ships 60-plus standard academic benchmarks: MMLU, HellaSwag, the usual suspects. It powers the Hugging Face Open LLM Leaderboard. These tests are multiple-choice or short-answer, scored on exact-match accuracy, and they measure elicited capability on static questions.

Neither perplexity nor a 60-benchmark leaderboard tells you what you need to know about an agent. I've seen this firsthand running the multi-agent pipeline that publishes this blog. A model can ace reasoning benchmarks and still botch a 7-step tool-calling trajectory because it forgets to pass an idempotency key, hallucinates a field name, or loops. Task success in a real system depends on function calling accuracy, retrieval grounding, state handling, and recovery from its own mistakes. A leaderboard score captures none of it.

Consider a concrete failure mode. A retrieval-augmented agent answers a support question fluently, with low token-level loss, but silently cites a deprecated doc because its retrieval step pulled a stale chunk. Exact-match accuracy on a static benchmark never sees that. A faithfulness metric run over the live trajectory catches it on the first eval.

This is the well-worn complaint that benchmark-topping models aren't always "smarter" in production, and it's correct. If you're building AI agents, the thing you have to measure is the trajectory, not the trivia. I've written before about why you should evaluate AI agents in production rather than trust pre-ship benchmarks, and the perplexity debate only sharpens the point. The metric OpenAI wants shared and the metrics your users feel are measuring different layers of the stack.

LLM Eval Framework Comparison: DeepEval vs. Promptfoo vs. OpenAI Evals vs. lm-evaluation-harness

Here's the practical translation of all that philosophy. Four frameworks dominate the open-source eval conversation, and they are not substitutes. They sit at different layers.

FrameworkWhat it measuresBest forLicense / stars
lm-evaluation-harness60+ academic benchmarks, accuracy on static tasksLeaderboard-style capability, pretraining-era comparisonMIT, 14,521 ★
OpenAI EvalsTask accuracy against a shared benchmark registryRegression-testing model changes on your own task setCustom OSS license, 19,782 ★
PromptfooSide-by-side model/prompt behavior + red-teamingModel selection, prompt iteration, security probingMIT, 27,551 ★
DeepEvalFull agentic trajectories: tool use, retrieval, sub-agent handoffsAgentic-era, production app testingApache-2.0, 19,595 ★

The split maps almost perfectly onto Pachocki's framing. The harness and, to a degree, OpenAI Evals live in the "elicited capability on fixed tasks" world. Promptfoo and DeepEval live in the agentic world, where you care about what the system does over multiple steps against your own data.

None of them measure perplexity directly, which is the quiet irony of the essay. The metric OpenAI wants the industry to rally around is not what any of the popular eval tooling reports, because application teams don't have access to held-out pretraining corpora or the loss curves. They have agents that either work or don't. If you want a deeper, metric-by-metric breakdown for agents specifically, I keep one in my AI agent evaluation framework post. For picking between orchestration and testing concerns, the production AI pillar collects the hard-won patterns.

Metric Types Explained: G-Eval, LLM-as-a-Judge, DAG, QAG, Task Completion

DeepEval alone ships more than 50 research-backed metrics, and the names scare people off. They're simpler than they sound.

  1. LLM-as-a-judge — you use a strong model to grade another model's output against a rubric. It's how you score open-ended answers that have no single correct string. Unlike perplexity, it evaluates meaning, not token probability.
  2. G-Eval — a specific LLM-as-a-judge method that turns a plain-language criterion ("is this answer faithful to the retrieved context?") into chain-of-thought scoring steps, then returns a normalized score. It's the workhorse for subjective quality.
  3. DAG (Deep Acyclic Graph) — decision-tree-style scoring where you encode a series of yes/no checks the output must pass. Deterministic where G-Eval is probabilistic, so you reach for it when you need auditable, repeatable grading.
  4. QAG (Question-Answer Generation) — generates verification questions from the output and checks the answers against the source, which is how you catch hallucination in RAG and retrieval-augmented generation pipelines.
  5. Task completion — scores whether the agent actually accomplished the user's goal across its full trajectory, not whether any single step looked plausible.

Notice the contrast with perplexity. Every one of these evaluates behavior after elicitation, the layer Pachocki brackets off as "targeted elicitation" and treats as secondary to the substrate. For anyone building production AI, that secondary layer is the entire product. The judge-model approach has its own failure modes, which is why I lean on deterministic gates first. In my own pipeline, deterministic checks before any LLM reviewer caught more regressions than doubling the review model's size did.

Why OpenAI Owning Promptfoo Changes the Eval Landscape

This is the part the primary sources dance around. On March 9, 2026, OpenAI acquired Promptfoo, announced by co-founders Ian Webster and Michael D'Angelo. At the time Promptfoo had been used by more than 350,000 developers, 130,000 monthly active, and teams at over 25% of the Fortune 500. Its GitHub README now reads "Promptfoo is now part of OpenAI" while staying MIT-licensed with 27,551 stars.

Put the two events next to each other. In March, OpenAI buys one of the most widely used model-comparison and red-teaming eval tools. In November, OpenAI's Chief Scientist publishes an essay arguing the industry should rally around perplexity as the shared metric. OpenAI is now simultaneously the author of a new eval philosophy and the owner of eval tooling that developers use to compare GPT against Claude, Gemini, and DeepSeek side by side.

I don't think there's a conspiracy here. Promptfoo staying open source and MIT-licensed is genuinely good, and Greg Brockman, OpenAI's President, has long argued in the openai/evals README that building high-quality evals is "one of the most impactful things" a developer can do. But incentives matter. The entity defining the preferred metric and owning a leading tool for measuring the alternatives is a structural conflict worth naming out loud. If you're standardizing on Promptfoo for vendor-neutral model selection, keep a non-OpenAI framework like DeepEval or lm-evaluation-harness in the mix as a hedge. Neutrality you can't verify isn't neutrality.

How to Choose an Eval Framework for Agentic LLMs

Strip away the philosophy and the choice is about which layer you're testing.

  • Comparing base models or tracking capability? Reach for lm-evaluation-harness or OpenAI Evals. These are the closest thing to the leaderboard-and-perplexity worldview, and they're fine for "is model B better than model A on my task set."
  • Selecting a model or iterating prompts, with security in scope? Promptfoo. Side-by-side diffing and built-in red-teaming are its strengths. Just hold the OpenAI-ownership caveat in mind.
  • Shipping an agent that uses tools, retrieval, or sub-agents? DeepEval. Trajectory-level metrics and task-completion scoring are what actually predict production behavior.

The meta-point: don't let a lab-internal metric creep into your release gate. Perplexity is a fine instrument for OpenAI to pace itself against Anthropic and Google DeepMind. It is the wrong gate for your app. Gate on task completion, faithfulness, and regression against a golden set, the way I argue in my piece on testing non-deterministic AI systems and the one on regression gates for prompts and RAG. Start small. Even a five-task scorecard beats vibes, as I lay out in starting an AI agent evaluation program.

Pachocki is right that perplexity is the honest measure of the alien mind inside the model. He's also, perhaps unintentionally, reminding every engineer that the mind isn't the product. The elicitation is. My prediction: within a year, the frameworks that win won't be the ones reporting the most metrics. They'll be the ones that make trajectory-level task completion as cheap to track as perplexity has always been. Whoever closes that gap owns the next era of evals, OpenAI or not.

Photo by Compagnons on Unsplash.

Continue reading

person using macbook pro on black table

OpenAI Models on Google Cloud: What Multi-Cloud Changes

OpenAI's GPT-6 models are landing on Google Cloud. Here's what multi-cloud model access actually changes for AI pricing, procurement, lock-in, and latency.

Screens display coding text, representing programming work

Superpowers Agentic Skills Framework: What v7.0 Changed

obra/superpowers went from a one-point Hacker News post to ~298,000 GitHub stars and an official Anthropic plugin. Here's how the agentic skills framework works, what v7.0.0 changed, and which productivity claims actually hold up.

Woman typing code on a laptop computer

How to Evaluate EmbeddingGemma 2 for Multilingual RAG

EmbeddingGemma 2 is shiny. Shipping it into a multilingual RAG stack without regressions is not. Here’s an embeddings-only eval + rollout playbook that works.

a cell phone sitting on top of a laptop computer

OpenAI Decisions API Tutorial: 3 Cost-Safe Patterns

A production-first OpenAI Decisions API tutorial: typed evals on POST /v1/decisions, predicate/choice/score, and three patterns to gate, batch, and escalate without cost blowups.

Cite this article
Kunal Ganglani (2026, November 23). LLM Eval Frameworks Compared: Perplexity vs Agentic [2026]. Kunal Ganglani. Retrieved November 23, 2026, from https://www.kunalganglani.com/blog/llm-eval-framework-comparison

Frequently Asked Questions

What is perplexity in LLM evaluation and how is it calculated?

Perplexity is the exponential of a model's average cross-entropy loss on a held-out dataset. Intuitively, it's roughly how many options the model is weighing for each next token, so lower is better. It measures next-token prediction quality, not task success, which is why it's a pretraining metric rather than an application-testing one.

Is Promptfoo owned by OpenAI, and does that affect its neutrality?

Yes. OpenAI acquired Promptfoo on March 9, 2026, though it remains open source under the MIT license. The acquisition means the company you use to compare GPT against Claude or Gemini is owned by one of those vendors. Keep a non-OpenAI framework in your toolkit as a neutrality hedge.

What is LLM-as-a-judge and how does it differ from perplexity scoring?

LLM-as-a-judge uses a strong model to grade another model's output against a rubric, scoring meaning and correctness. Perplexity only scores how probable the actual tokens were. A judge can tell you an answer is unfaithful to its source; perplexity cannot, because low loss doesn't guarantee a true or useful response.

Why can a model have low perplexity but still perform poorly on real tasks?

Perplexity captures the pretrained model's prediction quality, but real performance depends on elicitation: prompting, tool use, retrieval, and multi-step state handling. A model can predict tokens beautifully and still forget to call a tool, hallucinate a field, or lose the thread across a long trajectory — failures that live above the layer perplexity measures.

What eval framework does OpenAI use internally, and where does Promptfoo fit?

OpenAI maintains openai/evals, an open-source framework and benchmark registry with over 19,000 GitHub stars, and tracks internal perplexity for pretraining progress. After the March 2026 acquisition, Promptfoo's red-teaming and comparison tech is being integrated into OpenAI's model and infrastructure layers while staying open source.