Vercel — AI · · 1 min read

Step 5 Preview now available on AI Gateway

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

Step 5 Preview, StepFun's flagship model, is now available on AI Gateway. It's built for agentic coding, professional knowledge work, and financial analysis, from building apps and debugging code to research and analytical reports.

Step 5 Preview supports text and image input with a 1M-token context window, allowing you to work with large codebases, a stack of documents, or screenshots and charts in a single request.

Use stepfun/step-5-preview as the model name:

API
APIfxClaude CodeChat Completions
import { streamText } from 'ai';
const result = streamText({
model: 'stepfun/step-5-preview',
prompt: 'Plan a dashboard for analyzing quarterly financial results.',
for await (const text of result.textStream) {
process.stdout.write(text);

For other coding agents such as Claude Code, Codex, Cursor, and more, install the latest Vercel CLI and run setup:

npm i -g vercel@latest
vercel ai-gateway setup

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

Try Step 5 Preview 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.

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI