Skip to navigation

Step 5 science results: Lean proofs and photonic modeling

In short: Step 5 scores 22.9% on Terminal-Bench-Science 0.1 vs 2.4% for Preview, StepFun reports, plus a 31,000-line Lean case. What it proves, and what it does not.

Published 19 min read
On this page

StepFun reports that Step 5 passes 22.9% of tasks on Terminal-Bench-Science 0.1, up from 2.4% for Step 5 Preview, while using 59% fewer output tokens per task. The 30 November launch post backs that with two case studies, a roughly 31,000-line Lean formalization of seven number theory results and a photonic modeling workflow, and with comments from two university researchers. This guide separates the one benchmark figure from the case studies and the testimonials, shows what each kind of evidence can carry, and ends with a checklist a lab can use to test the model on its own work. For the full launch, see the complete Step 5 guide.

What did StepFun report on science?

StepFun reports one benchmark number and four pieces of supporting material. The benchmark is Terminal-Bench-Science 0.1, where Step 5 reaches a pass@1 of 22.9% and Preview 2.4%, with 59% fewer output tokens per task. The supporting material is the Lean case study, the photonic modeling case study, a quote from an associate professor at Anhui University of Science and Technology, and a quote from a researcher at the Tsinghua Shenzhen International Graduate School. The launch post frames the case studies as exploration: it says the Lean work is an exploration of how models may assist mathematicians in formalizing and checking their research, and it says StepFun plans to expand collaboration with scientific experts.

These are different grades of evidence, and mixing them leads to bad conclusions. The table sorts them.

Item Kind of evidence Numbers reported What it supports What is missing
Terminal-Bench-Science 0.1 Public benchmark, vendor run 22.9% vs 2.4%, 59% fewer tokens A large gain over Preview on a hard, verified task set Trial count, harness, effort level; independent rerun
Lean autoformalization Case study 7 results, about 31,000 lines The model can sustain a very long formal development Review of statements, code release, effort and cost
Photonic modeling Case study None The model can drive simulation and optimisation workflows Baselines, figures of merit, error bars
Anhui University comment User testimonial About 60% of workflow steps, 200 epochs A usable pattern for experiment assistance Sample size, task list, how steps were counted
Tsinghua Shenzhen comment User testimonial None Fit for derivations, code and data work in one area Any measurement

What does Terminal-Bench-Science 0.1 measure?

Terminal-Bench-Science 0.1 measures whether an agent can carry out a real research workflow in a terminal and produce artifacts that pass task-specific tests. The benchmark announcement of 27 August 2026 describes a Stanford-led effort built with the Terminal-Bench team and domain experts. The first release has 70 tasks in the life, physical, earth, mathematical and engineering sciences, and the tasks cover data analysis, statistical inference, simulation, optimisation, theorem proving, image reconstruction, signal processing, inverse problems and model fitting. Concrete artifacts such as analyses, simulations, proofs, code and data products are graded with reproducible tests.

The selection process explains why scores are low. Of 920 task proposals, 464 were approved for implementation, 386 pull requests were opened and only 70 tasks made it into the release, with 376 contributors from 22 countries involved in proposals, reviews or pull requests. Reviewers confirmed that each task was objectively verifiable, genuinely hard for agents and not something frontier systems already solve easily. The announcement says tasks were calibrated against the newest models at the time, and that rates fall by more than 10 points for every model evaluated on both this benchmark and Terminal-Bench 3.0. At launch the best system, Claude Opus 5 with Claude Code, resolved 30.0%.

Artificial Analysis describes the same benchmark with the split of 19 life science, 17 physical science, 17 mathematical science, 9 engineering and 8 earth science tasks. It runs every task with its mini-swe-agent harness and reports pass@1 averaged over three repeats. The task list in the GitHub v0.1.0 release includes names such as inverse-waveguide-shape, leaky-bloch-meep and onsager-ising-lean. By name, then, photonics-style and Lean-style problems are among the 70, which is the link between the benchmark and the two case studies in StepFun’s post.

At the time we read the Artificial Analysis page, its headline named GPT-6.2 Astra (Xhigh) first at 78.6%. A 22.9% sits far below that number, and it would be a mistake to rank the two directly: StepFun does not state the harness or effort setting behind its figure, while Artificial Analysis fixes its own. The comparison that StepFun makes, Step 5 against Preview, is the only one its post supports.

How big is a jump from 2.4% to 22.9%?

It is a ninefold increase in pass rate (22.9 divided by 2.4, about 9.5), and large enough that sampling noise does not explain it. The arithmetic below uses Artificial Analysis’s setup of 70 tasks and three repeats, which is 210 trials. StepFun does not state its own trial count, so this is an inference that happens to fit: 22.9% of 210 is 48.1 trials and 2.4% is 5.0.

One trial is worth 0.48 percentage points, and one task, with three trials, is worth 1.43 points. With 48 passed trials, the binomial standard error is about 2.9 points, so a rough 95% interval is 22.9% plus or minus 5.7 points. For 5 of 210, the Wilson interval runs from about 1.0% to 5.5%. The intervals do not overlap. Trials within a task are not independent, since an easy task passes in all three repeats, so the true uncertainty is wider than these figures, but the gap is large enough that the direction is safe. The size of the gain is what a reader should hold loosely.

The table turns the two reported percentages into trials, using Artificial Analysis’s setup of 70 tasks and three repeats, so you can see how much one task moves a score.

Item Pass@1 or weight Trials of 210 Rough 95% interval
Step 5 22.9% About 48 17.2% to 28.6% (plus or minus 5.7 points)
Step 5 Preview 2.4% About 5 1.0% to 5.5% (Wilson)
One trial 0.48 points 1 Not applicable
One task, three repeats 1.43 points 3 Not applicable

Because one task is worth 1.43 points, a swing of three tasks moves a score by about 4.3 points, so treat gaps of under 5 points between two models on this benchmark as noise. The 2.4% to 22.9% jump is far outside that band, which is why the direction is safe even though StepFun does not state its own trial count.

Horizontal bars: Step 5 22.9 percent and Step 5 Preview 2.4 percent pass@1 on Terminal-Bench-Science 0.1.
Pass@1. Step 5 against Step 5 Preview on Terminal-Bench-Science 0.1, as reported by StepFun.
Horizontal bars: Step 5 about 48 passed trials of 210, Step 5 Preview about 5 of 210.
What the percentages mean in trials. An inference from the benchmark’s setup, not a figure StepFun states.

There is also a floor effect worth naming. A model at 2.4% is passing almost nothing, so any improvement looks large in ratio terms. Preview’s low score does not mean it was weak at science in general; on the Artificial Analysis Step 5 page, Preview scored 29 on the whole index, and the 40 for Step 5 sits only mid-table. The right way to read 2.4% to 22.9% is that a specific set of agentic science workflows moved from almost never completed to sometimes completed.

How much does science weigh in the Artificial Analysis index?

Science carries 25% of the Artificial Analysis Intelligence Index v5.0.2, split between two evaluations. The methodology page gives Terminal-Bench-Science 0.1 a 15% weight and CritPt v2 on its hard subset 10%. Together they equal Knowledge Work, Coding or General. That is a large slice for a young benchmark, and it is one reason a 22.9% result matters for the index of 40.

Horizontal bars of index weights: Terminal-Bench-Science 15, AA-Briefcase 15, FrontierCode-AA 15, AA-Omniscience 15, CritPt 10, Terminal-Bench 4.1 10, HLE-Diamond 10, AutomationBench-AA 5, GDP.pdf 5.
Index weights. The two science evaluations are highlighted: together they carry 25% of the index.

Both science evaluations are agentic or tool-assisted: the methodology lists Terminal-Bench-Science as terminal-based task execution with test-suite pass or fail, and CritPt as Python functions, symbolic expressions and numerical answers graded by an official server. Our post on Step 5 on CritPt v2 covers the physics side, including the third-party observation that Step 5 spent about a third of the tokens of two rivals. The nine-evaluation index is unpacked in what is in Intelligence Index v5. Terminal-Bench 4.1, a coding evaluation that includes a photonic waveguide routing task, is the subject of the Terminal-Bench 4.1 guide.

What does the Lean result say in plain terms?

StepFun says Step 5 formalized seven main results and their proofs from an upcoming number theory paper in Lean, about 31,000 lines of code in total. The paper establishes Möbius disjointness for every real-analytic Heisenberg skew product over a circle rotation, which is a special case of Sarnak’s Möbius Disjointness Conjecture.

Some background helps. The Möbius function sends an integer to plus or minus one if it is a product of distinct primes, an even or odd count, and to zero otherwise. Sarnak’s conjecture, as stated in the arXiv paper on skew products on the Heisenberg nilmanifold, says this sequence is highly random in the sense that it is orthogonal to every continuous observable of a zero-entropy dynamical system. That paper proves a related statement for Lipschitz skew products over a rotation of the two-dimensional torus, which is a different setting from the one in StepFun’s post. We cite it for the definitions and the conjecture, not as the source of the result being formalized, and we did not find the upcoming paper itself.

Lean is a proof assistant, and its mathematics library is Mathlib. In Lean, a theorem is stated precisely and a proof is a program that the system checks mechanically. A formalization of 31,000 lines is a large engineering effort by human standards. What the post says the model did is formalize results and proofs from a paper: translating existing human mathematics into checkable form. It does not say the model discovered the theorems.

What autoformalization does and does not do

Human paper states the resultsUpcoming number theory paperModel writes Lean codeStatements and proofs, about 31,000 linesLean checks proofs mechanicallyStatements still need human review
The checker certifies the derivation; people still certify that the formal statement means what the paper means.

What does a Lean proof prove, and what does it leave open?

A Lean proof proves that a formal statement follows from the definitions and axioms in the file. It does not prove that the formal statement matches the mathematics the paper intends. If a definition is slightly wrong, the checker can accept a faithful-looking proof of the wrong theorem. This is why autoformalization reviewers read the definitions and the final statements closely, a small fraction of the total code, and why correctness evaluation of autoformalization is still described as a main challenge in the field, for example in this AITP 2025 abstract, which uses several checking methods because no single one is complete.

Line count is also a poor quality measure. 31,000 lines can reflect a clean development or a verbose one, and the launch post gives no information about how the code was produced: how many model sessions, how much human guidance, how many failed attempts and what it cost. The number tells you the model sustained a long formal development without the checker rejecting it at the end, which is real, and not much more.

What a mathematician would want to see is the Lean source, the upcoming paper and a list of the definitions that were written for the project, so the statements can be compared with the paper. As of 1 December 2026 we did not find the code or the paper, which is normal for an upcoming result, but it means nobody outside StepFun and its collaborators can yet verify the claim in detail. The safest summary is that StepFun reports a large, machine-checked formalization, and that fidelity to the paper’s statements is a separate question for the authors and independent readers.

What did the photonic modeling case show?

The photonic case study describes a workflow, not a result. Integrated photonics steers light with on-chip microstructures, and the launch post says Step 5 combines physical reasoning, mathematical computation and electromagnetic simulation to analyse waveguide dispersion and Bloch modes, to optimise passive components and to synthesise high-efficiency optical antennas for directional beam control. The post reports no figure of merit, no comparison against a human design or another model, and no error bars.

That limits what can be concluded. The case shows that the model can run a loop of derive, simulate, inspect and revise across several kinds of structure. It does not show that the designs are better than a graduate student’s, that they survive fabrication tolerances, or that they match measurements. A photonics group should treat it as a prompt to try the workflow on a problem it has already solved, where the right answer is known.

There is a benchmark echo worth noting. Terminal-Bench 4.1 includes a photonic waveguide routing task, where the Artificial Analysis task description asks for waypoint paths that satisfy bend radii, s-bend geometry and cost weights, and the science benchmark’s task list includes waveguide and Bloch-mode style names. A model that does well on those tasks is doing something in the same family as the case study. Even so, a routing task with a verifier and a design study with open-ended judgment are different.

What did the two researchers say?

Both comments are in the launch post, and both are from users of the model, not from an independent evaluation. We paraphrase them and attribute them.

Yu Yang, an associate professor at the School of Computer Science and Engineering, Anhui University of Science and Technology, said that in the group’s latest evaluation of scientific research workflows, Step 5 could independently handle around 60% of the workflow steps. In one medical imaging study it ran comparative experiments on four normalization methods and completed 200 training epochs, and it identified mismatched model weights and data leakage between dataset splits. Yu Yang added that the costly failure in research is realising only at the interpretation stage that a whole set of experiments must be rerun even though the code ran without errors, and that the supervision of each step has given way to more time for interpreting results and deciding what to investigate next.

Yang Jieni, of the Tsinghua Shenzhen International Graduate School, works on electricity price uncertainty modelling and risk optimisation in spot markets. Yang Jieni said Step 5 was capable at code generation, data processing and mathematical derivation, explained concepts in stochastic programming clearly and saved literature review time, and that the most impressive trait was persistence: once given a full set of modelling and computational instructions, it kept working until the task was done.

Two points make these comments useful and bounded. The first is that the Anhui observation, a model that spots data leakage between splits, is the kind of error check that is cheap to verify: you can look at the splits yourself. That makes it a good test case for your own lab. The second is that a share like 60% of workflow steps depends on how a lab defines a step, so it cannot be compared across groups. Neither comment gives a task list, a sample size or a comparison with another model.

How does this connect to CritPt and the rest of the launch?

The science material in the launch has two roots, the benchmark and the case studies, and one external check, CritPt. CritPt v2 is a physics benchmark inside the Artificial Analysis index, and our post on the CritPt v2 signal records what third parties observed about Step 5 there. The three together give a more reliable picture than any alone: a benchmark of verified workflows, an index component of research-level physics, and a couple of case studies chosen by the vendor.

The science results also share a theme with the rest of the launch: efficiency. The 59% token cut on Terminal-Bench-Science sits alongside 63% on Terminal-Bench 4.1, 72% on StepFun’s internal AI R&D benchmark and 47% on AA-Briefcase. Read them together in Step 5 output token efficiency and the Step 5 AI R&D benchmark guide. The Plotly evaluation, covered in Step 5 on the Plotly data analytics exam, is a separate, independent signal about data work.

What does the evidence prove and what does it not?

It supports a bounded claim: on one hard, public, verified science benchmark, Step 5 completes far more workflows than Preview, with fewer tokens, and the vendor has shown two long-form examples where it sustained complex technical work.

It does not support a claim that Step 5 can do research unsupervised. The Anhui comment itself describes a model that handles about 60% of steps and a human who still interprets results and decides what to do next. It does not support a claim about new mathematics, because the Lean case is formalization of an existing paper. It does not support a claim that the photonic designs work in hardware, because no measurements are reported. And it does not establish a lead over rivals, because the only comparison is with Preview.

A final limit is cost and reproducibility. StepFun reports no token counts, runtimes or costs for the case studies. For a rough sense of price at list rates, take an example research session with 3 million input tokens, 90% of them cache hits, and 150,000 output tokens, which are our own example assumptions. At $1.00 per million for uncached input, $0.10 for cached input and $2.70 for output, as on the StepFun pricing page, that is 2.7 million cached tokens at $0.27, 0.3 million uncached at $0.30 and output of $0.405, about $0.98 in total. Real sessions vary by an order of magnitude either way, and caching the long stable prefix is what keeps the input side small: see prompt caching cost maths for Step 5 and the prompt caching reference.

Example research session at list prices, USD

  • Cached input, 2.7M tokens$0.27
  • Uncached input, 0.3M tokens$0.30
  • Output, 150K tokens$0.41Total about $0.98 on our example assumptions
Our own example assumptions at StepFun's list prices; replace them with measured token counts from a pilot.

How should a lab evaluate Step 5 on its own work?

Use problems you have already solved, so you know the answer, and use checks that do not depend on the model’s own judgement. The checklist below turns the case studies into a plan. It is a starting point for a lab or a research software team.

Lab evaluation checklist for a research assistant model

0 of 8 ticked

Plan it before you run it

Without known answers and independent checks you cannot tell a good result from a convincing one.

For long papers and large codebases the 1M token window matters, and Step 5’s 1M context window explains its practical limits, including the 64K maximum output. If you want machine-readable results from a model, the structured output guide shows how to ask for a fixed JSON shape. Reasoning effort also changes cost and quality; see the reasoning docs.

What should you do next?

Choose one problem, write the independent check first, and run Step 5 and your current model on it three times each. Keep notes on tokens, time and every place a human had to step in. The sibling guides cover the rest of the launch: Terminal-Bench 4.1, cybersecurity benchmarks and office work and DeskWork Arena. The Preview versus final comparison explains what changed between the two models, and the complete Step 5 guide links everything together.

Our gateway gives one key and both OpenAI-compatible and Anthropic-compatible endpoints, so a lab can compare several models with the same script, and the cost control guide shows how to cap a key. See pricing and the model list for what we serve today.

Run it on the free lane

Step 5 is on our free lane as step-5:free, at $0 per token inside the free daily allowance of 33 Step 5 requests a day. The $0.98 example above is StepFun’s list price on its own API, not what the free lane bills. A research-style pilot of three runs on one problem uses 9 of those requests, which leaves room for a second problem. The model has a 1M-token context window on our gateway, which helps when you paste a long derivation or a data file. Live stats are on the Step 5 model page.

A science check on step-5:free
from openai import OpenAI

client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.oneaiapikey.com/v1")

r = client.chat.completions.create(
  model="step-5:free",
  messages=[{"role": "user", "content": "Here is a lemma and its informal proof. Find any gap, then write a Lean 4 statement for it: ..."}],
)
print(r.choices[0].message.content)

Write the independent check first, as above: a Lean file the compiler accepts, a known numerical result or a hand-checked case. The model’s answer is only evidence once it passes that check.

Compare models on your own derivation or script

Create a key, write the independent check first, then run the same task on step-5:free and one other model and compare the tokens, time and result.

FAQ

What did Step 5 score on Terminal-Bench-Science 0.1?
StepFun reports a pass@1 of 22.9% for Step 5 against 2.4% for Step 5 Preview, with 59% fewer output tokens per task. It is a vendor-reported figure. Read the complete Step 5 guide for the other launch results.
Did Step 5 prove a new theorem in Lean?
No. StepFun says Step 5 formalized seven main results and their proofs from an upcoming number theory paper, about 31,000 lines of Lean. That is formalization of an existing human result, and the post calls it an exploration of how models may assist mathematicians.
Does a Lean proof guarantee the math is right?
It guarantees the proof derives the stated formal theorem from the definitions. It does not guarantee the definitions and statement match the paper. Humans still review those, and the code and paper were not public when we looked. See the index evaluations explained for the independent signals.
Is the photonic modeling result measured?
No figures are reported. The launch post lists tasks such as waveguide dispersion, Bloch modes, passive component optimisation and optical antennas, without baselines or error bars. Treat it as a demonstration of workflow and test it on a problem you already know.
What did the university researchers say?
An associate professor at Anhui University of Science and Technology said the model handled around 60% of workflow steps in a medical imaging study and found data leakage between splits. A researcher at Tsinghua Shenzhen said it was strong at derivations, code and data processing. Both are user comments.
How does this relate to CritPt?
CritPt v2 is a physics benchmark in the Artificial Analysis index at 10% weight, next to Terminal-Bench-Science at 15%. See Step 5 on CritPt v2 for what third parties observed.
How much does a research session cost?
It depends on tokens. Our example of 3 million input tokens with 90% cached and 150,000 output tokens comes to about $0.98 at $1.00, $0.10 and $2.70 per million. Real sessions vary widely, so measure a pilot. See cost control.
Can I use Step 5 through One AI API Key?
Yes. Use step-5:free on the free lane: $0 per token and no card, within a daily allowance where Step 5 counts as 3 of 100 requests, so 33 a day. Create a key and point an OpenAI-compatible client at https://api.oneaiapikey.com/v1.

Sources

More in Blog

Try it

One API key for GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2 and Roleplay.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.

New accounts$10 credit on sign-up
Claim $10 credit →