SHSLab/Step-5-Preview-BF16
Step-5-Preview
<div align="center"> <img src="./Step-5/banner.png" alt="Step 5 Preview Banner" width="100%"> </div>
<div align="center">
    ![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
- Key Features
- Model Architecture
- Model Specifications
- Training Data
- Benchmark Results
- Agentic Capabilities
- Real-World Use Cases
- Quickstart
- Deployment
- Evaluation
- Limitations
- Ethical Considerations
- Hardware Requirements
- Performance Metrics
- Citation
- License
- Contact
๐ 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
๐ 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
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
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
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
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
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
<details> <summary><strong>๐ Benchmark methodology notes</strong></summary>
- DeepSWE v1.1 was evaluated using the SWE-agent harness with
temperature=1.0andtop_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
pip install transformers>=4.56.0
pip install torch>=2.4.0
pip install accelerateFor video/image support:
pip install av pillowBasic Usage with Transformers
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
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 aboveTool Calling
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
vllm serve SHSLab/Step-5-Preview-BF16 \
--trust-remote-code \
--tensor-parallel-size 8 \
--max-model-len 1000000 \
--enable-reasoning \
--reasoning-parser stepfunSGLang
python -m sglang.launch_server \
--model-path SHSLab/Step-5-Preview-BF16 \
--trust-remote-code \
--tp 8 \
--context-length 1000000 \
--reasoning-parser stepfunOpenAI-Compatible API
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.
โ ๏ธ 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
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
Measured on 8ร H100 80GB with vLLM, batch size 1, BF16.
๐ Citation
If you use Step-5-Preview in your research, please cite:
@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
- Hugging Face: SHSLab
- GitHub: github.com/stepfun-ai
- Discord: Join our Discord
- Email: opensource@stepfun.com
- Website: stepfun.com
<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>
