返回资讯中心
外部精选
软件工程
#开发者实时流

Step 5 Preview: StepFun's flagship model for agentic work

You need to agree to share your contact information to access this model

Hacker News 最新Philpax2026/10/15 · 2026/10/1530 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Like 2

Follow

StepFun 3.22k

Safetensors

step5_vl

fp8

License: other

Model card Files Files and versions xet

Community 1

Copy to bucket new

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Introduction

Key Capabilities Software Engineering

Long-Horizon Agentic Execution

Professional Knowledge Work

A Focus on Finance

Model Specifications

Performance Evaluation Notes

Deployment Deployment Configurations

vLLM Environment Setup

Transformers

SGLang Environment Setup

Send a Request

Resources

License

StepFun's flagship model for agentic work

600B total parameters · 27B active parameters · Up to 1M context

Introduction · Capabilities · Specifications · Performance · Deployment · Resources · License

Introduction

Step 5 Preview is StepFun's flagship model for agentic work. It delivers frontier-level performance across software engineering and professional knowledge work, with particular strength in finance.

Step 5 Preview is a sparse Mixture-of-Experts (MoE) model with 600B total parameters and 27B active parameters. It supports up to 1 million tokens of context and accepts text, images, and video, enabling sustained reasoning and tool use across complex tasks.

Key Capabilities

Software Engineering

Step 5 Preview supports repository-level software engineering, frontend and visual development, and programming for devices. It can navigate large codebases, coordinate changes across files, run and verify code, and iterate on the results.

Long-Horizon Agentic Execution

Step 5 Preview can carry out tasks that require repeated tool calls, execution, verification, and revision, drawing on long-context information throughout the workflow.

Professional Knowledge Work

The model combines research, multimodal understanding, and tool use to analyze long documents, charts, screenshots, images, and video, and produce structured reports and analyses.

A Focus on Finance

Step 5 Preview is particularly strong in financial tasks that combine quantitative reasoning with analysis of financial data and supporting documents.

Model Specifications

Specification Step 5 Preview

Architecture Sparse Mixture-of-Experts (MoE)

Total Parameters 600B

Active Parameters 27B

Context Window Up to 1M tokens

Maximum Output Up to 1M tokens

Input Text, image

Output Text

Performance

The following results summarize Step 5 Preview's performance across coding, agentic tasks, professional knowledge work, and finance.

Evaluation Notes

Recommended inference settings: temperature=1.0, top_p=0.95, top_k=0.

Step 5 Preview results shown above use the High reasoning setting.

GDPval-AA v2.1 scores are based on results from Artificial Analysis as of September 20, 2026.

DeepSWE v1.1 evaluations use the SWE-agent harness with temperature=1.0 and top_p=0.95.

For evaluation context, methodology, and detailed case studies, see the Step 5 Preview Model Page.

Deployment

Step 5 Preview can be served through an OpenAI-compatible API with vLLM or SGLang, or used for offline generation with the standalone Transformers implementation. The examples below cover FP8 and BF16 checkpoints.

Use a framework build that includes Step 5 Preview support, including the reasoning, tool-call, and speculative decoding features used in the serving commands.

Deployment Configurations

Framework Precision Hardware Parallelism Interface

vLLM FP8 One B300 node, 4 GPUs TP4, TEP4, or DEP4 OpenAI-compatible API

vLLM FP8 One H200 node, 8 GPUs TP8, TEP8, or DEP8 OpenAI-compatible API

vLLM BF16 One B300 node, 8 GPUs TP8, TEP8, or DEP8 OpenAI-compatible API

vLLM BF16 Two H200 nodes, 16 GPUs TP16, TEP16, or DEP16 OpenAI-compatible API

Transformers FP8 One H200 node, 8 GPUs TP8 / EP8 Offline generation

Transformers BF16 Two H200 nodes, 16 GPUs TP16 / EP16 Offline generation (see validation note below)

SGLang FP8 One B300 node, 4 GPUs TP4/EP4 OpenAI-compatible API

SGLang FP8 One H200 node, 8 GPUs TP8/EP8 OpenAI-compatible API

DP, TP, and EP refer to data, tensor, and expert parallelism, respectively. TEP combines tensor and expert parallelism; DEP combines data and expert parallelism. These example configurations are sized for the deployments below. Actual memory requirements, usable context length, and concurrency vary with the checkpoint, inference framework, and KV cache allocation.

Deployment guides: vLLM · Transformers · SGLang · Send a Request

vLLM

The examples below expose Step 5 Preview through an OpenAI-compatible API at port 18000, with step5 as the model name used in requests.

Environment Setup

Pull the Step 5 Preview image and start an interactive container with GPU access:

docker pull vllm/vllm-openai:step-5-preview

docker run --rm -it
--gpus all
--ipc=host
--network=host
--volume "$HOME/.cache/huggingface:/root/.cache/huggingface"
--entrypoint /bin/bash
vllm/vllm-openai:step-5-preview

Run the serving commands below inside the container. If the checkpoint requires authentication, sign in with hf auth login before starting the server.

Choose one of the following parallel configurations for a single node with four B300 GPUs:

Make all four GPUs visible, then run the command for your chosen configuration:

export CUDA_VISIBLE_DEVICES=0,1,2,3

On B300 (Blackwell), the TEP4 and DEP4 commands select MegaMoE with --moe-backend deep_gemm_mega_moe. The TP4 command uses the default MoE backend, since MegaMoE requires expert parallelism.

TP4: Tensor Parallelism

vllm serve stepfun-ai/Step-5-Preview
--host 0.0.0.0
--port 18000
--served-model-name "step5"
--tensor-parallel-size 4
--data-parallel-backend mp
--distributed-executor-backend mp
--disable-custom-all-reduce
--max-model-len 1048576
--max-num-batched-tokens 16384
--max-num-seqs 64
--gpu-memory-utilization 0.85
--enable-prefix-caching
--spec-method mtp
--spec-tokens 3
--reasoning-parser step5
--enable-auto-tool-choice
--tool-call-parser step5

TEP4: Tensor and Expert Parallelism

vllm serve stepfun-ai/Step-5-Preview
--host 0.0.0.0
--port 18000
--served-model-name "step5"
--tensor-parallel-size 4
--enable-expert-parallel
--moe-backend deep_gemm_mega_moe
--data-parallel-backend mp
--distributed-executor-backend mp
--disable-custom-all-reduce
--max-model-len 1048576
--max-num-batched-tokens 16384
--max-num-seqs 64
--gpu-memory-utilization 0.85
--enable-prefix-caching
--spec-method mtp
--spec-tokens 3
--reasoning-parser step5
--enable-auto-tool-choice
--tool-call-parser step5

DEP4: Data and Expert Parallelism

vllm serve stepfun-ai/Step-5-Preview
--host 0.0.0.0
--port 18000
--served-model-name "step5"
--tensor-parallel-size 1
--data-parallel-size 4
--enable-expert-parallel
--moe-backend deep_gemm_mega_moe
--data-parallel-backend mp
--distributed-executor-backend mp
--disable-custom-all-reduce
--max-model-len 1048576
--max-num-batched-tokens 16384
--max-num-seqs 64
--gpu-memory-utilization 0.85
--enable-prefix-caching
--spec-method mtp
--spec-tokens 3
--reasoning-parser step5
--enable-auto-tool-choice
--tool-call-parser step5

FP8 on H200

For a single node with eight H200 GPUs, adapt one of the B300 commands above:

TP and TEP use DP=1; DEP uses TP=1. In all configurations, --max-num-seqs applies per DP rank. The 1M-token context limit covers input and output combined. If KV cache memory is insufficient, reduce --max-model-len or concurrency.

BF16 deployments require a BF16 checkpoint. Setting --dtype bfloat16 on the FP8 checkpoint does not convert its quantized weights to BF16.

Mount the BF16 checkpoint directory at the same path inside the container, then set MODEL to that path:

export MODEL="<STEP5_BF16_MODEL_PATH>"

Choose a configuration for your hardware:

These configurations provide a starting point for loading the BF16 weights. They do not guarantee enough memory for a 1M-token request; KV cache and runtime buffers also require GPU memory.

B300: One Node, 8 GPUs

Set CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 inside the container. Start from the TP4 command, replace stepfun-ai/Step-5-Preview with "$MODEL", and replace --tensor-parallel-size 4 with one of the argument sets below:

Retain the remaining serving arguments, including --served-model-name "step5", --reasoning-parser step5, and --tool-call-parser step5.

H200: Two Nodes, 16 GPUs

Use the same BF16 checkpoint path and container image on both nodes. Replace <NODE_0_IP> below with node 0's high-speed-network IP, reachable from node 1. H200 uses the default MoE backend; omit --moe-backend deep_gemm_mega_moe.

Keep all other serving arguments, including --data-parallel-backend mp, --distributed-executor-backend mp, the model name, and both parsers. Run one completed command per node. Only node 0 exposes the API, on port 18000.

For TP16, use the following arguments. For TEP16, also add --enable-expert-parallel on both nodes. Both configurations use DP=1.

--host 0.0.0.0
--port 18000
--tensor-parallel-size 16
--nnodes 2
--node-rank 0
--master-addr <NODE_0_IP>

Node 1:

--tensor-parallel-size 16
--nnodes 2
--node-rank 1
--master-addr <NODE_0_IP>
--headless

DEP16

DEP16 uses TP=1 and distributes the experts across 16 data-parallel ranks, with eight ranks on each node. Use the same data-parallel address and RPC port on both nodes.

--host 0.0.0.0
--port 18000
--tensor-parallel-size 1
--data-parallel-size 16
--data-parallel-size-local 8
--data-parallel-address <NODE_0_IP>
--data-parallel-rpc-port 29550
--enable-expert-parallel

Node 1:

--tensor-parallel-size 1
--data-parallel-size 16
--data-parallel-size-local 8
--data-parallel-start-rank 8
--data-parallel-address <NODE_0_IP>
--data-parallel-rpc-port 29550
--enable-expert-parallel
--headless

Transformers

The standalone implementation converts checkpoints into shards for offline generation. With its dependencies installed, run the following commands from the inference/ directory:

cd inference

Use separate checkpoints and output directories for FP8 and BF16. Conversion preserves the source dtype, and generation runs offline without an API server.

Convert the FP8 checkpoint once, then launch eight local processes for TP8 / EP8 generation:

export STEP5_FP8_CHECKPOINT="<FP8_CHECKPOINT_DIRECTORY>" export STEP5_FP8_OUT="<FP8_SHARD_OUTPUT_DIRECTORY>"

python3 convert.py
--checkpoint "$STEP5_FP8_CHECKPOINT"
--tp-size 8 --ep-size 8 --check-only

python3 convert.py
--checkpoint "$STEP5_FP8_CHECKPOINT"
--out-dir "$STEP5_FP8_OUT"
--tp-size 8 --ep-size 8

torchrun --standalone --nproc-per-node=8 generate.py
--tp-dir "$STEP5_FP8_OUT/tp8" --ep-size 8
--prompt "Please introduce tensor parallelism."
--max-new-tokens 128

BF16: Two H200 Nodes, 16 GPUs

For TP16 / EP16 generation across two nodes, first convert the BF16 checkpoint into 16 shards. Make the resulting tp16/ and tokenizer_files/ directories accessible to both nodes:

export STEP5_BF16_CHECKPOINT="<BF16_CHECKPOINT_DIRECTORY>" export STEP5_BF16_OUT="<BF16_SHARD_OUTPUT_DIRECTORY>"

python3 convert.py
--checkpoint "$STEP5_BF16_CHECKPOINT"
--tp-size 16 --ep-size 16 --check-only

python3 convert.py
--checkpoint "$STEP5_BF16_CHECKPOINT"
--out-dir "$STEP5_BF16_OUT"
--tp-size 16 --ep-size 16

Then run the command below on each node, using the same MASTER_ADDR, MASTER_PORT, and shard output path. Set NODE_RANK=0 on node 0 and NODE_RANK=1 on node 1:

export STEP5_BF16_OUT="<BF16_SHARD_OUTPUT_DIRECTORY>" export MASTER_ADDR="<NODE_0_REACHABLE_IP_OR_HOSTNAME>" export MASTER_PORT=29500 export NODE_RANK=0 # Set to 1 on node 1.

torc

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →