# Step 5 Preview

Step 5 Preview is StepFun’s flagship AI model for agentic coding, professional knowledge work, and financial analysis. Built on a sparse Mixture-of-Experts architecture with 600B total parameters and 27B active per token, it combines a 1M-token context window with vision input. From building interactive applications and debugging code to conducting research and producing analytical reports, it supports complex workflows that require sustained reasoning, tool use, and iterative refinement.

- **Model ID:** `stepfun/step-5-preview`
- **Type:** chat
- **Providers:** stepfun, deepinfra, tencent
- **Context window:** 1,048,576
- **Maximum output tokens:** 1,048,576
- **Pricing:** $1.00/1M input tokens, $2.70/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/step-5-preview

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { streamText } from 'ai'

const result = streamText({
  model: 'stepfun/step-5-preview',
  prompt: 'Why is the sky blue?'
})
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/step-5-preview)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://www.stepfun.com/step-5-preview)
- [Provider pricing](https://platform.stepfun.ai/docs/en/guides/pricing/details)
