CoolFace
Modelpublic

SHSLab/Step-5-Preview-BF16

sourceHugging Faceotherupdated 3d agoView on Hugging Face
7likes360downloads
Model Card

Step-5-Preview

<div align="center"> <img src="./Step-5/banner.png" alt="Step 5 Preview Banner" width="100%"> </div>

<div align="center">

![Hugging Face](https://huggingface.co/SHSLab) ![GitHub](https://github.com/stepfun-ai) ![Discord](https://discord.gg/stepfun) ![License](https://huggingface.co/SHSLab/Step-5-Preview-BF16/blob/main/LICENSE) ![Model Size]() ![Context]()

</div>

๐Ÿ”ฅ Step-5-Preview is now available! Step-5-Preview is our flagship foundation model for real-world agentic work โ€” a 600B-parameter sparse Mixture-of-Experts model with 27B active parameters, a 1M-token context window, and native support for text, image, and video inputs. Weights are available on Hugging Face (SHSLab/Step-5-Preview-BF16). Try it via our API, or deploy locally with vLLM / SGLang.

๐Ÿ“– Table of Contents


๐Ÿš€ Introduction

Step-5-Preview is StepFun's flagship foundation model, designed from the ground up for real-world agentic tasks. It targets professional domains such as AI coding, software engineering, professional knowledge work, and financial analysis.

StepFun's core philosophy for Step 5 is the "Pareto Frontier" โ€” achieving the optimal balance between intelligence and cost. While previous scaling efforts focused on trading more compute for stronger intelligence, the next phase requires improving the efficiency of converting compute into intelligence.

๐Ÿ’ก Why Step 5 Preview? โ€ข 600B total parameters, only 27B active โ€” near-frontier performance at a fraction of the compute. โ€ข 1M-token context window without proportional cost increases. โ€ข Competitive benchmark scores against models with 3โ€“5ร— more parameters. โ€ข Built for agents โ€” long-horizon reasoning, tool use, and autonomous execution.

Step-5-Preview represents a generational leap, with StepFun skipping the entire Step 4.x line entirely, going directly from Step-3.7-Flash to Step 5. This decision reflects the magnitude of improvement achieved in this release.


โœจ Key Features

<div align="center"> <img src="./Step-5/features.png" alt="Key Features" width="90%"> </div>

  • โ€”Sparse Mixture-of-Experts (MoE): 600B total parameters, 27B active per token (~4.5% sparsity).
  • โ€”1M-Token Context Window: Equivalent to ~1,500 A4 pages, enabled by Sparse GQA.
  • โ€”Multimodal Input: Text, image, and video (MP4, QuickTime, Matroska; โ‰ค128 MB; โ‰ค5 min recommended).
  • โ€”Configurable Reasoning Effort: low, medium, high / xhigh.
  • โ€”Parallel Tool Calling: Natively supported for agentic workflows.
  • โ€”Strict JSON Schema Output: Reliable integration into structured systems.
  • โ€”OpenAI-Compatible API: Available via Step API and third-party gateways.
  • โ€”Open Weights: BF16 checkpoint available now under SHSLab/Step-5-Preview-BF16.

๐Ÿ—๏ธ Model Architecture

<div align="center"> <img src="./Step-5/architecture.png" alt="Step 5 Architecture" width="85%"> </div>

92-Layer "Narrow but Deep" Design

Step-5-Preview uses a 92-layer Transformer with a narrow-deep configuration. This design is specifically intended to create longer information propagation paths for implicit multi-hop reasoning during long prefill operations.

Sparse Grouped-Query Attention (GQA) with Block-Wise Token Merging

To handle the 1M-token context window efficiently, Step-5-Preview introduces Sparse GQA with block-wise token merging. This mechanism uses sparse indexing to select only historical information relevant to the current task, reducing the number of tokens that actually enter attention computation. StepFun states this cuts indexer and top-k selection costs to approximately one-eighth of a denser baseline.

โšก Efficiency-First Scaling Step 5 Preview achieves near-frontier performance with 600B total parameters but only 27B active per token. This is the core of StepFun's efficiency-first philosophy.

Multimodal Encoder

The model incorporates a unified multimodal encoder that processes text, images, and video frames into a shared latent space. Video is sampled at adaptive frame rates and encoded with temporal attention, allowing the model to understand motion and long-range dependencies in screen recordings, demonstrations, and real-world footage.


๐Ÿ“‹ Model Specifications

CategorySpecification
Model NameStep-5-Preview
DeveloperStepFun
ArchitectureSparse Mixture-of-Experts (MoE)
Total Parameters600B
Active Parameters27B per token (~4.5% sparsity)
Layers92 (narrow-deep Transformer)
Context Window1,000,000 tokens
AttentionSparse GQA with block-wise token merging
Input ModalitiesText, Image, Video
Output ModalitiesText
Video FormatsMP4, QuickTime, Matroska (โ‰ค128 MB, โ‰ค5 min recommended)
Reasoning Effortlow / medium / high (xhigh)
Tool CallingParallel, strict JSON schema
Intelligence Index44 (Artificial Analysis v4.3.2)
Open WeightsBF16 checkpoint available now
API AvailabilityImmediate (OpenAI-compatible)
LicenseStepFun Community License

๐Ÿ“š Training Data

Step-5-Preview was trained on a massive, carefully curated corpus spanning:

  • โ€”Code repositories from multiple languages (Python, C++, Rust, JavaScript, Go, etc.)
  • โ€”Technical documentation, API references, and software engineering forums
  • โ€”Scientific papers in computer science, mathematics, physics, and finance
  • โ€”Financial reports, earnings calls, and market analyses
  • โ€”Multimodal data including screenshots, UI mockups, video tutorials, and screen recordings
  • โ€”Agentic trajectories from simulated and real tool-use environments

The data mixture was optimized for long-horizon reasoning and tool use, with a strong emphasis on real-world professional tasks. All data was filtered for quality, safety, and license compliance. The training process used a combination of next-token prediction and reinforcement learning from human feedback (RLHF) with a focus on agentic objectives.


๐Ÿ“Š Benchmark Results

<div align="center"> <img src="./Step-5/benchmark.png" alt="Benchmark Results" width="80%"> </div>

Artificial Analysis Intelligence Index

Overall Score: 44 (Intelligence Index v4.3.2, recalibrated September 7, 2026)

The index covers 10 evaluations including AA-Briefcase, GDPval-AA v2, Terminal-Bench 4.0, SciCode, and Humanity's Last Exam.

<div style="border: 1px solid #8884; border-radius: 12px; padding: 20px 24px; margin: 24px 0; background: transparent;">

<h4 style="margin-top:0;">๐Ÿ“ How to read these tables</h4>

  • โ€”<strong>Step-5-Preview</strong> is always the first data column, for fast scanning.
  • โ€”<strong>Bold</strong> marks the <strong>best score in the row</strong> across all six models.
  • โ€”<strong>๐Ÿฅ‡</strong> flags the category leader for that benchmark.
  • โ€”<strong>โ€”</strong> indicates the model was not evaluated or did not report a score.
  • โ€”All Step-5-Preview results use the <code>high</code> reasoning-effort setting unless noted.

<strong>Comparison set:</strong> Step-5-Preview ยท GPT-6 Astra (Max) ยท Fable 5.1 ยท Claude Opus 5 (Max) ยท Kimi K3 (Max) ยท GLM-5.3 (Max)

<details> <summary><strong>๐Ÿท๏ธ Open-weight vs. closed-source in this comparison</strong></summary>

Open-weight: Step-5-Preview ยท Kimi K3 (Max) ยท Qwen3.8 Max ยท GLM-5.3 (Max)

Closed-source: GPT-6 Astra (Max) ยท Claude Opus 5 (Max)

Not disclosed: Fable 5.1

</details>

</div>


๐Ÿง  Reasoning & Knowledge

BenchmarkStep-5-PreviewGPT-6 AstraFable 5.1Claude Opus 5Kimi K3GLM-5.3
GPQA Diamond93.5%96.1% ๐Ÿฅ‡93.7%93.2%93.5%91.7%
Humanity's Last Exam (HLE)46.5%54.7%59.1% ๐Ÿฅ‡54.9%46.9%42.3%
AA-LCR v1.188.3%80.7%85.3%79.3%88.7% ๐Ÿฅ‡79.7%
CritPt20.9%31.7% ๐Ÿฅ‡29.7%29.1%23.4%19.1%

On AA-LCR v1.1 โ€” long-context reasoning โ€” Step-5-Preview scores 88.3%, effectively tied with Kimi K3 (88.7%) and ahead of GPT-6 Astra by +7.6 and Claude Opus 5 by +9.0, despite those models being far larger.

<details> <summary><strong>๐Ÿ“ Benchmark descriptions</strong></summary>

  • โ€”GPQA Diamond โ€” 198 PhD-level science MCQs (biology, physics, chemistry). Human expert average: 81%.
  • โ€”HLE (Humanity's Last Exam) โ€” Frontier academic knowledge benchmark; HLE w/ tools reported separately under Agents.
  • โ€”AA-LCR v1.1 โ€” Artificial Analysis Long-Context Reasoning.
  • โ€”CritPt โ€” 71 unpublished research-level physics challenges simulating full-scale junior-PhD research projects.

</details>


๐Ÿ’ป Coding & Software Engineering

BenchmarkStep-5-PreviewGPT-6 AstraFable 5.1Claude Opus 5Kimi K3GLM-5.3
DeepSWE v1.167.7%74.1% ๐Ÿฅ‡67.4%74.0%67.5%66.9%
Terminal-Bench 2.185.0%88.4%91.4% ๐Ÿฅ‡89.1%85.0%83.9%
Terminal-Bench 433.3%57.9% ๐Ÿฅ‡55.8%52.3%12.6%41.9%
CyberGym84.7% ๐Ÿฅ‡โ€”โ€”โ€”80.0%84.5%
SciCode58.9%56.5%63.1% ๐Ÿฅ‡56.4%59.5%59.0%
RoadmapBench54.3%โ€”โ€”68.3% ๐Ÿฅ‡55.4%54.1%
ProgramBench80.5%85.4% ๐Ÿฅ‡82.7%82.3%77.8%72.0%
SWE-Marathon v1.172.7%77.3%80.2%85.6% ๐Ÿฅ‡84.4%67.4%
MLS-Bench-Lite40.5%โ€”50.3% ๐Ÿฅ‡49.8%48.3%37.3%
SWE-Atlas-QnA63.6%60.9%โ€”66.0% ๐Ÿฅ‡59.5%59.6%
SWE-Atlas-Test-writing50.8%51.1%โ€”60.3% ๐Ÿฅ‡50.4%50.4%
StepCodeBench49.0%61.0%โ€”63.9% ๐Ÿฅ‡43.9%40.2%
StepCode-Bench-Daily64.9%โ€”โ€”77.6% ๐Ÿฅ‡57.7%69.1%
StepCode-Bench-General65.0%64.3%โ€”68.3% ๐Ÿฅ‡65.2%62.0%

Step-5-Preview leads on DeepSWE v1.1, StepCodeBench, ProgramBench, and SWE-Atlas-QnA among the four open-weight models in the set, and posts the best CyberGym score overall (84.7%). On Terminal-Bench 4 it reaches 33.3% โ€” 2.6ร— Kimi K3 (12.6%).

<details> <summary><strong>๐Ÿ“ Benchmark descriptions</strong></summary>

  • โ€”DeepSWE v1.1 โ€” SWE-agent harness, temperature=1.0, top_p=0.95.
  • โ€”Terminal-Bench 2.1 โ€” Verified refresh of TB 2.0; 89 curated terminal tasks across SWE, sysadmin, data processing.
  • โ€”Terminal-Bench 4 โ€” Next-generation terminal agent benchmark.
  • โ€”CyberGym โ€” Security-focused agent benchmark.
  • โ€”SciCode โ€” Scientific coding benchmark.
  • โ€”RoadmapBench โ€” 115 long-horizon coding tasks across 17 repos, 5 languages; median ~3,700 LOC changed.
  • โ€”ProgramBench โ€” Rebuild programs from binary + docs; 200 tasks, 248K+ behavioral tests.
  • โ€”SWE-Marathon v1.1 โ€” Ultra-long-horizon SWE; 20 realistic multi-hour tasks with hidden/adversarial tests.
  • โ€”MLS-Bench-Lite โ€” 30-task subset of MLS-Bench; tests inventing generalizable ML methods across 12 research domains.
  • โ€”SWE-Atlas-QnA โ€” 124 tasks on deep code comprehension across 11 production repos (Go, Python, C, TypeScript).
  • โ€”SWE-Atlas-Test-writing โ€” 90 tasks on writing production-grade unit, integration, and acceptance tests.
  • โ€”StepCodeBench โ€” StepFun internal coding benchmark; 49.0% avg@4.
  • โ€”StepCode-Bench-Daily / General โ€” StepFun internal; 553 repos, 9 task types, 20 domains, 33 languages.

</details>


๐Ÿค– Agents, Tool Use & Automation

BenchmarkStep-5-PreviewGPT-6 AstraFable 5.1Claude Opus 5Kimi K3GLM-5.3
GDPval-AA v21571158017241735 ๐Ÿฅ‡15481634
ฯ„ยณ-Banking42.5%41.4%47.2%42.1%46.0%50.3% ๐Ÿฅ‡
AutomationBench-AA51.0%68.5% ๐Ÿฅ‡59.4%56.6%58.3%62.2%
AutomationBench Public44.0%โ€”โ€”โ€”46.7%48.2% ๐Ÿฅ‡
AA-Briefcase141715621662 ๐Ÿฅ‡164514921511
Toolathlon-Verified74.1%โ€”77.8%80.6% ๐Ÿฅ‡76.5%73.0%
MCP-Atlas85.6%โ€”โ€”87.0% ๐Ÿฅ‡85.3%86.8%
PresentBench76.8%โ€”โ€”77.3% ๐Ÿฅ‡75.6%74.5%
JobBench59.0%โ€”โ€”65.7% ๐Ÿฅ‡54.3%61.4%
Apex-Agents37.8%โ€”โ€”41.8% ๐Ÿฅ‡41.0%38.1%
Draco83.3%76.8%87.7% ๐Ÿฅ‡87.6%78.5%82.3%
BrowseComp88.7%91.5% ๐Ÿฅ‡โ€”90.2%91.2%โ€”
HLE w/ tools59.4%57.2%65.0% ๐Ÿฅ‡63.6%56.0%62.5%

Step-5-Preview outperforms GPT-6 Astra on ฯ„ยณ-Banking (42.5% vs. 41.4%) and Draco (83.3% vs. 76.8%), and edges Kimi K3 on MCP-Atlas (85.6% vs. 85.3%) and Draco (83.3% vs. 78.5%). With tools, HLE rises from 46.5% โ†’ 59.4% (+12.9 points).

<details> <summary><strong>๐Ÿ“ Benchmark descriptions</strong></summary>

  • โ€”GDPval-AA v2 โ€” Artificial Analysis, Sep 19, 2026.
  • โ€”ฯ„ยณ-Banking โ€” Multi-turn banking agent benchmark.
  • โ€”AutomationBench-AA / Public โ€” Agentic automation tasks, private and public splits.
  • โ€”AA-Briefcase โ€” Elo score; agentic knowledge work across data science, product, banking, heavy industry.
  • โ€”Toolathlon-Verified โ€” 108 expert-authored tasks; multi-app workflows averaging ~20 turns.
  • โ€”MCP-Atlas โ€” 1,000 tasks across 36 real MCP servers and 220 tools; 3โ€“6 tool calls per task.
  • โ€”PresentBench โ€” 238 slide-generation instances; avg 54.1 rubric checklist items per instance.
  • โ€”JobBench โ€” 130 tasks across 35 occupations; avg 35.6 binary rubric criteria per task.
  • โ€”Apex-Agents โ€” Long-horizon tasks in investment banking, consulting, and corporate law.
  • โ€”DRACO โ€” Cross-domain deep research benchmark; LLM-as-judge with binary rubric verdicts.
  • โ€”BrowseComp โ€” 1,266 hard-to-find web information retrieval questions.
  • โ€”HLE w/ tools โ€” Humanity's Last Exam with tool augmentation.

</details>


๐Ÿ’ฐ Finance & Professional Work

BenchmarkStep-5-PreviewGPT-6 AstraFable 5.1Claude Opus 5Kimi K3GLM-5.3
FinStepBench-LiveSearch74.5%74.5%โ€”76.2% ๐Ÿฅ‡70.9%73.3%
FinStepBench-CorporateValuation60.6%77.3% ๐Ÿฅ‡โ€”69.7%60.6%56.1%
FinStepBench-FinanceDR55.8%45.0%โ€”59.1% ๐Ÿฅ‡48.9%53.3%
FrontierFinance66.4%55.0%โ€”69.7% ๐Ÿฅ‡62.6%64.1%
OfficeQA Pro60.3%67.7% ๐Ÿฅ‡โ€”64.7%62.6%59.1%
Spreadsheet v229.4%31.4%โ€”32.8% ๐Ÿฅ‡31.9%30.5%
GDP.pdf14.8%31.0% ๐Ÿฅ‡26.2%21.6%22.0%11.2%

On FrontierFinance Step-5-Preview scores 66.4%, ahead of GPT-6 Astra by +11.4, Kimi K3 by +3.8, and GLM-5.3 by +2.3. On FinStepBench-FinanceDR it reaches 55.8%, ahead of GPT-6 Astra (+10.8), Kimi K3 (+6.9), and GLM-5.3 (+2.5).

<details> <summary><strong>๐Ÿ“ Benchmark descriptions</strong></summary>

  • โ€”FinStepBench-LiveSearch โ€” StepFun internal; live web search for financial research.
  • โ€”FinStepBench-CorporateValuation โ€” StepFun internal; corporate valuation tasks.
  • โ€”FinStepBench-FinanceDR โ€” StepFun internal; deep-research finance workflows with source traceability, reproducible assumptions, auditable reports.
  • โ€”FrontierFinance โ€” Finance reasoning benchmark.
  • โ€”OfficeQA Pro โ€” Databricks; 90 questions over large enterprise financial document collections.
  • โ€”Spreadsheet v2 โ€” SpreadsheetBench 2; end-to-end business spreadsheet workflows. Best model โ‰ˆ34.89%.
  • โ€”GDP.pdf โ€” Document-heavy visual QA over PDFs.

</details>


๐Ÿ‘๏ธ Multimodal

BenchmarkStep-5-PreviewGPT-6 AstraFable 5.1Claude Opus 5Kimi K3GLM-5.3
MMMU-Pro76.0%87.0% ๐Ÿฅ‡โ€”85.0%81.0%โ€”
GDP.pdf14.8%31.0% ๐Ÿฅ‡26.2%21.6%22.0%11.2%

Multimodal reasoning is the primary improvement target for the next release. MMMU-Pro at 76.0% trails GPT-6 Astra (87.0%), Claude Opus 5 (85.0%), and Kimi K3 (81.0%).

<details> <summary><strong>๐Ÿ“ Benchmark descriptions</strong></summary>

  • โ€”MMMU-Pro โ€” Robust multimodal benchmark; filtered text-only questions, augmented candidates, vision-only settings. Significantly harder than MMMU.
  • โ€”GDP.pdf โ€” Document-heavy visual QA over PDFs.

</details>


๐Ÿ… Category Standing

DomainStep-5-Preview StandingHighlight
Long-Context Reasoning๐Ÿฅˆ Near-tied for #1AA-LCR v1.1 88.3%
Coding / SWE๐Ÿฅ‡ #1 open-weightDeepSWE v1.1 67.7%, StepCodeBench 49.0%, ProgramBench 80.5%
Security / Cyber๐Ÿฅ‡ #1 in setCyberGym 84.7%
Finance๐Ÿฅˆ #2 overall, #1 open-weightFrontierFinance 66.4%, FinanceDR 55.8%
Terminal Agents๐Ÿฅˆ #2 open-weightTerminal-Bench 4 33.3%
Tool Use๐Ÿฅ‰ CompetitiveMCP-Atlas 85.6%, HLE w/ tools 59.4%
General KnowledgeTop tierGPQA Diamond 93.5%, HLE 46.5%
MultimodalTrailingMMMU-Pro 76.0%

<details> <summary><strong>๐Ÿ“ Benchmark methodology notes</strong></summary>

  • โ€”DeepSWE v1.1 was evaluated using the SWE-agent harness with temperature=1.0 and top_p=0.95.
  • โ€”StepCodeBench achieved 49.0% avg@4.
  • โ€”GDPval-AA v2 results are from Artificial Analysis as of September 19, 2026.
  • โ€”AA-LCR v1.1: statistically tied with Kimi K3 (88.7%).
  • โ€”Terminal-Bench 4: 33.3% vs. Kimi K3 ~12.6% (2.6ร—) and DeepSeek V4.1 Flash 26.8% (1.24ร—).
  • โ€”SciCode: 58.9%, above GPT-6 Astra (56.5%) and Claude Opus 5 (56.4%).
  • โ€”Multimodal: MMMU-Pro and GDP.pdf run with the unified multimodal encoder at default resolution.
  • โ€”Output Speed: 99.8 tokens/sec (GLM-5.3: 72.1 tokens/sec).
  • โ€”Time to First Token: 2.96 seconds (GLM-5.3: 2.99s; Claude Opus 5: 56.84s at max effort).
  • โ€”Missing entries (โ€”) reflect benchmarks that were not publicly reported for that model at the time of writing.

</details>


๐Ÿค– Agentic Capabilities

<div align="center"> <img src="./Step-5/agentic_workflow.png" alt="Agentic Workflow" width="90%"> </div>

24-Hour Autonomous GPU Kernel Optimization

In a landmark demonstration of sustained agentic execution, Step-5-Preview was tasked with autonomously optimizing an H100 GPU kernel for up to 24 consecutive hours. The model:

  • โ€”Independently modified code
  • โ€”Ran tests and compared results
  • โ€”Iterated based on performance outcomes
  • โ€”Reached 508 TFLOPS after approximately 22 hours

For comparison, Claude Opus 5 achieved 493 TFLOPS in the same experiment. This demonstrates Step-5-Preview's ability to sustain productive work over extended periods without human intervention.

Automated Post-Training Experiments

In another 24-hour experiment, Step-5-Preview autonomously improved the accuracy of Qwen3-30B-A3B on AIME24 from 53.3% to 60% through automated post-training experiments. This showcases the model's capacity for self-directed research and optimization.

Long-Horizon Agent Workflows

The model is specifically optimized for agent workflows that require:

  • โ€”Searching and information retrieval
  • โ€”Running code and processing tool returns
  • โ€”Multi-turn tool calls with sustained execution
  • โ€”Iterative refinement based on intermediate results
  • โ€”Self-correction and error recovery over thousands of steps

๐Ÿ’ผ Real-World Use Cases

StepFun demonstrated the model's capabilities across several complex, real-world projects:

  • โ€”ESP32 Development Board Modifications: Executed development tasks for over 3 hours, demonstrating hardware programming capabilities.
  • โ€”Front-End Design with 3D Asset Generation: Full-stack development workflows including visual design.
  • โ€”Full-Process Financial Research: End-to-end investment research workflows, from data gathering to report generation.
  • โ€”Software Engineering: Comprehensive coding tasks beyond traditional code generation, including front-end, visual development, and programmable hardware scenarios.
  • โ€”Autonomous Research Assistant: Capable of reading papers, running experiments, and summarizing findings.
  • โ€”Customer Support Automation: Handles multi-turn conversations with tool calls to internal systems.

โšก Quickstart

Installation

bash
pip install transformers>=4.56.0
pip install torch>=2.4.0
pip install accelerate

For video/image support:

bash
pip install av pillow

Basic Usage with Transformers

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "SHSLab/Step-5-Preview-BF16"

tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    trust_remote_code=True,
    device_map="auto",
    torch_dtype="bfloat16",
)

messages = [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Explain the significance of the Pareto Frontier in AI scaling."},
]

inputs = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    return_tensors="pt",
).to(model.device)

outputs = model.generate(
    inputs,
    max_new_tokens=1024,
    temperature=0.7,
    top_p=0.95,
    reasoning_effort="high",  # low / medium / high / xhigh
)

response = tokenizer.decode(outputs[0][inputs.shape[1]:], skip_special_tokens=True)
print(response)

Multimodal (Image + Video) Usage

python
from transformers import AutoProcessor

processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)

messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://example.com/image.jpg"},
            {"type": "video", "url": "https://example.com/video.mp4"},
            {"type": "text", "text": "Describe the scene and summarize the video."},
        ],
    }
]

inputs = processor.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
# ... generate as above

Tool Calling

python
tools = [
    {
        "type": "function",
        "function": {
            "name": "get_weather",
            "parameters": {
                "type": "object",
                "properties": {"city": {"type": "string"}},
                "required": ["city"],
            },
        },
    }
]

messages = [{"role": "user", "content": "What's the weather in Tokyo?"}]

inputs = tokenizer.apply_chat_template(
    messages,
    tools=tools,
    add_generation_prompt=True,
    return_tensors="pt",
).to(model.device)

outputs = model.generate(inputs, max_new_tokens=256, reasoning_effort="medium")
print(tokenizer.decode(outputs[0][inputs.shape[1]:], skip_special_tokens=True))

๐Ÿšข Deployment

vLLM

bash
vllm serve SHSLab/Step-5-Preview-BF16 \
  --trust-remote-code \
  --tensor-parallel-size 8 \
  --max-model-len 1000000 \
  --enable-reasoning \
  --reasoning-parser stepfun

SGLang

bash
python -m sglang.launch_server \
  --model-path SHSLab/Step-5-Preview-BF16 \
  --trust-remote-code \
  --tp 8 \
  --context-length 1000000 \
  --reasoning-parser stepfun

OpenAI-Compatible API

python
from openai import OpenAI

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

response = client.chat.completions.create(
    model="step-5-preview",
    messages=[{"role": "user", "content": "Write a Python function to merge two sorted lists."}],
    reasoning_effort="high",
    max_tokens=2048,
)

print(response.choices[0].message.content)
๐Ÿ“ฆ Recommended Deployment Configurations โ€ข BF16: 8ร— H100 80GB (tensor parallel) โ€ข FP8: 4ร— H100 80GB (coming soon) โ€ข Context length: Up to 1M tokens โ€ข Reasoning parser: Use stepfun for vLLM / SGLang

๐Ÿ“ˆ Evaluation

Step-5-Preview was evaluated on a comprehensive suite of public and internal benchmarks. All evaluations used the model's high reasoning effort setting unless otherwise noted.

BenchmarkScoreNotes
DeepSWE v1.167.7%SWE-agent harness, temp=1.0, top_p=0.95
StepCodeBench49.0%avg@4
ProgramBench80.5%Rebuild programs from binary + docs; 200 tasks, 248K+ behavioral tests
Terminal-Bench 2.185.0%Verified refresh of TB 2.0; 89 curated terminal tasks
Terminal-Bench 433.3%2.6ร— Kimi K3
CyberGym84.7%Best in comparison set
SciCode58.9%Above GPT-6 Astra (56.5%) and Opus 5 (56.4%)
RoadmapBench54.3%115 long-horizon coding tasks; median ~3,700 LOC changed
SWE-Marathon v1.172.7%Ultra-long-horizon SWE; 20 realistic multi-hour tasks
MLS-Bench-Lite40.5%30-task subset; inventing generalizable ML methods
SWE-Atlas-QnA63.6%124 deep code-comprehension tasks
SWE-Atlas-Test-writing50.8%90 test-writing tasks across production repos
StepCode-Bench-Daily64.9%StepFun internal; 553 repos, 9 task types, 33 languages
StepCode-Bench-General65.0%StepFun internal; general-difficulty slice
Agents' Last Exam (ALE-CLI)29.5%Linux-only CLI subset; 40 industry subfields
GDPval-AA v21571Artificial Analysis, Sep 19, 2026
AA-Briefcase1417Elo; agentic knowledge work across industries
Toolathlon-Verified74.1%108 expert-authored tasks; ~20 turns average
MCP-Atlas85.6%1,000 tasks across 36 MCP servers, 220 tools
PresentBench76.8%238 slide-generation instances; avg 54.1 rubric items
JobBench59.0%130 tasks across 35 occupations
Apex-Agents37.8%Long-horizon IB, consulting, corporate law tasks
DRACO83.3%Cross-domain deep research benchmark
BrowseComp88.7%1,266 hard web information retrieval questions
HLE w/ tools59.4%+12.9 pts over no-tools HLE
FrontierFinance66.4%+11.4 pts over GPT-6 Astra
FinStepBench-LiveSearch74.5%Tied with GPT-6 Astra
FinStepBench-CorporateValuation60.6%Tied with Kimi K3
FinStepBench-FinanceDR55.8%Deep-research finance workflows
OfficeQA Pro60.3%90 questions over enterprise financial documents
Spreadsheet v229.4%SpreadsheetBench 2; best model โ‰ˆ34.89%
GDP.pdf14.8%Known weak spot
GPQA Diamond93.5%198 PhD-level science MCQs; human expert avg 81%
HLE46.5%59.4% with tools
AA-LCR v1.188.3%Tied with Kimi K3 (88.7%)
CritPt20.9%71 unpublished research-level physics challenges
MMMU-Pro76.0%Robust multimodal benchmark; harder than MMMU
Output Speed99.8 tokens/secGLM-5.3: 72.1 tokens/sec
Time to First Token2.96sGLM-5.3: 2.99s; Claude Opus 5: 56.84s (max effort)

โš ๏ธ Limitations

  • โ€”Knowledge Cutoff: The model's knowledge is current up to mid-2026. It may not be aware of events after that date.
  • โ€”Hallucination: Like all large language models, Step-5-Preview can generate plausible but incorrect information, especially in domains with sparse training data.
  • โ€”Long Context Degradation: While the model supports 1M tokens, performance may degrade for extremely long contexts beyond 500K tokens in certain tasks.
  • โ€”Tool Use Reliability: Tool calling is highly capable but not infallible. Complex multi-tool workflows may occasionally fail or require human intervention.
  • โ€”Multimodal Limitations: Video understanding is limited to clips under 5 minutes and 128 MB. Extremely high-resolution images may be downscaled.
  • โ€”Language Coverage: While multilingual, the model is primarily optimized for English and Chinese. Performance in other languages may vary.

โš–๏ธ Ethical Considerations

StepFun is committed to the responsible development and deployment of AI. We have taken the following measures:

  • โ€”Safety Alignment: The model was fine-tuned with RLHF to refuse harmful requests and promote helpful, honest, and harmless behavior.
  • โ€”Bias Mitigation: Training data was filtered to reduce harmful stereotypes and biases. However, residual biases may exist.
  • โ€”Transparency: We provide detailed model cards and benchmark results to enable informed use.
  • โ€”License Restrictions: The StepFun Community License prohibits certain high-risk uses, including autonomous weapons, surveillance, and malicious cyber activities.
  • โ€”Content Provenance: We encourage users to clearly label AI-generated content and to use the model ethically.

We urge all users to consider the ethical implications of their applications and to implement appropriate safeguards.


๐Ÿ–ฅ๏ธ Hardware Requirements

PrecisionMinimum GPU MemoryRecommended GPU Configuration
BF161.2 TB8ร— H100 80GB (tensor parallel)
FP8600 GB4ร— H100 80GB (tensor parallel)
INT4300 GB4ร— A100 80GB (tensor parallel)

For inference with 1M context, additional memory is required for KV cache. We recommend using paged attention and offloading techniques available in vLLM and SGLang.


โšก Performance Metrics

MetricValue
Output Speed99.8 tokens/sec
Time to First Token (TTFT)2.96 seconds
Context Window1,000,000 tokens
Max Output Tokens32,768 (default), configurable up to 131,072
Reasoning Effort Modeslow, medium, high, xhigh
Tool Calling Latency< 500 ms for simple calls

Measured on 8ร— H100 80GB with vLLM, batch size 1, BF16.


๐Ÿ“š Citation

If you use Step-5-Preview in your research, please cite:

bibtex
@misc{stepfun2026step5preview,
  title        = {Step-5-Preview: A 600B Sparse MoE Foundation Model for Real-World Agentic Work},
  author       = {StepFun Team},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/SHSLab/Step-5-Preview-BF16}},
  note         = {Released September 20, 2026}
}

๐Ÿ“œ License

Step-5-Preview is released under the StepFun Community License. See the LICENSE file for full terms.

โš ๏ธ Usage Restrictions โ€ข Commercial use is permitted under the StepFun Community License. โ€ข Redistribution must include the license and attribution. โ€ข See LICENSE for full details.

๐Ÿ“ฌ Contact


<div align="center"> <strong>โญ If you find Step-5-Preview useful, please give us a star on GitHub and Hugging Face! โญ</strong> <br><br> <em>Built with โค๏ธ by StepFun</em> </div>