How to Run Thousands of LLM Evals Cheaply and Reproducibly

Put every test case on its own line of a JSONL file with a unique custom_id, pin the exact model and settings (temperature 0, a fixed seed, fixed prompts), and send the whole file as one batch job instead of thousands of live calls. Score the results with exact match or code checks first, and use an LLM judge only for open-ended answers. Batch APIs cost less than live calls: OpenAI and Anthropic both document a 50% batch discount, checked November 29, 2026, and on DeProcess a 5,000-case eval on Llama 3.1 8B is estimated at about $0.24, assuming 600 tokens per case.
Key takeaways
- An eval set is a fixed list of inputs with expected answers or checks; change it only on purpose and give each version a name.
- Temperature 0 and a seed reduce run-to-run drift, but OpenAI calls seeded sampling best effort and vLLM only promises reproducibility on the same hardware and vLLM version.
- OpenAI's Batch API and Anthropic's Message Batches both charge 50% of standard prices, as of November 29, 2026.
- Batch results can come back in a different order, so always join them to your test cases by custom_id.
- Zheng et al. (2023) found GPT-4 as a judge agreed with human preferences over 80% of the time, and named position, verbosity and self-enhancement biases.
How do you run thousands of LLM evals cheaply and reproducibly?
Write every test case as one line of a JSONL file, pin the model and every setting, and send the file as one batch job. When the results come back, join them to your test cases by custom_id and score them with code wherever you can.
Batch jobs are the cheap part. OpenAI's Batch guide offers a "50% cost discount compared to synchronous APIs," and Anthropic's batch docs say "all usage is charged at 50 percent of the standard API prices," both checked November 29, 2026. Pinned settings are the reproducible part: if you can rerun last month's eval and get the same scores, a change in the score means something changed in the model or the prompt, not in the dice.
What is an eval set?
An eval set is a fixed list of test cases. Each case has an input (a prompt, a document, a conversation) and a way to tell a good answer from a bad one: an expected answer, a rule the answer must follow, or a rubric for a judge.
UK AISI's Inspect framework describes the same three parts most teams end up with: a dataset of labelled samples, a solver that produces an answer for each sample, and a scorer that evaluates the output. A few habits keep an eval set useful:
- Freeze it. Give each version a name or a date, and change it only on purpose. Scores from different versions of the set are not comparable.
- Cover what matters. Include the hard and rare cases your product meets, not only the easy ones.
- Keep the answers out of training data. If a case also appears in a fine-tuning file, the eval stops measuring anything.
- Give every case a stable id. That id becomes the
custom_idin the batch file and the key you join results on.
How do you make an LLM eval reproducible?
Pin everything that can change the output, and write it down next to the scores. This is the checklist we use:
- The exact model. Use a dated model version or a specific weights file, never an alias that can move. For open models, record the model name and the weights or tag.
- Sampling settings. Use temperature 0 for scoring runs. vLLM's sampling docs say lower temperatures make the model "more deterministic" and that zero means greedy sampling.
- A seed. Set one and reuse it. vLLM's sampling parameters include
seed, a "random seed to use for the generation." OpenAI's Advanced usage guide tells you to set theseedparameter to any integer and reuse it. - Fixed prompts. Store the system prompt, the template and any few-shot examples in version control, and log the final text sent for each case.
- max_tokens and stop rules. A different length limit changes answers that run long.
- The run config. Save the eval set version, model, settings, date and tool versions in one file with the results.
Even then, expect small drift. OpenAI's guide says Chat Completions are non-deterministic by default, and its system_fingerprint field tells you when the backend changed: "If this value is different, you may see different outputs due to changes we've made on our systems." vLLM's reproducibility page says it "does not guarantee the reproducibility of the results by default, for the sake of performance," and that it only provides reproducibility on the same hardware and the same vLLM version. So run important evals twice, and treat a score change of a fraction of a point as noise until it repeats.
Which scoring method should you use?
Use the cheapest method that measures what you care about. Code checks are free and repeatable; human review is accurate and slow; an LLM judge sits in between.
| Method | When to use it | Cost | Pitfalls |
|---|---|---|---|
| Exact match | Multiple choice, labels, short factual answers | Almost free | Fails on harmless differences in case, spacing or wording; normalize first |
| Programmatic checks | Valid JSON, a regex, a number in range, code that passes unit tests | Almost free | Only checks what you wrote a rule for; a valid format can still be wrong |
| Reference similarity | Answers that should match a known text closely | Low | High overlap does not mean correct; a short wrong answer can score well |
| LLM-as-a-judge | Open-ended answers: helpfulness, tone, following a rubric | A second model call per case, or two for pairwise | Position, verbosity and self-enhancement bias; judge drift if the judge model changes |
| Human review | Final checks, rubric design, auditing the judge | Highest | Slow, and reviewers disagree too; write clear guidelines |
How reliable is LLM-as-a-judge?
It is useful, with known flaws. In "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena" (Zheng et al., 2023, NeurIPS Datasets and Benchmarks), strong judges such as GPT-4 matched controlled and crowdsourced human preferences over 80% of the time, which the authors say is "the same level of agreement between humans."
The same paper names the weaknesses: position bias (favoring the answer shown first or second), verbosity bias (favoring longer answers), self-enhancement bias (favoring answers from the judge's own model family) and limited reasoning ability. In practice:
- Ask the judge for a verdict against a written rubric, not a vague "which is better."
- For pairwise comparisons, run each pair twice with the order swapped and count only consistent wins.
- Use a judge from a different model family than the models you are testing, when you can.
- Pin the judge model and its prompt like any other part of the eval, and hand-check a sample of its verdicts.
Judge calls fit in a batch too. Write one judge request per case into a second JSONL file and send it after the first batch finishes.
Which open-source eval harnesses can you use?
You do not have to build the runner yourself. Three well-known open projects:
- EleutherAI lm-evaluation-harness: "a unified framework to test generative language models" with "over 60 standard academic benchmarks for LLMs, with hundreds of subtasks and variants." It supports vLLM, and its
local-chat-completionsmodel type talks to servers that mirror OpenAI's Chat Completions API. - Inspect (UK AI Security Institute and Meridian Labs): an "open-source framework for large language model evaluations," built from datasets, solvers and scorers, with built-in support for over 20 model providers, local inference with vLLM, and a web log viewer.
- Stanford HELM: which Stanford CRFM calls "a living benchmark for transparency in language models," with multi-metric measurements and its data and analysis freely available.
Harnesses are best for standard benchmarks and for running your own tasks the same way every time. For a large custom eval set, a batch file gives you the lowest price per case; many teams use both.
How do you run an eval as a batch, step by step?
Here is the flow in OpenAI's batch format, which DeProcess also follows (see the Batches section of our API docs):
- Write the input file. One line per test case:
{"custom_id": "case-0001", "method": "POST", "url": "/v1/chat/completions", "body": {"model": "llama3.1-8b", "messages": [...], "temperature": 0, "max_tokens": 512}}. Use your case id as thecustom_id; it must be unique in the file. - Upload it with
purpose: "batch". On DeProcess, files are up to 4 MB and 50,000 lines for now, and every line is checked. OpenAI allows up to 50,000 requests and 200 MB per batch; Anthropic up to 100,000 requests or 256 MB, as of November 29, 2026. - Check the price. On DeProcess, create the batch with
dry_run: trueto get a price estimate without running anything. - Run it. Create the batch for real with
endpoint: "/v1/chat/completions"andcompletion_window: "24h". Follow progress withGET /v1/batches/{id}; you can cancel any time. - Join results by custom_id. Download the file in
output_file_id. OpenAI warns that "the output line order may not match the input line order," and Anthropic says results "can be returned in any order," so never join by line number. - Score and save. Run your exact-match and code checks, send open-ended cases to a judge batch, then store the scores with the run config from the checklist above.
What does a batch eval cost on DeProcess?
DeProcess runs Batch and Data work (synthetic data, evals and agent rollouts) on open models such as Llama and Qwen, in early access. Prices are per 1M tokens: $0.02 for Qwen2.5 0.5B, $0.06 for Llama 3.2 3B, and $0.08 for Llama 3.1 8B and Qwen3 8B; bigger models are priced on request. You pay only for tokens actually processed and only for finished requests. If you are also comparing providers, see alternatives to OpenAI's Batch API.
A worked example. Assume 5,000 test cases, about 600 tokens each (prompt plus answer), on Llama 3.1 8B. Our AI Training page states the batch price "per 1M tokens" and does not split input and output, so assume every token counts at the same rate:
- 5,000 cases x 600 tokens = 3,000,000 tokens
- 3,000,000 / 1,000,000 x $0.08 = about $0.24 per full run
That makes it practical to rerun the whole set after every prompt change or fine-tune of an open model. Your real price comes from the dry_run estimate, since answer lengths vary. For private test data, the verified_only option runs the batch only on verified partners.
To be fair: if you are evaluating GPT or Claude models, run those evals on OpenAI's or Anthropic's own batch APIs. DeProcess cannot run closed models. Their batch prices are competitive too: on Anthropic's pricing page, Claude Haiku 5.5 batch is $0.05 per million input tokens and $0.25 per million output tokens for prompts up to 100,000 tokens, and on OpenAI's pricing page gpt-6.2-sol batch is $1.00 input and $5.00 output per million tokens, both as of November 29, 2026. DeProcess fits when the models under test are open models you plan to run or fine-tune yourself.
Frequently asked questions
Does temperature 0 make LLM output fully deterministic?
Not always. OpenAI's docs say Chat Completions are non-deterministic by default and seeded sampling is best effort, and vLLM's docs say it does not guarantee reproducibility by default. Pin the model, settings, hardware and software version, and record them with every run.
How many test cases does an eval set need?
Enough to cover the cases you care about, including the hard and rare ones. A small, well-chosen set you trust is more useful than a large one full of near-duplicates. Keep it fixed between runs so scores stay comparable.
Is LLM-as-a-judge reliable?
It can be useful for open-ended answers. Zheng et al. (2023) report over 80% agreement between a GPT-4 judge and human preferences, but also position, verbosity and self-enhancement biases. Check a sample of the judge's verdicts by hand.
Can I evaluate GPT or Claude models on DeProcess?
No. DeProcess runs open models such as Llama and Qwen. Closed frontier models are evaluated on their own providers' APIs, which have their own batch options.
What does DeProcess charge for a batch eval?
Early access prices are per 1M tokens: $0.08 for Llama 3.1 8B and Qwen3 8B, $0.06 for Llama 3.2 3B and $0.02 for Qwen2.5 0.5B. A dry_run returns a price estimate before anything runs, and you are charged only for finished requests.
Sources
- OpenAI: Batch API guide
- OpenAI: Advanced usage (reproducible outputs)
- OpenAI: API pricing
- Anthropic: Batch processing
- Anthropic: Pricing
- vLLM docs (GitHub): Reproducibility
- vLLM (GitHub): SamplingParams source
- Zheng et al. (2023): Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena
- EleutherAI: lm-evaluation-harness
- UK AI Security Institute: Inspect
- Stanford CRFM: HELM
- DeProcess: API docs, AI Training
Have recordings to transcribe?
Test DeProcess on your own audio. Ask for a free 10-hour test, or start with the free credit every new account gets. Same API format as OpenAI.
Start a free testHave a computer that sits idle?
Install the DePro app and your computer works on AI jobs while you’re away. Free to join, about five minutes to set up.
Join with your computerRelated guides
- AI trainingHow to Fine-Tune an Open Model Without Owning a GPUFine-tune Llama, Qwen or Mistral with LoRA on rented GPUs, a notebook or a managed API. What it needs, what a training file looks like and what it costs.
- PricingOpenAI Batch API Alternatives for Large Offline Jobs (2026)Anthropic, Google, AWS, Azure, Mistral, Groq, Together and DeProcess all run batch jobs. Their discounts, time windows and file formats, side by side.
- EmbeddingsWhat It Costs to Embed a Document Library for RAG, in BatchesEmbedding 50,000 pages for RAG is about 40 million tokens, which costs $0.80 at $0.02 per million tokens. Here is how to estimate it and run the batches.
About this guide
Last reviewed . Written by Sydney Kibuuka, Founder, researched and drafted with AI and checked by automated quality checks before it was published. Facts about other companies come from their own published pages, with dates. Read our editorial standards; spotted a mistake? Tell us and we’ll fix it (see corrections).