> ## Documentation Index
> Fetch the complete documentation index at: https://platform.stepfun.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Step 5

**Step 5 是阶跃星辰面向 Agentic Work 打造的最新旗舰模型**，在模型智能、任务执行效率和设计审美等方面全面升级，能够以更低的 Token 消耗和任务成本完成复杂工作，在软件工程、专业办公、网页设计、3D 场景构建及交互式应用开发等场景中表现出色，在科学推理、网络安全和 AI 模型研发等前沿领域也取得显著进展。模型原生支持文本、图片和视频输入，提供 **1M tokens 上下文窗口**。

## 规格速览

| 规格 | Step 5 |
| :- | :- |
| **模型 ID** | `step-5` |
| **上下文窗口** | **1M tokens** |
| 输入类型 | 文本、图片、视频 |
| 输出类型 | 文本 |
| 最大输出 | **64K tokens** |

## 能力与场景

> [card] 编程与软件工程
>
> 覆盖多种编程语言和工程任务，配合工具完成问题排查、代码修改与测试编写。

> [card] 网页设计与交互式应用
>
> 理解视觉风格与交互需求，生成落地页、可视化页面、3D 场景和交互原型。

> [card] 多步骤 Agent 任务
>
> 通过应用提供的工具检索信息、处理文档，持续推进深度研究、分析报告和办公文档处理等多步骤工作。

> [card] 长上下文与多模态理解
>
> 在 1M tokens 上下文中结合长文档、图片和视频，完成跨文档问答、图表分析与视频总结。

## 图片与视频输入

| 项目 | 支持范围 |
| :- | :- |
| 图片传入方式 | URL 或 Base64 |
| 图片格式 | JPG/JPEG、PNG、WebP、静态 GIF |
| 单次数量 | 最多 60 张图片 |
| 图片细节级别 | `low`、`high` |
| 视频传入方式 | URL、Base64 或 Files API 的 `stepfile://` 引用 |
| 视频格式 | MP4、QuickTime、Matroska |
| URL 视频限制 | 单个 MP4 文件小于 128MB，时长建议小于 5 分钟 |

图片和视频请求示例见[快速开始](https://platform.stepfun.com/docs/zh/quickstart/overview.md)，完整限制见[图片理解](https://platform.stepfun.com/docs/zh/guides/developer/image-chat.md)和[视频理解](https://platform.stepfun.com/docs/zh/guides/developer/video-chat.md)。

## API 功能

| 功能 | 支持情况 | 使用指南 |
| :- | :- | :- |
| 流式输出 | 支持 | [流式输出](https://platform.stepfun.com/docs/zh/guides/developer/stream.md) |
| 工具调用 | 支持 | [工具调用](https://platform.stepfun.com/docs/zh/api-reference/tool-call.md) |
| 结构化输出 | 支持 JSON Mode 与 JSON Schema | [JSON Mode](https://platform.stepfun.com/docs/zh/guides/developer/json-mode.md) |
| 推理强度 | 支持 `low`、`medium`、`high`、`xhigh`、`max`；Chat Completions API 使用 `reasoning_effort`，Messages API 使用 `output_config.effort`，Responses API 使用 `reasoning.effort` | [推理模型](https://platform.stepfun.com/docs/zh/guides/developer/reasoning.md) |
| 提示缓存 | 支持 | [提示缓存](https://platform.stepfun.com/docs/zh/guides/developer/prompt-cache.md) |
| 输出长度 | `max_tokens` 上限为 64K | [Chat Completions API](https://platform.stepfun.com/docs/zh/api-reference/chat/chat-completion-create.md) |

## 开始使用

Step 5 支持 Chat Completions、Messages 和 Responses 三种 API 调用方式。

> [card] [快速开始](https://platform.stepfun.com/docs/zh/quickstart/overview.md)
>
> 查看文本、图片与视频请求示例。

> [card] [Chat Completions API](https://platform.stepfun.com/docs/zh/api-reference/chat/chat-completion-create.md)
>
> 查看完整请求参数与响应字段。

> [card] [Messages API](https://platform.stepfun.com/docs/zh/api-reference/chat/messages-create.md)
>
> 以兼容 Anthropic Messages API 的格式调用。

> [card] [Responses API](https://platform.stepfun.com/docs/zh/api-reference/responses/responses-create.md)
>
> 以兼容 OpenAI Responses API 的格式调用。

## 定价与限速

Step 5 按实际输入和输出 token 用量计费。输入与输出单价见 [API 定价](https://platform.stepfun.com/docs/zh/guides/pricing/details.md#文本与多模态模型)，账号限速见 [API 速率限制](https://platform.stepfun.com/docs/zh/guides/pricing/rate-limits.md)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.