StepFun-Prover Preview

StepFun-Prover-Preview-7B

by StepFun · Current open-weight preview model; publicly available under the Apache License 2.0

StepFun-Prover-Preview-7B is an approximately 8B-parameter Apache 2.0 model specialized in Lean 4 theorem proving. It generates proof sketches, uses Lean 4 verifier feedback to refine them, and is intended for open-weight research rather than hosted general-purpose API use. StepFun reports 66.0% Pass@1 on MiniF2F-test, while a technical report gives a separate 64.2% result under another evaluation setup.

Text Reasoning Coding
StepFun-Prover-Preview-7B is a specialized model for formal theorem proving. It generates Lean 4 code intended to prove mathematical statements, then uses feedback from the Lean 4 read-eval-print loop to improve unsuccessful proof attempts. That makes it substantially different from a general language model that merely explains mathematics or writes informal solution steps. The model is distributed as an open-weight BF16 checkpoint under the Apache License 2.0, with no official hosted pricing or first-party API endpoint identified in the supplied research.
Outputs

What StepFun-Prover-Preview-7B can produce

Text
Inputs

What it can understand

Text
Capabilities

Support features

Tool use Streaming
Model profile

Performance characteristics

9/10 Reasoning
8/10 Coding
5/10 Speed
9/10 Cost efficiency
Specifications

Technical details

Family StepFun-Prover Preview
Type Reasoning
Context window 20K tokens
Max output tokens 16K tokens
Release date 2025-07-27
Status Current open-weight preview model; publicly available under the Apache License 2.0
Knowledge cutoff notes

No authoritative knowledge-cutoff date was specified in the reviewed StepFun repository, Hugging Face model card, or technical report.

Model notes

StepFun-Prover-Preview-7B is an approximately 8B-parameter BF16 text-generation model distributed through the stepfun-ai/StepFun-Prover-Preview-7B Hugging Face repository. It is based on DeepSeek-R1-Distill-Qwen-7B and is fine-tuned for formal theorem proving. The model is designed to generate Lean 4 proof sketches and iteratively refine them using Lean 4 REPL feedback. StepFun reports 66.0% Pass@1 on the MiniF2F-test benchmark in its repository evaluation, while the associated technical report reports 64.2% for the 7B model under a different evaluation presentation. The 20,480-token context figure comes from the StepFun evaluation setup, and the 16,384-token generation value comes from the published vLLM example; these should not be interpreted as a separately documented hosted API limit. No official token pricing or first-party hosted API endpoint was identified. Tool use refers to the model's Lean 4 interaction protocol rather than verified native OpenAI-compatible function calling.

Model guide

StepFun-Prover-Preview-7B: An Open-Weight Lean 4 Theorem-Proving Model

StepFun-Prover-Preview-7B is an approximately 8-billion-parameter open-weight reasoning model from StepFun, specialized in generating and refining formal mathematical proofs written in Lean 4. Rather than serving as a general-purpose chatbot or hosted API model, it is designed to work with the Lean 4 environment: it proposes proof sketches, receives verifier feedback, and revises its output. StepFun reports a 66.0% Pass@1 result on the MiniF2F-test benchmark, while the associated technical report presents a different 64.2% result for the 7B model under another evaluation setup.

What is StepFun-Prover-Preview-7B?

StepFun-Prover-Preview-7B is an open-weight language model developed by StepFun for formal mathematical theorem proving. Its output is text, but the important kind of text is Lean 4 proof code: a machine-checkable description of how a theorem follows from its assumptions and available definitions.

The model is based on DeepSeek-R1-Distill-Qwen-7B and is fine-tuned for proof-generation tasks. The published model repository describes it as an approximately 8-billion-parameter BF16 model. BF16 is a reduced-precision numerical format commonly used to reduce memory requirements during inference, although the supplied research does not specify the exact hardware needed to run this checkpoint.

The “Preview” designation is significant. This is a research-oriented release intended for experimentation with formal reasoning and verifier-guided generation, rather than a broadly supported commercial assistant. It is publicly available through StepFun’s model repositories and is released under the Apache License 2.0.

How the Lean 4 proof workflow works

StepFun-Prover-Preview-7B is designed around an interaction between the model and Lean 4. Lean 4 is a programming language and proof assistant that can check whether a proposed formal proof is valid. Instead of treating the model’s first response as final, the workflow can submit a generated proof sketch to Lean 4 and use the resulting errors or verification feedback to guide another attempt.

  1. Proof generation: the model receives a formal theorem or a related proof task and proposes Lean 4 code.
  2. Verification: the proposed code is evaluated in a Lean 4 environment.
  3. Revision: the model uses the environment’s feedback to correct or extend the proof.
  4. Completion: the process continues until Lean 4 accepts the proof or the available generation budget is exhausted.

This workflow is the model’s defining capability. It is not the same as verified native function calling in a general API. The research identifies tool use as support for the Lean 4 interaction protocol, not as evidence that the model offers standard OpenAI-compatible function calling or a general-purpose agent interface.

Main strengths

Formal, machine-checkable output

The model targets proofs that can be checked by Lean 4 rather than relying only on plausible natural-language explanations. This is valuable when correctness must be established by a formal system. A generated proof that Lean 4 accepts has passed the verifier’s checks for the relevant theorem, imports, definitions, and proof steps.

Verifier-guided reasoning

Many language models can produce a promising proof idea but fail on syntax, missing lemmas, type mismatches, or invalid intermediate steps. StepFun-Prover-Preview-7B is designed to address those issues through repeated interaction with Lean 4. The feedback loop gives the model concrete information about why a candidate proof failed, making the system more suitable for iterative proof search than a one-shot text-generation approach.

Open-weight research access

The checkpoint is publicly distributed rather than available only through a paid hosted endpoint. Researchers and developers can inspect the published model materials and build their own local or experimental inference workflow. The Apache 2.0 license also makes the release more permissive for many forms of use than a closed, provider-controlled API, subject to the license and the user’s own deployment obligations.

Reported theorem-proving results

StepFun reports 66.0% Pass@1 on the MiniF2F-test benchmark in its repository evaluation. Pass@1 measures whether the first sampled attempt succeeds under the stated evaluation procedure. The associated technical report gives a different 64.2% result for the 7B model under another evaluation presentation. These numbers should not be treated as directly interchangeable: the evaluation setup, sampling conditions, or reporting methodology may differ. They are provider or research-report results, not an independent editorial rating.

Technical specifications and limits

SpecificationDocumented information
ProviderStepFun
Model familyStepFun-Prover Preview
Approximate sizeApproximately 8 billion parameters
Model formatBF16
Base modelDeepSeek-R1-Distill-Qwen-7B
Primary outputText, especially Lean 4 proof code
Formal reasoning environmentLean 4
Published context figure20,480 tokens in the StepFun evaluation setup
Published generation example16,384 maximum output tokens in the vLLM example
LicenseApache License 2.0

The 20,480-token context figure should be interpreted carefully. The supplied research identifies it with StepFun’s evaluation setup, not with a separately documented hosted API limit. Likewise, the 16,384-token value comes from the published vLLM example and should not automatically be treated as a universal maximum for every inference engine or deployment configuration. Available memory, inference software, prompt length, and generation settings can affect practical limits.

Modalities and supported capabilities

StepFun-Prover-Preview-7B is a text-only model. It accepts text input and produces text output; there is no supplied evidence of image, audio, video, speech, music, or other direct non-text input or output. It is therefore not intended for multimodal applications.

Its reasoning capability is specialized rather than broad. The model’s central task is formal proof generation and refinement, particularly in Lean 4. It can be useful for mathematical reasoning when the problem can be represented in the supported formal environment, but the research does not establish that it is a top choice for general conversation, unrestricted mathematics, factual question answering, or long-form writing.

The model can generate code in the specific sense that Lean 4 proofs are programs or formal code. The supplied information does not support describing it as a general software-engineering model or as a model with broad programming-language coverage. Similarly, its documented tool interaction is Lean 4 verification, not a general tool registry or standard function-calling API.

Speed, cost, and deployment trade-offs

The model’s open-weight format can avoid per-token hosted API charges, but it does not make inference free. Users must provide compatible compute, storage, an inference stack, and a Lean 4 environment. The research identifies no official token pricing and no first-party hosted commercial API endpoint for this model.

Its iterative proof workflow can also be slower than one-shot text generation. A single theorem may require multiple model generations and Lean 4 verification passes. This extra work is the source of an important benefit—machine-checkable feedback—but it increases latency and operational complexity compared with asking a general language model for an informal proof explanation.

For cost-sensitive experimentation, a local open-weight checkpoint may be attractive when the user already has suitable infrastructure. For users who need predictable latency, managed scaling, service-level support, or a conventional API, this model is a weaker fit because those offerings were not identified in the supplied research.

Best use cases

  • Generating Lean 4 proof sketches for formal mathematics.
  • Iteratively repairing proof attempts using compiler or verifier feedback.
  • Research on language models that interact with external verifiers.
  • Experiments with theorem-proving search, proof refinement, and tool-integrated reasoning.
  • Benchmarking open-weight models on formal mathematics tasks such as MiniF2F-style evaluation.

A practical user should expect to work with theorem statements, Lean 4 syntax, the relevant environment, and the model’s inference code. The model is most useful when success is defined by whether Lean 4 accepts the resulting proof, rather than by whether the explanation sounds mathematically convincing to a human reader.

When to choose this model

Choose StepFun-Prover-Preview-7B when you specifically need an open-weight model for Lean 4 theorem proving and are prepared to run or integrate the verifier loop yourself. It is particularly appropriate for research and prototyping where access to model weights, reproducibility, and experimentation matter more than hosted convenience.

Choose another type of model when you need a general-purpose assistant, multimodal input or output, image or audio generation, a managed commercial endpoint, or standard function-calling support. A general coding model may be more suitable for ordinary application development, while a hosted reasoning service may be preferable when infrastructure and latency are more important than local control. The supplied research does not identify a specific sibling model that can be compared directly on the same terms, so those alternatives should be evaluated by their actual Lean 4 support rather than by general model branding.

Limitations to keep in mind

The model is specialized and should not be assumed to provide broad production support. The “Preview” status, lack of identified official API pricing, and reliance on a local Lean 4 workflow make deployment less turnkey than using a conventional hosted language model. The benchmark results are also tied to their respective evaluation settings and should not be interpreted as a guarantee that every theorem will be solved on the first attempt.

Finally, the supplied sources do not specify a knowledge-cutoff date, fine-tuning service, caching service, batch API, or separate structured-output mode. Those features should therefore be treated as undocumented rather than available. Its documented value lies in open-weight, verifier-guided Lean 4 proof generation—not in a broad catalog of general API features.


Answers to Frequently Asked Questions

Who should use StepFun-Prover-Preview-7B?
It is best suited to researchers and developers experimenting with open-weight theorem proving, Lean 4 proof generation, verifier-guided reasoning, and MiniF2F-style benchmarks. Users should be prepared to provide compatible compute, an inference stack, and a Lean 4 environment. It is less suitable for users who need a managed commercial API, predictable hosted latency, standard function calling, or a general-purpose assistant.
Is StepFun-Prover-Preview-7B a general-purpose or multimodal model?
No. StepFun-Prover-Preview-7B is a text-only model specialized in formal proof generation and refinement, particularly for Lean 4. There is no supplied evidence that it supports image, audio, video, speech, broad software engineering, general function calling, or other multimodal capabilities.
What are the reported benchmark results for StepFun-Prover-Preview-7B?
StepFun reports a 66.0% Pass@1 result on the MiniF2F-test benchmark. A technical report gives a separate 64.2% result for the 7B model under another evaluation presentation. These figures may use different evaluation conditions and should not be treated as directly interchangeable or as guarantees for individual theorem-solving performance.
What is StepFun-Prover-Preview-7B?
StepFun-Prover-Preview-7B is an open-weight language model developed by StepFun for formal mathematical theorem proving. It generates Lean 4 proof code that can be checked by the Lean 4 proof assistant. The model is based on DeepSeek-R1-Distill-Qwen-7B, has approximately 8 billion parameters, uses BF16 format, and is released under the Apache License 2.0.
How does StepFun-Prover-Preview-7B use Lean 4 to prove theorems?
The model generates a Lean 4 proof attempt, submits it to a Lean 4 environment for verification, and uses any errors or feedback to revise the proof. This generation, verification, and revision loop continues until Lean 4 accepts the proof or the available generation budget is exhausted.


Sources 3
AI Provider

About StepFun