Step 5 Preview

Step 5 Preview
StepFun · Text Generation
POST /v1/chat/completions

Frontier multimodal reasoning with a 1M token context, image and video input, parallel tool calling, and strict JSON schema output.

At a glance

FieldValue
Model idstep-5-preview
Model release date2026-09-15
Input modalitiesText, Image, Video
Output modalitiesText
Context window1.02M
Weight precision-
Max output tokens131,072
RegionInternational
Featuresreasoning, function_calling, structured_output, vision, video, prompt_cache, agentic_coding
Native inferenceNo
NewYes
Structured outputJSON Schema
Supported endpointsPOST /v1/chat/completions, POST /v1/responses, POST /v1/messages, POST /v1beta/models/step-5-preview:generateContent
Alternate model idsstepfun/step-5-preview

Pricing

ChargeSpecRate
Inputper 1M prompt tokens$1.00
Outputper 1M generated tokens$2.70
Implicit cache readper 1M cached input tokens$0.05
Web Search (Linkup)per call when invoked$0.013

Example request

curl https://api.empiriolabs.ai/v1/chat/completions \
-H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model": "step-5-preview", "messages": [{"role":"user","content":"Hello"}]}'

Parameters

ParameterTypeRequiredDefaultDescription
temperaturenumberno0.5Sampling temperature. · Range: 0 – 2
top_pnumberno0.9Nucleus sampling probability mass. · Range: 0 – 1
max_tokensintegerno4096Maximum output tokens. Reasoning tokens count toward this limit. · Range: 1 – 131072
stoparrayno-Stop sequences.
frequency_penaltynumberno0Penalty for repeated tokens. · Range: 0 – 1
reasoning_effortenumno"low"Controls how much the model reasons before it answers. Higher effort spends more tokens on reasoning. · Allowed: low, medium, high
reasoning_formatenumno"general"Format of the reasoning trace returned alongside the answer. · Allowed: general, deepseek-style
toolsarrayno-OpenAI-compatible function tools.
tool_choicestringno-OpenAI-compatible tool choice.
response_formatobjectno-Constrain the output to valid JSON. Use JSON mode for any JSON object, or supply a JSON Schema to force an exact response shape.
web_search_linkupbooleannofalseOptional web search powered by Linkup. When enabled, recent web sources are retrieved using your latest user message as the query and provided to the model as additional context. Adds $0.013 per call when invoked on top of the model’s normal token cost. Disabled by default.
disable_formattingbooleannofalseWhen enabled, the gateway will not append the “Sources” footer to assistant responses that used Linkup web search. Useful when the model output is piped to another system that expects no decoration.

Notes

Supports text, image, and video input with a 1M token context, parallel function tools, strict JSON schema output, and reasoning_effort low, medium, or high. Prompt-cache hits are billed at the cache-read rate. Video input supports MP4 under 128 MB, with clips under 5 minutes recommended. This is a preview release, so its behavior and identifier may change.


Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/step-5-preview.