Skip to content
Dashboard

Step 5 now available on AI Gateway

Step 5 from StepFun is now available on AI Gateway.

Step 5 is built for agentic work: writing, debugging, and testing code, research and long reports, web design, and interactive applications, using tools from your application to carry long tasks through to completion. Step 5 completes complex tasks with fewer tokens than Step 5 Preview, and adds video input alongside text and images with a 1M token context window.

Use stepfun/step-5 as the model name:

import { streamText } from 'ai';
const result = streamText({
model: 'stepfun/step-5',
prompt: 'Write a TypeScript function that debounces another function.',
});
for await (const text of result.textStream) {
process.stdout.write(text);
}

To use it in Claude Code, Codex, Cursor, and more, install the latest Vercel CLI and run setup:

npx vercel ai-gateway setup

Then select stepfun/step-5 in the agent. See the coding agents guide for details.

Try Step 5 in the model playground.

AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, Zero Data Retention support, budgets for API keys, routing rules, and more.

AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.

You can view all language models available on AI Gateway.