Step 5 Preview API

stepfun/step-5-preview
Step 5 Preview is an agentic model especially suited to software engineering, finance, long-document analysis, multimodal understanding, and tool-assisted research.
Context
1M tokens
Input
$1.3754 / 1M tokens
Output
$3.71358 / 1M tokens
Released
Oct 8, 2026

How to use Step 5 Preview API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to stepfun/step-5-preview.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "stepfun/step-5-preview",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "stepfun/step-5-preview",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"stepfun/step-5-preview","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Step 5 Preview API Pricing

TypePrice
Input
$1.3754 / 1M tokens
Output
$3.71358 / 1M tokens
Cached input
$0.06877 / 1M tokens

Cache-miss input billing includes writing new content to the cache, output billing includes both reasoning tokens and the final answer, and API requests are rate-limited by account tier based on cumulative top-up amount.

Step 5 Preview Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
Intelligence
43.7
Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial AnalysisSourceOctober 8, 2026

The primary published source is StepFun’s official Step 5 Preview announcement, “Step 5 Preview: Advancing the Pareto Frontier.” Source: https://www.stepfun.com/step-5-preview

Step 5 Preview vs other models

ModelInputOutputContextBest for
$1.3754 / 1M tokens
$3.71358 / 1M tokens
1M tokens
Agentic workflows and structured output
$0.27508 / 1M tokens
$1.58171 / 1M tokens
256K tokens
Coding + agents

Frequently asked questions

Step 5 Preview is StepFun’s flagship model for agentic work, with strengths in software engineering and professional knowledge work, particularly finance.

Step 5 Preview natively supports text, image, and video input.

Yes. Step 5 Preview can understand images and videos without requiring an additional vision model.

Yes. Step 5 Preview supports low, medium, and high reasoning effort levels.

Yes. Tool calling is supported for Step 5 Preview.

Yes. Step 5 Preview supports both JSON Mode and JSON Schema structured outputs.

Yes. Streaming output is supported for Step 5 Preview.

It can combine images, video, and text to extract and analyze multimodal information.

Yes. It is intended for tasks involving large amounts of information, tool calls, and continuous progress toward a deliverable.

Step 5 Preview uses a sparse Mixture-of-Experts architecture with 600 billion total parameters and 27 billion active parameters per token.

Start building with Step 5 Preview

Get API Key
1000+ models, one API.