[KongchangAI]
· 2 min read· 1,226 words

StepFun Step 5 Lands on AI Gateway: Built for Agentic Coding and Video Understanding

StepFun Step 5 Lands on AI Gateway: Built for Agentic Coding and Video Understanding

StepFun Step 5 lands on Vercel AI Gateway, built for agentic coding and long tasks.

Vercel's AI Gateway now hosts StepFun's Step 5 (stepfun/step-5), positioned for agentic work: code writing, debugging, and testing, long-form research, and web/interactive app development with tool calling. It uses fewer tokens than Preview, adds video input with a 1M token context window, and can be called via AI SDK's streamText or configured in Claude Code and Cursor. AI Gateway offers a unified API with usage tracking, retries, and failover, billing at provider prices with no markup or platform fee, plus BYOK support.

Vercel's AI Gateway has announced that StepFun's Step 5 model is now officially available on the platform. The model has a clear positioning—built for "agentic work"—covering writing, debugging, and testing code, research and long-form report writing, web design and interactive application development, and the ability to call tools within applications to drive long tasks to completion. For developers building agent workflows, this means one more option callable under a unified API.

Step 5 now available on AI Gateway

The Capability Boundary of Step 5: From Code to Long Tasks

Step 5's core scenarios revolve around "getting complex tasks done." The official description notes that it can call application-side tools while writing, debugging, and testing code, and can also support research-oriented long reports, web design, and interactive application development. This versatility across code and non-code tasks is a key dimension of competition among current agent-class models.

Compared with Step 5 Preview, Step 5 consumes fewer tokens when completing complex tasks. This optimization is especially important for long tasks, because agent workflows often require multiple rounds of tool calls and context accumulation—token efficiency directly affects cost and response speed.

Agent-class models refer to language models specially trained or optimized to autonomously plan and call external tools (such as code executors, search APIs, and application interfaces) across multi-turn interactions to achieve goals. Unlike traditional one-shot Q&A models, agent models emphasize "task completion" rather than "single-turn answers," and typically require strong instruction following, function calling/tool use, and long-horizon reasoning capabilities. Step 5's positioning as "built for agentic work" means its training objectives lean toward maintaining state in complex workflows, judging when to call tools, and integrating tool results—precisely the new focus of competition among current model vendors.

Multimodality and Long Context: Video Input Added

Step 5 adds video input capability beyond text and images, and comes with a 1M token context window. The million-scale context combined with video modality enables it to handle tasks requiring understanding and reasoning across long-duration material, such as research analysis based on video content or dynamic input processing in interactive applications.

This combination is a relatively high configuration among both open-source and closed-source models—especially the pairing of video input with a million-token context, which provides the foundation for agent scenarios that need to process rich-media, long-form material.

Context window refers to the upper limit of total tokens a model can receive and process in a single call, including input prompts, conversation history, and tool return content. A 1M token context window means the model can read roughly hundreds of thousands of characters of text or equivalent multimodal material in one go, thereby avoiding frequent truncation and loss of summarization in long tasks. For agent workflows, a large context can significantly reduce information loss across multiple rounds of tool calls, but it also brings challenges in inference cost and latency—so token efficiency (such as Step 5's optimization relative to Preview) is just as important as a large window.

How to Call It in Your Development Environment

AI Gateway provides a unified way to call Step 5, with the model name stepfun/step-5. In the AI SDK, you can use streamText to directly specify the model and stream the output; the example code demonstrates generating a TypeScript debounce function.

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);
}

For coding agents such as Claude Code, Codex, and Cursor, users need to install the latest version of the Vercel CLI and run npx vercel ai-gateway setup to complete initialization, then select stepfun/step-5 in the agent. The official model playground is also available for direct trials.

Vercel AI SDK is an open-source TypeScript toolkit that provides unified interfaces such as streamText and generateText, enabling developers to switch models without writing different SDK code for each model vendor. streamText supports streaming output, making it suitable for scenarios requiring real-time feedback such as chat and code generation. AI Gateway is a managed service layer on top of this, responsible for routing, authentication, usage tracking, and failover. Developers only need to specify a model string (such as stepfun/step-5), and the gateway automatically forwards requests to the corresponding provider. This "unified API + gateway" model lowers the integration cost of combining multiple models.

The Value of AI Gateway: Unified API and Cost Transparency

AI Gateway's positioning is to provide a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimization to improve availability beyond any single provider. The platform also includes custom reports, zero data retention support, API key budgets, routing rules, and more.

On pricing, AI Gateway reflects provider prices without markup and charges no platform fee for inference, including bring-your-own-key (BYOK) requests. For teams that need multi-model combinations while keeping costs under control, this transparent billing approach lowers the barrier to entry.

Step 5's integration completes AI Gateway's capability coverage in agentic coding and video understanding. Developers can now combine Step 5 with other language models on the platform under the same API, choosing the most suitable model based on task characteristics.

BYOK (Bring Your Own Key) means users use their own API keys obtained from model providers and route requests through the gateway. In this mode, AI Gateway does not charge an additional inference platform fee—it only provides value-added features such as routing, monitoring, and failover, while billing is settled at the provider's original price. For teams that already have provider contracts or want to manage keys directly, BYOK avoids duplicate charges and maintains cost transparency. Combined with the "no markup, no platform fee" pricing strategy, AI Gateway essentially positions itself as an infrastructure layer rather than a resale layer—particularly important for cost-sensitive teams that need multi-model combinations.

Use Cases and Selection Advice

If your team's workflow involves heavy code generation and debugging and also requires models to call external tools to complete multi-step tasks, Step 5's token efficiency and tool-calling capabilities are worth evaluating. For research-oriented tasks that need to process video material or ultra-long documents, the 1M context and video input open up new possibilities.

For teams already using AI Gateway, switching costs are low—just replace the model name with stepfun/step-5. For developers who haven't yet integrated, you can start by testing in the model playground, then decide whether to integrate it into coding agents or production workflows.

One-line Summary

StepFun Step 5 is now available on Vercel AI Gateway, built for agentic coding and long tasks.

Paragraph Summary

Vercel's AI Gateway has announced the integration of StepFun's Step 5 model, named stepfun/step-5, positioned for "agentic work" and covering code writing, debugging, and testing, long-form report research, web and interactive application development, and the ability to call application tools to drive long tasks forward. Compared with Step 5 Preview, Step 5 consumes fewer tokens when completing complex tasks. The model adds video input and comes with a 1M token context window, supporting rich-media long-form material processing. Developers can call it via the AI SDK's streamText, or configure it in coding agents such as Claude Code and Cursor via the Vercel CLI. AI Gateway provides a unified API, usage tracking, retries, and failover, bills at provider prices without markup or inference platform fees, and supports BYOK—lowering the barrier to entry for multi-model combinations.

#StepFun Step 5#Vercel AI Gateway#agentic coding#video understanding#1M token context#AI SDK#BYOK
Share:

Related articles