Step 5 API

Flagship agentic reasoning with a 1M token context, image and video input, parallel tool calling, five reasoning levels, and strict JSON schema output.

StepFun Text Generation 1M context Released Nov 29, 2026 International Proprietary Endpoint New

About Step 5

Flagship agentic reasoning with a 1M token context, image and video input, parallel tool calling, five reasoning levels, and strict JSON schema output.

Use reasoning_effort low, medium, high, xhigh, or max to control the reasoning depth; when it is omitted, the model's own default applies. The model returns its reasoning in reasoning_content, and those tokens bill as output tokens. Prompt-cache hits are billed at the cache-read rate.

Also known as StepFun Step 5

reasoning function calling structured output vision video prompt cache agentic coding

Step 5 specs

Model ID
step-5
Author
StepFun
Category
Text Generation
Released
Nov 29, 2026
Context window
1M tokens
Max output
64,000 tokens
Input
TextImageVideo
Output
Text
Structured output
JSON Schema
Region
International
Endpoints
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/step-5:generateContent
Alternate model IDs
stepfun/step-5

Step 5 API pricing

Live pay-as-you-go rates from the EmpirioLabs catalog. You can also choose a plan with weekly allowances.

Type
Spec
Rate
Input
per 1M prompt tokens
$1.00
Output
per 1M generated tokens
$2.70
Implicit cache read
per 1M cached input tokens
$0.10
Web Search (Linkup)
per call when invoked
$0.013
Compare on the full pricing page

How to call the Step 5 API

Step 5 serves the OpenAI-compatible Chat Completions API. Point any OpenAI SDK at https://api.empiriolabs.ai/v1 with your EmpirioLabs API key and use the model id step-5. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "step-5",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.empiriolabs.ai/v1",
    api_key="YOUR_EMPIRIOLABS_API_KEY",
)

response = client.chat.completions.create(
    model="step-5",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Full Step 5 API reference

Step 5 API parameters

Request parameters supported by the Step 5 API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
temperaturenumber-0 to 2Sampling temperature. When omitted, the model's own default applies.
top_pnumber-0.01 to 1Nucleus sampling probability mass. When omitted, the model's own default applies.
max_tokensinteger-1 to 64000Maximum output tokens. Reasoning tokens count toward this limit. When omitted, the model's own default applies.
stoparray--Stop sequences.
frequency_penaltynumber0-2 to 2Penalty for repeated tokens.
reasoning_effortenum-low, medium, high, xhigh, maxControls how much the model reasons before it answers. Higher effort spends more tokens on reasoning. When omitted, the model's own default applies.
ninteger11 to 5Number of answers to return, on /v1/chat/completions. The output tokens of every answer are billed.
reasoning_formatenumgeneralgeneral, deepseek-styleFormat of the reasoning trace returned alongside the answer.
toolsarray--OpenAI-compatible function tools.
tool_choicestring--OpenAI-compatible tool choice control. This model supports auto and none.
response_formatobject--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_linkupbooleanfalse-Optional 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_formattingbooleanfalse-Return the answer without the Sources list that web search adds.

Good to know

Supports text, image, and video input with a 1M token context, parallel function tools, strict JSON schema output, and reasoning_effort low, medium, high, xhigh, or max. Reasoning tokens count toward max_tokens and bill as output tokens. The model decides when to call a function tool: tool_choice takes auto or none. JSON mode (response_format json_object) needs the word JSON in the messages; a JSON Schema does not. Images are read at full detail unless an image part sets detail to low, which uses fewer input tokens. Prompt-cache hits are billed at the cache-read rate. Video input supports MP4 under 128 MB, with clips under 5 minutes recommended.

Step 5 models (2)

Step 5 on the blog

Announcements, prompt tests, and comparisons that cover this model.

Step 5 API: common questions

How much does the Step 5 API cost?

On EmpirioLabs, Step 5 is billed pay as you go: Input $1.00 per 1M prompt tokens; Output $2.70 per 1M generated tokens; Implicit cache read $0.10 per 1M cached input tokens; Web Search (Linkup) $0.013 per call when invoked. You can also choose a plan with weekly allowances. The live rate card on this page always matches what the API charges.

What inputs and outputs does Step 5 support?

Step 5 takes Text, Image, Video as input and returns Text.

What is the context window of Step 5?

Step 5 supports a 1M-token context window with up to 64,000 output tokens per response.

Is the Step 5 API OpenAI-compatible?

Yes. Step 5 serves the OpenAI-compatible Chat Completions API, so existing OpenAI SDKs work by pointing base_url at https://api.empiriolabs.ai/v1 and setting the model id to step-5.

What is the model ID for Step 5?

Send step-5 as the model in your request. The alternate IDs stepfun/step-5 also work.

When was Step 5 released?

StepFun released Step 5 on Nov 29, 2026.

Where is Step 5 served from?

Step 5 on EmpirioLabs is served from International.

Can I try Step 5 in the browser before integrating?

Yes. The EmpirioLabs playground runs Step 5 in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Step 5 API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make. You can also choose a plan with weekly allowances.

Compare Step 5 with other models

All model comparisons

Ready to use better endpoints?

Check out our pricing or reach out if you want your own model deployed on our stack.