Best for coding
Good code quality, debugging and technical explanation.
Model · StepFun
Step 5 Preview is served by StepFun through OpenRouter. It provides 1M tokens of context and supports text, vision, video inputs.
| Provider | StepFun |
| OpenRouter ID | stepfun/step-5-preview |
| Modalities | Text, Vision, Video |
| Best for | Agents, Coding, Multimodal |
openrouter.ai/api/v1/models Verified 2026-10-10 Drift-checked daily 06:00 CST Best for coding
Good code quality, debugging and technical explanation.
Best multimodal
Handles images, files, audio or video inputs.
Best for agents
Tool use, structured output and multi-step reasoning.
These examples use the 2026-10-10 input and output prices. Cache discounts, provider surcharges and tool fees are excluded.
| Workload | Input | Output | Estimated cost |
|---|---|---|---|
| Quick test | 20,000 | 5,000 | $0.034 |
| Product chat month | 500,000 | 125,000 | $0.838 |
| Document batch | 5,000,000 | 1,000,000 | $7.70 |
Run these examples from your server or edge function. Keep the OpenRouter API key private and do not expose it in browser code.
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "stepfun/step-5-preview",
"messages": [{ "role": "user", "content": "Summarize this document in five bullet points." }],
"max_tokens": 500
}' const response = await fetch("https://openrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.OPENROUTER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "stepfun/step-5-preview",
messages: [{ role: "user", content: "Summarize this document in five bullet points." }],
max_tokens: 500,
}),
});
const data = await response.json();
console.log(data.choices[0].message.content); Compare models View on OpenRouter ↗
Step 5 Preview is a StepFun model available through OpenRouter. It supports text, vision, video inputs and is suited for agents, coding, multimodal workloads.
The 2026-10-10 snapshot lists $1.00 per 1M input tokens and $2.70 per 1M output tokens. Verify current pricing on OpenRouter before production.
Step 5 Preview offers 1M tokens of context in the current snapshot. Provider-specific limits and surcharges may apply.
Pricing and context data are based on a 2026-10-10 snapshot. Provider limits can change; always verify on OpenRouter before production.