# Step 5 Preview

> StepFun's next-generation flagship base model joins the catalog BYOK-only on AIHubMix, 1M-token context, 64K max output, text/image/video input, and adjustable reasoning at $1.08 / $3.0888 per million input / output tokens.

- Date: 2026-09-29
- HTML: https://anyrouter.dev/blog/releases/2026-09-29-step-5

## Models

- `stepfun/step-5-preview` (Step 5 Preview) — StepFun's flagship base model for real-world work, with a programming and professional-expertise focus. BYOK-only via AIHubMix.

## Notes

[`stepfun/step-5-preview`](https://anyrouter.dev/model/stepfun/step-5-preview) is StepFun's next-generation flagship base model, built for real-world tasks with a focus on programming and professional expertise. It runs a 1,000,000-token context window with a 64,000-token maximum output, and takes text, image, and video as input while answering in text, so it is a long-context analyst and coding model, not an image or video generator. Reasoning effort is selectable across `low`, `medium`, and `high` (default `medium`), alongside streaming, tool calling, and structured outputs.

- App code: [Vercel AI SDK](https://anyrouter.dev/use-cases/ai-sdk) or [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk).
- Coding agent: `anyr claude` / `anyr opencode` / `anyr codex` ([playbook](https://anyrouter.dev/use-cases/coding-agents)).
- No code: [playground](https://anyrouter.dev/playground?model=stepfun/step-5-preview).

Step 5 Preview is **BYOK-only**, served through [AIHubMix](https://aihubmix.com/model/step-5-preview). Add an AIHubMix key under [Dashboard → BYOK](https://anyrouter.dev/dashboard/byok) and the request goes out with your key. AnyRouter charges nothing for a BYOK route, and AIHubMix bills you at its published rate of $1.08 per million input tokens, $3.0888 per million output tokens, and $0.054 per million cached input tokens. There is no platform route yet: StepFun's earlier [Step 3.7 Flash](https://anyrouter.dev/model/stepfun-ai/step-3.7-flash) and [Step 3.5 Flash](https://anyrouter.dev/model/stepfun-ai/step-3.5-flash) rows already cover the BYOK options if you need those generations instead.

Try it with the [Vercel AI SDK](https://anyrouter.dev/use-cases/ai-sdk). `createAnyRouter()` reads `ANYROUTER_API_KEY`:

```ts
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"

const anyrouter = createAnyRouter()

const { text } = await generateText({
  model: anyrouter("stepfun/step-5-preview"),
  prompt: "Review this module and list the three riskiest refactors.",
})
console.log(text)
```

_generateText against the 1M context window._

Or launch a coding agent through the `anyr` CLI:

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr claude --model "stepfun/step-5-preview"
```

_Coding agents via the AnyRouter CLI._

More: [AI SDK](https://anyrouter.dev/use-cases/ai-sdk) · [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk) · [coding agents](https://anyrouter.dev/use-cases/coding-agents) · [BYOK setup](https://anyrouter.dev/use-cases/byok).
