Step 5 Preview
stepfun/step-5-preview

Step 5 Preview 是阶跃星辰面向编程、软件工程与专业知识工作的旗舰模型,采用总参数 600B、单 token 激活 27B 的稀疏 MoE 架构,支持 100 万 token 上下文与最高 6.4 万 token 输出。模型可处理文本、图片和视频输入,并支持工具调用、结构化 JSON 输出、三档推理强度、流式输出与提示缓存。

Model price

Input /Mt Output /Mt
UncachedCache read
¥7/Mt¥0.7/Mt¥20/Mt

Sample Code

Copy
1base_url="https://api.ppio.com/openai"
2api_key="<YOUR_API_KEY>"
3
4curl "$base_url/v1/chat/completions" \
5  -H "Content-Type: application/json" \
6  -H "Authorization: Bearer $api_key" \
7  -d @- << 'EOF'
8{
9    "model": "stepfun/step-5-preview",
10    "messages": [
11        
12        {
13            "role": "user",
14            "content": "Hi there!"
15        }
16    ],
17    "response_format": { "type": "text" }
18}
19EOF
20  

Model Information

Context window:

1M

Maximum output tokens:

64K

Modality:

Input:
TextImageVideo
Output:
Text

Supported features

Function CallingSupported
Structured OutputSupported
reasoningSupported

API Integration Guide

Base URL:

https://api.ppio.com/openai

Messages protocol Base URL:

https://api.ppio.com/anthropic

API Endpoints:

/v1/chat/completions

Model ID:

stepfun/step-5-preview

Usage tierRPMTPM
T1550000000
T210050000000
T3100050000000
T4300050000000
T5600050000000
With more cost-effective products and services
Help you unleash boundless innovation and lead the new era of intelligence
Inquire now