How an OpenAI Evals to promptfoo migration starts
The import brings OpenAI Evals results into promptfoo as historical records, and it does not bring back a runnable suite. The input is the eval_items_*.jsonl file from the dashboard export. Each source item is kept under vars.item, with grader values and pass or fail states where the export includes them. What the file does not contain is the eval definition or the testing criteria. The export holds output-item rows, so promptfoo cannot infer assertions from it or rebuild a config you can run again. The promptfoo command line documentation sets out what the import keeps and what it leaves out.
The main work starts after the import, and it consists of recovering the testing criteria and rewriting them as promptfoo assertions. Someone has to establish what each OpenAI eval checked: the grading instructions, the expected answers, the matching rules, the pass threshold and any model-graded criteria. Those details usually sit in the eval definition or in the team's own files, and the dashboard rows rarely include them. Each criterion then has to be written as a promptfoo assertion in a config the team can run, and the team should confirm that the new assertions fail the same answers the original grader failed. Ask the people who wrote each eval where its criteria were kept before you start.
The size of this work depends on the suite each eval came from, and the import step adds little to it. A small set of evals with simple string matching and a clear pass threshold is a light rewrite. A large set with custom grader code, model-graded rubrics or test data stored outside the export is a much heavier one. Before you agree a scope, inventory the evals, list each grader type, confirm where the source data and criteria live, and decide which historical results to keep as records next to the new suite. The written scope should name which evals are rebuilt and which are archived only.
What maps cleanly in an OpenAI Evals to promptfoo migration
This table compares each part of an OpenAI Evals run with its promptfoo counterpart, row by row. Read the third column to see whether an item stays as a historical record, needs a manual rewrite as promptfoo tests or assertions, or is not supported by the import. The main takeaway is that the import preserves what happened in the old run, but the checks that will guard future prompt changes have to be written again.
| Source item | What the import does | What you do next |
|---|---|---|
| Source item under vars.item | Each source item is imported under vars.item, so the original input stays visible in the results. | Keep as a historical record. Copy the input into a test vars block when you rebuild the suite. |
| Grader values | Kept where the dashboard export contains them, as recorded results that do not run again. | Keep as a record. Rewrite the rule each grader applied as a promptfoo assertion so you can rerun it. |
| Pass or fail states | Imported as the outcome of the original run, so they describe the old run only. | Keep as a record. Decide pass or fail again in promptfoo by running the new tests. |
| Eval definition and testing criteria | Not in the dashboard JSONL, so promptfoo does not infer assertions from it. | Manual rewrite. Restate the criteria as promptfoo assertions, then confirm each one against sample outputs. |
| Runnable promptfoo config | Not reconstructed. The import does not produce a config that runs the original eval again. | Manual rewrite. Write a promptfoo config with prompts, providers and tests that you can run in CI. |
| API output-items list response | Not supported by the import. The import reads the eval_items JSONL export from the dashboard. | Not supported. Export the dashboard JSONL first, then import that file. |
| Checks for future regressions | None carried over, so the imported results cannot catch new prompt or model regressions. | Manual rewrite. Build a promptfoo eval suite and run it on every change in your release process. |
How the exported records and the rebuilt suite fit together
The diagram starts at the OpenAI Evals dashboard and splits into two paths. The eval_items_*.jsonl export moves through the promptfoo import into historical records, which keep each source item under vars.item along with grader values and pass or fail states where present. The eval definition and testing criteria, gathered by hand from the dashboard, feed a new promptfoo config with assertions that runs against the current model. Both paths meet at the parallel comparison, where you check whether the rebuilt suite matches the historical results. Only after that agreed comparison should the cutover decision be made.
Two paths from the dashboard meet at a parallel comparison before cutover.
Documented paths for getting OpenAI Evals data into promptfoo
Each card covers one part of moving OpenAI Evals results into promptfoo. The export and import carry historical records, the CLI and its Node.js requirement set up the tooling, and the self-hosted server and manual capture cover sharing and the eval definition that the export leaves out.
Dashboard JSONL export
The OpenAI Evals dashboard export named eval_items_*.jsonl holds one row per output item, not the eval definition. promptfoo imports it as historical records, keeping each source item under vars.item with grader values and pass or fail states where the export provides them. Confirm that the file name matches that pattern and that the results you need, such as pass or fail states, are present in the rows. The export does not carry prompts, testing criteria or assertions, so it cannot produce runnable tests on its own.
Import command reference
The command line reference documents the import of these JSONL exports, and it is the page to check for the exact flags in your release. Confirm the syntax against the version you install, because flags can change between releases. The import does not accept the API output-items list response, so use the dashboard export file instead. Run the import into a scratch workspace first and compare the imported record count with the rows in the source file. Treat imported results as a record for reading and comparison, and do not expect them to re-run.
Command line docsPromptfoo CLI and Node.js
The promptfoo CLI performs the import, and npm release 0.124.1, published on 8 October 2026, requires Node.js 22.22.0 or newer. Check the runtime on every machine where the import runs, including developer laptops and CI runners, because an older Node.js version can stop the import before any records load. Confirm which promptfoo version your team pins so the import and later evals run on the same release. Ask who approves new Node.js versions on shared build machines, since that approval often gates the upgrade.
npm package pageSelf-hosted server for sharing
Imported records sit in the database of the instance that received the import, so a team that reads them together needs a shared instance. The self-hosted app is an Express server deployable with Docker, Docker Compose or Kubernetes with Helm, but it stores data in a local SQLite database that cannot be shared across replicas. It has no RBAC, built-in authentication or SSO, and the documentation does not recommend it for production use. Confirm your sharing and access requirements first, because team sharing with SSO sits in the Enterprise tier.
Self-hosting docsManual capture of the eval definition
The eval definition, meaning the prompts, model settings, test variables and testing criteria, is not in the dashboard export, so someone must rebuild it by hand. Capture it from the original OpenAI Evals setup while it is still available, and store it in version control next to the imported results. Each recreated check becomes a promptfoo assertion, and a check that passed on the dashboard may need a different assertion type to keep its meaning. Confirm with the original owner which criteria used a model grader and which used exact matching, because those need different setup.
Why the import does not rebuild runnable tests
The dashboard export holds output-item rows, typically in files named eval_items_*.jsonl. Each row records one source item under vars.item, the grader values for that item and its pass or fail state where one exists. The file does not hold the eval definition or the testing criteria that produced those results. Because the criteria are absent, promptfoo cannot infer assertions from the file or reconstruct a runnable config from it. The import keeps the outcomes and loses the checks that generated them. Treat the imported runs as a record of what happened. They are not a suite that can be run again.
For the reader, this means the old pass and fail results remain searchable history. Searches and reports over past items still work from the imported records. The checks that produced those results have to be recovered from somewhere else: the people who wrote the grading rules, old notebooks, or the original eval code. Before the migration is scheduled, ask each owner which of these sources still exists and who can explain the grading logic for each eval. If nobody can, the team keeps a history of outcomes but cannot tell whether a new prompt or model meets the same bar.
The import also does not accept the API output-items list response, so pulling the same items through the API will not work as an input. Use the dashboard JSONL export as the source file instead. Plan the rebuild as its own work item and assign an owner for it, since the person writing the assertions needs the grader rules that the file lacks. Check the new suite against items already marked pass and fail in the history before trusting it. The promptfoo command line docs describe how the import behaves.
Sequence for moving from OpenAI Evals to promptfoo
This sequence moves a team from OpenAI Evals dashboard exports to a promptfoo suite it can run itself. Historical results come across as records, while the testing criteria are recovered, written down and rebuilt as assertions that run in promptfoo. Each phase ends with a check, so the old dashboard is retired only after the new suite has proven it makes the same decisions.
Inventory evals and their exports
Compile a list of every OpenAI Evals definition the team relies on, the dashboard eval runs behind each one, and the eval_items_*.jsonl files exported from them. The owner of each eval records who reads its results, which decision it informs and where its testing criteria live, whether in the eval definition, a shared document or someone's head. Done when every eval has one inventory row and every export file is matched to its run, so nothing is imported or retired by accident.
Import exports as historical records
Run the JSONL import on each eval_items_*.jsonl export so the results appear in promptfoo as historical records. Each source item is kept under
vars.item, along with grader values and pass or fail states where the export contains them. Someone on the team opens a sample of imported records and compares item text, grader values and states with the dashboard row by row. Done when the sample matches and every export file has been imported without errors. The import does not rebuild a runnable config, so treat these records as reference only. Confirm the import command syntax in the command line docs before you start.Recover the testing criteria
Work out what each eval actually checked, because the export does not carry it. Start from the OpenAI eval definition, the grader configuration and the people who wrote the original criteria. Write each criterion in plain language with its pass condition, plus example items from the export that it should accept and reject. The owner of each eval signs off the written list. Done when every criterion has a plain-language statement, a pass condition and at least one illustrative item, and the owner has approved the list. Gaps are recorded as open questions and never filled with a guess.
Rewrite criteria as promptfoo assertions
Turn each written criterion into a promptfoo test case with vars and assertions, using the source items as inputs. Deterministic checks such as exact match, contains or regex go first wherever the criterion allows them. Model-graded assertions are used only where a rule cannot express the judgement, and their rubric sits in the same file as the test so a reviewer reads both together. Done when each criterion maps to at least one assertion, a reviewer has checked each assertion against the historical items it was written for, and any disagreement with the historical pass or fail state is logged for review.
Pilot the suite on a small set
Run the new promptfoo suite on a small, representative subset of the historical items plus a few new cases. Connect the model and prompt under test the same way the team will use them in normal work. Compare each result with the decision the old eval produced for that item. Review every disagreement with the criterion owner, then either fix the assertion or record why the old result was wrong. Done when the owner accepts the disagreement list, every assertion has been exercised at least once, and the team agrees the suite catches the failures it was built to catch.
Run the suite alongside the old process
Run the promptfoo suite on the same inputs as the existing OpenAI Evals process, for the same releases or prompt changes, and keep both sets of results visible to the team. Record which system's result drove each decision during this period, and log every difference with its cause. The old process remains the decision source of record. If results are shared on a self-hosted promptfoo server, confirm its storage and access model first, since its local SQLite store is not recommended for production. Done when parallel results exist for every eval in the inventory and each differences entry has an owner and a resolution.
Cut over the team's decision point
Move the team's go or no-go decisions to promptfoo results, recorded in a written cutover note that names the decision owner who approves the change. From this point the promptfoo suite is the source of record, and the OpenAI Evals results are kept as historical reference. The team confirms that the people who make release calls know where to look and what a failing result means. Done when the decision owner has signed the cutover note, the release checklist names promptfoo as the gate, and the first decision made from it has been reviewed.
Decommission old dashboard access
Remove the team's access to the OpenAI Evals dashboard for these evals once the historical exports are archived and the cutover is complete. Archive the eval_items_*.jsonl files, the inventory, the criteria document and the differences log together, and record where the archive is stored. Revoke dashboard seats and shared logins that no longer need them, then update the runbook so it points only to promptfoo. Done when an access review shows no active use of the old dashboard for these evals and someone other than the archive author has confirmed the files open and match the inventory.
Recreating each grader type as promptfoo assertions
The dashboard export records a grader value and a pass or fail state for each item under vars.item, as described in the promptfoo command line docs. For a deterministic grader, that stored value shows which items the old check scored as failures, but the JSONL does not show the comparison rule itself. Rebuild the rule from the original eval definition, then express it as an assertion.
- Read the stored values: List each distinct grader value and its pass or fail state, so you know exactly which outputs the old check accepted and rejected.
- Confirm the comparison rule: Open the original eval and check whether it compared exact strings, normalized text or a pattern. The export will not tell you this.
- Choose the assertion type: Map exact matches to an equality-style assertion and pattern matches to a regex-style assertion. Confirm the exact assertion names in the promptfoo assertion documentation before you write them.
- Handle case and whitespace: Decide whether the original ignored casing or trailing whitespace, then configure the new assertion to behave the same way.
- Test rejection: Run the new assertion against failed items from the export and against near misses, such as a changed number or extra punctuation. Every item the old grader failed should also fail the new assertion.
Before you trust the suite, confirm that the new assertions reproduce the historical pass and fail states for the deterministic items.
A model-graded grader value in the export records the verdict a judge model gave, and sometimes a reason, but it does not hold the rubric or the judge configuration that produced it. Your team must recover the criteria from the original eval and choose a judge model for the new assertion. The judge affects the scores, so the choice should go through your own approval and data handling review.
- Recover the criteria: Take the rubric wording from the original eval definition and write it into the new assertion, keeping the same pass conditions.
- Choose the judge deliberately: Select the judge model and provider through your own review of data handling and cost. Do not carry over the original judge by assumption.
- Calibrate on known items: Run the judge on items whose historical verdict is known, and review each disagreement to decide whether the rubric or the judge is at fault.
- Test rejection: Feed the judge answers the old grader failed, including plausible but wrong answers, and confirm it fails them across repeated runs.
- Record the judge settings: Keep the judge model, its version and its sampling settings in the config, so later results can be compared with the historical ones.
Before you accept the rubric, check that agreement with the historical verdicts is high enough for your team and document every disagreement that remains.
Some items were judged by people, or against criteria that no assertion can express, such as tone, clinical appropriateness or a legal judgment. The export keeps any pass or fail state that was recorded, but it cannot turn a human judgment into an automated check without losing the judgment itself. These items should stay in the suite as reviewed records, with the reviewer and criterion noted.
- Identify manual items: Flag every item whose verdict came from a person or from an undocumented criterion, and confirm this against the original eval or your team's review notes.
- Keep the historical verdict: Leave the imported pass or fail state in place and mark the item as reviewed, not automated.
- Write a review checklist: Define the questions a reviewer answers, so two reviewers reach comparable verdicts on the same output.
- Seed known bad answers: Include a few answers that should fail in each review batch, and confirm reviewers mark them as failures.
- Sample for consistency: Have a second reviewer check a subset of decisions and record where they disagree.
Before you rely on these records, confirm that each flagged item has a named owner, a recorded criterion and a plan to re-review it if the underlying system changes.
What drives the cost and duration of the migration
The table lists seven factors that change how much work an OpenAI Evals import and rebuild takes, with what raises effort, what lowers it and what to ask for in a quote. Read each row against your own export inventory, because how much of the testing criteria exists outside the dashboard is often the largest driver. Loading historical records is usually the smaller part; recreating the suite as runnable promptfoo assertions is where most of the effort sits.
| Driver | What raises effort | What lowers effort | What to ask for in a quote |
|---|---|---|---|
| Number of evals and exports | Many eval runs, multiple exports per eval, or several dashboard projects to reconcile. | A short list of exports tied to named suites, with one owner per export. | A mapping of each export to a target promptfoo suite and the import steps for each file. |
| Testing criteria surviving in documentation | Grading logic lives only in dashboard screenshots, personal notes or someone's memory. | Written criteria for each eval, with expected values and pass thresholds recorded before the import. | Whether reconstructing criteria from the export and from interviews with eval owners is included. |
| Grader complexity | Custom grader code, multi-step graders or checks that depend on external lookups. | Simple string or pattern checks that map directly to built-in promptfoo assertions. | An assertion-by-assertion plan showing which graders need custom code and who reviews it. |
| Model-graded or human-reviewed checks | Model-graded rubrics that need a judge model, prompt tuning and calibration, or manual labels from reviewers. | Deterministic checks where possible, with a small, documented rubric for the judged cases. | Who selects and calibrates the judge model, which provider it uses and who signs off the human review. |
| Data sensitivity and export storage | Exports that contain customer records, regulated data or model outputs that must stay in one region. | Synthetic or redacted inputs, and storage limited to approved systems you control. | Where exports are processed, who can access them, how they are deleted and whether redaction is included. |
| Teams and CI pipelines depending on results | Several teams or pipelines that read historical results, pass-rate gates or dashboards. | One owning team and a single pipeline consumer, with the import done once and then frozen. | A list of consumers, the pipeline checks to repoint and a test run in each pipeline. |
| Self-hosted server for shared history | Shared history across teams needs more than the self-hosted app's single SQLite database, which lacks built-in SSO and RBAC. | Single-user local history, or a shared export that teams read without writing to a server. | Whether the quote covers an authenticated server, backups, or an Enterprise On-Premise deployment, and who operates it. |
What goes wrong in an OpenAI Evals to promptfoo migration
Importing OpenAI Evals results gives you history, not a working suite, so most problems come from treating imported rows as a runnable test set. The six risks below share one root: the dashboard export keeps outcomes, while the criteria, models, graders and access controls that produced those outcomes stay behind. Each card names the prevention step and the check that confirms it.
History mistaken for a passing suite
An imported run records what happened in the past. It does not show that the suite passes today. Because the JSONL holds historical pass or fail states, a dashboard or CI gate that counts those rows can show green on work nobody re-ran. Keep imports in their own project, tagged as history, and point the release gate only at the promptfoo config you recreated. Check it by editing one new assertion and confirming the gate's result changes.
Criteria lost with the eval definition
The export holds output-item rows, so the rules that judged each answer are missing from the file. Before you retire the original eval, copy its testing criteria from the dashboard or your source repository into a written list. Write each criterion as a promptfoo assertion and map every original criterion to one assertion in a table the domain owner reviews. Check the mapping by running a known bad item from the import through the new assertions and confirming it fails.
promptfoo command line docsSensitive data in exported files
Each imported row keeps its source item under vars.item, so customer records, personal data or credentials that went into the original eval travel with the file. Classify the export on the machine that downloaded it, and remove fields your reviewers do not need before the file moves. Store the files on infrastructure you control, with access limited to the people who own the eval. Scan for identifiers before import, and record who approved the import. Check by confirming the scan finds no identifiers and the storage access list names only those owners.
Schema differences between exports
Dashboard files are named eval_items_*.jsonl, and that is the format the importer reads. The API output-items list response is not supported, so do not feed API pulls to the importer. Standardize on one export path and record the export date and eval ID in the import notes. Check it by comparing the imported row count with the dashboard count and confirming each row has vars.item and its grader fields. Reject any file that fails the count check.
Non-equivalent model and grader comparisons
Older runs may have used different models, graders or pass thresholds than the runs you compare them with. A pass rate from one grader and a pass rate from another answer different questions, even on the same items. Record the model and grader for every imported run, and compare only runs whose grading matches. Where you need a trend line, rerun a baseline in promptfoo using the current configuration. Check it by confirming each comparison shows matching grader settings beside the numbers.
Shared records on one server
The self-hosted server stores data in a local SQLite database that cannot be shared across replicas, and it has no built-in authentication, SSO or RBAC. The documentation says it is not recommended for production use, so imported history on one instance is only as protected as the controls around it. Place the server behind your own access layer, limit it to the team that owns the eval, and back up the database file on a schedule. Treat the instance as a single shared record store. Check it by restoring a backup to a test host and confirming the imported runs appear.
promptfoo self-hosting docsOpenAI Evals to promptfoo migration questions buyers ask
How much does it cost to move OpenAI Evals results into promptfoo?
Most of the cost is people's time, because promptfoo has no license fee under its MIT license. Two pieces of work drive the spend: importing the historical records, and rebuilding the suite as promptfoo assertions. Costs rise with the number of evals and graders, how many pass or fail criteria must be rewritten by hand, how much of the export you need to keep, and how much data review your security team requires. Ongoing work such as upgrades or continuous testing is usually a separate retainer. A DeployOpen quote follows from a written scope, so ask for the two pieces to be priced separately, with the eval inventory, assertion rebuild, data handling steps, handover and retest listed, and each marked as one-time or recurring.
How long does an OpenAI Evals import into promptfoo take?
Duration depends on the drivers, not on a fixed number. The main ones are how many evals and runs you are moving, how many graders and criteria each one uses, how complete the exported JSONL files are, and how quickly your eval owners can confirm what each criterion was meant to check. Approvals add time, since data handling sign-off and security review often run on their own calendar. A team with a clear eval inventory and documented criteria will move faster than one that must reconstruct intent from old dashboards. Ask any partner for a timeline tied to a written scope, with the eval inventory, approval points and handover dates named, and confirm which steps your own team controls before you commit to a launch date.
What does our team need to provide for the import?
The team needs three kinds of input. Eval owners must explain what each eval was meant to measure and which outputs counted as correct. Someone must review the criteria, since promptfoo assertions only check what they are written to check. Data handling approval is needed before exported records leave the source system or enter a new store, including any rules that apply to personal or customer data inside the outputs. Beyond those, plan for:
- A named technical contact who can run the CLI and has access to the export files
- Time from eval owners to review imported records and sign off on rebuilt assertions
- A decision on where the promptfoo instance will run, locally or self-hosted
Ask any partner to list these inputs in the written scope so each one has an owner and a date.
Can our own team move OpenAI Evals results into promptfoo alone?
Many teams can, provided they have someone comfortable with the command line and enough time from the eval owners. promptfoo is free to install and run, so nothing blocks a first pass. The harder work is judgment: deciding which OpenAI Evals graders map to which promptfoo assertions, and showing that the new checks reject bad answers. A team working alone can follow a short checklist: export the files, import them as historical records, confirm the record counts match the source, list each grader, then write and test the assertions against known good and known bad outputs. Consider outside help when eval owners are scarce, the criteria are numerous or poorly documented, or your security review expects an independent record of the work.
Does promptfoo rebuild runnable tests from an OpenAI Evals export?
No. promptfoo imports the OpenAI Evals dashboard export as historical records, not as a runnable test suite. The dashboard eval_items_*.jsonl file holds output-item rows, so it does not include the eval definition or the testing criteria. Each source item is kept under vars.item, with grader values and pass or fail states where they were present. promptfoo does not infer assertions from those rows and does not reconstruct a runnable config. The API output-items list response is not supported as an import source. To run the suite again, your team writes the test cases and promptfoo assertions, using the original criteria from the eval owners. Check the promptfoo command line docs for current import options before scripting the work.
Is promptfoo free to use under its MIT license?
Yes. promptfoo is licensed under the MIT license, which permits broad use of the software under its terms. The free Community edition includes all LLM evaluation features, all model providers and integrations, and red teaming with 10k probes per month, with community support. Your legal team should still read the license text and confirm it fits how you plan to use the tool. Paid options are separate. promptfoo Enterprise adds team sharing, SSO, custom roles, continuous monitoring and priority support with SLAs, at custom pricing, and promptfoo On-Premise runs that functionality on your own infrastructure. Importing OpenAI Evals records runs with the open-source tooling, so confirm current edition terms on the pricing page before you make a purchase decision.
Where does imported OpenAI Evals data live when we run promptfoo locally or self-hosted?
Imported records stay in the promptfoo instance you import into, so the location follows your deployment. When you run promptfoo locally, evals run on your machine and talk directly with the LLM, and the records stay on that machine. The self-hosted promptfoo app is an Express server, deployable with Docker, Docker Compose or Helm, and it stores data in a local SQLite database on the server. That database cannot be shared across replicas, has no RBAC, horizontal scaling, built-in authentication or SSO, and is not recommended for production use. Decide who can read the export files and the database, where backups go and how long records are kept. Confirm the exact storage path with the self-hosting docs before recording it in your data inventory.
How DeployOpen works on this
DeployOpen treats the OpenAI Evals import as a records migration first and a test rebuild second. We start by inventorying which dashboard exports you hold and which evals need a runnable suite in promptfoo, then agree the work in writing before any change is made to your environment.
How we scope
- Inventory the eval_items JSONL exports and locate the eval definitions stored outside them.
- Record which evals must become runnable promptfoo suites, and which only need to be kept as historical records.
- Engagements are fixed-scope, so the agreed written scope defines which evals and assertions are covered.
How we build
- Import the JSONL as historical records and check that each item keeps its grader values and pass or fail state.
- Rewrite each criterion as an explicit promptfoo assertion, since the import does not infer assertions from the export.
- Build the config from the original eval definitions, then run it and compare results against the historical records.
How we hand over
- Deliver the promptfoo config, assertion files and import commands in a repository you control, with a short README.
- Document which records are historical only, so reviewers do not mistake them for runnable test results.
- Walk your team through the mapping from source items to assertions, and retest after changes.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer for suites that need regular maintenance.
- Confirm your runner Node.js version meets the requirement of the promptfoo release you pin before upgrading.
- Retainer terms define what continuous testing covers, so agree them alongside the handover.

