Step 5 is StepFun’s flagship model for software engineering, professional work, and AI agents. Its main upgrade over Preview combines stronger task performance with lower token consumption. Developers can access it through StepFun’s official API or compare recent alternatives through CometAPI, depending on their workload and integration needs.
Key Takeaways
Better task efficiency: StepFun reports 53% fewer average output tokens and 36% lower weighted average API cost per task versus Preview.
Multimodal context: Text, image, and video input, a 1M-token context window, and up to 64K output tokens.
Tool calling, structured outputs, caching, streaming, and five reasoning effort levels.
Reviewed for clarity, source attribution and current API terminology.
Practical developer controls:
Official pricing: $1.00 per million uncached input tokens, $0.10 for cached input, and $2.70 for output.
What Is Step 5?
Step 5 is designed for work that requires reasoning across source materials, using tools, and carrying a task through several stages. Its main applications include software engineering, document processing, interactive design, and computational research.
The 1M-token context budget covers input and generated tokens together. The 64K output limit applies within that budget.
Architecture
In a technical comment published with the release, the SGLang team describes short sliding windows in most layers and sparse attention in the remaining layers. This design helps control KV-cache memory and computation as context grows, supporting more efficient long-context inference.
What Can Step 5 Do?
Step 5 combines software engineering, professional content creation, and multimodal analysis. The release also expands its work in scientific computing, security analysis, and AI research.
Coding and Agents
Step 5 writes, debugs, and tests code across languages. StepFun also evaluates whether changes remain concise and follow a project’s architecture and development conventions. That focus matters in an established codebase, where an unnecessarily broad change can create more review work than the original bug.
With tool access, a Step 5 coding agent can investigate a failing endpoint, inspect related files, implement a fix, and run the relevant checks. The application supplies the execution tools; the model uses their results to decide what to do next.
Professional Work
Step 5 supports document processing, research, and tasks that produce presentations, spreadsheets, or reports through a connected workflow. StepFun’s demonstrations include a street redevelopment presentation and a diesel price analysis prepared for procurement review.
One teaching resource example combines a ten-slide presentation with interactive demonstrations of Earth’s motion and daylight variation. It shows how the model can turn the same source material into coordinated resources for presentation and independent learning.
StepFun also evaluates the final artifacts. On its internal Office Core assessment, which covers presentations, documents, spreadsheets, and web pages, Step 5 scores 65.8 out of 100. In a separate blind comparison covering 103 office tasks, it wins against Preview in 68% of cases, with 25.2% ties.
Design and Multimodal Input
Step 5 can build landing pages, data visualizations, interactive prototypes, and 3D scenes in a requested style. The release examples include astronomical scenes, engineering demonstrations, and miniature architectural environments. These capabilities are useful for product demos and educational interfaces where layout and interaction carry part of the explanation.
Its multimodal input support also allows developers to combine text with screenshots, charts, or video. Requests support up to 60 images. For video URL input, the documentation specifies one MP4 file under 128 MB and recommends five minutes or shorter. Outputs remain text, including code that an application can render into a visual experience.
Research and Security
Step 5’s research demonstrations include approximately 31,000 lines of Lean code formalizing seven main results from a number theory paper. Another example combines physical reasoning, mathematical computation, and electromagnetic simulation for photonics modeling and device optimization.
For security work, the release describes analysis that connects Android application code with evidence from native libraries. Its SEC-bench Pro evaluation measures the ability to reproduce publicly disclosed vulnerabilities in complex software systems.
How Does Step 5 Perform?
StepFun’s release compares Step 5 with Preview across task performance and token consumption.
Both DeepSWE figures use mini-swe-agent. The earlier Preview article reports 67.7% using SWE-agent; the 62.0% figure above comes from the evaluation setup used for this release’s comparison.
Terminal-Bench measures performance on terminal-based tasks, while AutomationBench-AA addresses multi-step office work. The gains across both categories support Step 5’s positioning for engineering and business workflows.
Token Efficiency
Across the reported overall comparison, Step 5 used 53% fewer average output tokens per task and achieved a 36% reduction in weighted average API cost per task. On Terminal-Bench 4.1 specifically, output tokens fell by 63%, and average task cost decreased from $8.69 to $5.30.
Research Benchmarks
SEC-bench Pro accuracy rose from 19.67% to 64.48%. On StepFun’s internal Frontier AI R&D Benchmark, the score increased from 33.3% to 49.4%, while average token consumption fell by 72%.
More open-ended research remains difficult: StepFun reports 10.7% on a 39-task subset of RSI Bench. This result helps distinguish progress in structured research and engineering tasks from performance on broader autonomous research assignments.
How Much Does Step 5 API Cost?
Step 5 uses token-based API billing. Its listed rates are straightforward, but caching and reasoning output influence the final charge. Prices below reflect StepFun’s international platform in USD, checked on December 2, 2026.
Output billing includes both reasoning tokens and the final answer. The cache-miss input rate includes writing new content to the cache.
Preview has the same listed token prices. The reported reduction in task cost therefore reflects lower resource consumption during the evaluated work.
Cost Example
A request containing 100,000 uncached input tokens and 10,000 billable output tokens costs $0.127 in token charges: $0.10 for input plus $0.027 for output. If the same input quantity qualifies for cache-hit pricing, its input charge becomes $0.01.
An agent may make many requests before finishing one assignment. Its total cost includes all those requests, retries, and any separately billed services used by the application.
How to Use the Step 5 API
The StepFun platform provides the official API entry point. After creating an API key and configuring account billing, developers can use the OpenAI Python SDK with StepFun’s base URL.
Step 5 API Quickstart
Install the openai package and set STEPFUN_API_KEY in your environment. A minimal text request looks like this:
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["STEPFUN_API_KEY"],
base_url="https://api.stepfun.ai/v1",
)
response = client.chat.completions.create(
model="step-5",
reasoning_effort="medium",
max_tokens=4096,
messages=[{
"role": "user",
"content": "Explain a practical strategy for testing an API rate limiter."
}],
)
print(response.choices[0].message.content)
print(response.usage)
The response.usage field reports token consumption for the request.
Reasoning and Tools
Step 5 offers five reasoning effort levels: low, medium, high, xhigh, and max, expanding on Preview’s three levels. In Chat Completions, set reasoning_effort as shown above. Messages uses output_config.effort, while Responses uses reasoning.effort, as documented in the supported features guide.
The model supports tool calling, streaming, prompt caching, JSON Mode, and JSON Schema. For an agent, define the available tools and have the application execute returned tool requests. For structured extraction, specify the required schema and validate the returned fields before passing them downstream.
What Are the Alternatives to Step 5
As of December 2, 2026, Step 5 does not appear in CometAPI’s public model catalog. Developers can access it through StepFun and evaluate the following three recent alternatives through CometAPI.
Start with medium as an evaluation baseline, then use the lowest effort level that consistently meets your quality requirements.
Step 5 vs. Gemini 4 Neon
Gemini 4 Neon is an alternative for long-context research, software engineering, and multimodal analysis. Compared with Step 5, it adds audio input, which can reduce the need for separate transcription when working with recordings and documents.
CometAPI lists rates of $2.40 per million input tokens and $12 per million output tokens, both higher than Step 5’s official rates.
Step 5 vs. GPT-6.2 Sol
GPT-6.2 Sol targets everyday professional work, coding, and agent workflows. It accepts text and images and is a practical comparison candidate for applications that combine code assistance, document analysis, and business writing.
Step 5 includes video input, while GPT-6.2 Sol’s documented inputs are text and images. For text-and-image workflows, the choice depends on task results and total usage rather than modality coverage alone.
CometAPI lists rates of $1.60 per million input tokens and $8 per million output tokens.
Step 5 vs. Claude Fable 5.2
Claude Fable 5.2 targets demanding technical projects requiring sustained reasoning, planning, and execution. It offers a 1M-token context window and a 128K output limit, compared with Step 5’s 64K, making it relevant when a task requires substantial generated deliverables.
CometAPI lists rates of $6.40 per million input tokens and $32 per million output tokens. Its higher cost is worth evaluating when improved completion quality could reduce engineering review or repeated attempts.
Through CometAPI, teams can manage supported models through shared API access and billing. For OpenAI-compatible text requests, the base URL is https://api.cometapi.com/v1; use the selected model’s documentation for its supported parameters and features.
Conclusion
Step 5 is a relevant candidate for teams running recurring, multi-step assignments with substantial context, including repository maintenance, document-heavy office work, and computational research. Its reported token savings matter most when these assignments occur frequently.
For a useful evaluation, keep tools and acceptance criteria consistent across models. Measure cost per accepted result, including retries and review effort, alongside elapsed time.
Start with StepFun’s official API for direct access. For a broader model comparison, the alternatives available through CometAPI provide different input capabilities, output budgets, and price points.
Step 5 FAQ
Weight availability and generation limits affect how developers can deploy Step 5 and handle its responses.
Is Step 5 Open Source?
As of December 2, 2026, StepFun’s public Step 5 weight repositories are labeled Preview, including BF16 and NVFP4 variants. For the full release, StepFun documents API access; a separate public checkpoint and self-hosting guide are not listed. Preview’s weights, license, and deployment instructions apply to that checkpoint.
Why Does Step 5 Stop Before 64K Tokens?
The 64K figure is an output ceiling. A response can finish earlier because the answer is complete, the request reaches its max_tokens budget, or a configured stop sequence is encountered. Check finish_reason and the request’s output settings before retrying. Input and generated tokens also remain subject to the context limit.
Can Step 5 Generate Images or Video?
Its output is text, including code for visual applications. Native image or video generation is not listed among its supported outputs.