StepFun

Step 5 Preview

stepfun/step-5-preview
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Step 5 Preview 是 StepFun 面向真实任务的新一代旗舰基模,重点覆盖编程与专业知识工作。模型原生支持文本、图片和视频输入,提供 1M tokens 上下文窗口,适合需要处理大量信息、调用工具,并持续推进到交付结果的任务。

输入 / 输出模态
未提供 至 未提供
参考输入 / 输出价格
输入¥7输出¥20每百万 Token
上下文长度
256K
收录时间
2026年9月24日

供应通道与价格

供应通道输入 /M输出 /M缓存读取 /M上下文最大输出详情
StepFun¥7¥20¥0.35256K256K

StepFun

延迟
1.63s
吞吐量
54 tokens/s
上下文
256K

价格

输入
¥7/M tokens
输出
¥20/M tokens
缓存
¥0.35/M tokens

规格

上下文
256K
最大输出
256K
支持的 API
/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Step 5 Preview 的示例代码与 API 说明

Modelmesh 会帮你在不同服务提供商之间规范化处理请求和响应,为你统一接口。

Modelmesh 提供了兼容 OpenAI 的 Completion API,可连接 300 多款模型与服务提供商,既可直接调用,也可通过 OpenAI SDK 调用。此外,还提供了一些第三方 SDK。

在以下示例中,Modelmesh 专用的请求头属于可选项。若你配置了这些请求头,你的应用就能出现在 Modelmesh 的排行榜上。

支持的接口点击接口可切换下方示例
/v1/chat/completions
from openai import OpenAI API_KEY = "$SSY_API_KEY" client = OpenAI( base_url="https://router.shengsuanyun.com/api/v1", api_key=API_KEY, ) try: completion = client.chat.completions.create( model="stepfun/step-5-preview", messages=[{"role": "user", "content": "9.11 和 9.8 哪个数更大?"}], temperature=0.6, top_p=0.7, stream=True, ) response_text = "" for chunk in completion: if chunk.choices and chunk.choices[0].delta.content is not None: content = chunk.choices[0].delta.content print(content, end="", flush=True) response_text += content except Exception as error: print(f"Request failed: {error}")
                
              

相关模型