We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

StepFun: Step 5 Preview

stepfun/step-5-preview
TextInput: text · image · videoToolsReasoning1MAdded Oct 8, 2026

Try StepFun: Step 5 Preview now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

StepFun: Step 5 Preview at a glance

  • Input price is 122% higher than the median of 434 Text models.
  • Context window of 1,048,576 tokens, enough for long documents and multi-turn conversations.
  • Supports tool (function) calling for agents and integrations.
  • Supports structured JSON output with a schema.
  • Supports reasoning effort control.
  • Accepts images as input (vision).
  • A typical request (1,000 input / 500 output tokens) costs about $0.00823.

About StepFun: Step 5 Preview

StepFun: Step 5 Preview is a text generation model from StepFun, released by the provider on 2026-10-08. It is described as StepFun's flagship model for agentic work, built on a sparse Mixture-of-Experts architecture with 27B active parameters out of 600B total. The model sits in the text category and is aimed at demanding, tool-driven workloads rather than simple chat alone.

The model accepts text, image and video as input, and produces text as output. Its context window is 1,000,000 tokens, and it can generate up to 64,000 output tokens in a single response. That combination suits tasks where large amounts of source material must be considered at once, whether that material is written documents, screenshots, or video footage, with a long written answer or artifact at the end.

Because Step 5 Preview performs strongly in software engineering and professional tasks, per StepFun's own description, natural uses include codebase analysis over many files, repository-level refactoring and review, and agentic workflows where the model calls tools across multiple steps. The image and video input support extends this to use cases such as inspecting UI screenshots alongside code, reviewing recorded product flows, or extracting structured information from visual material. The large context window also makes it a reasonable fit for long-document analysis, research synthesis, and multi-hour transcript or log review where the whole corpus needs to stay in view.

Through api14's OpenAI-compatible API, you call the model with the id "stepfun/step-5-preview". The supported request parameters are frequency_penalty, include_reasoning, logprobs, max_tokens, reasoning, reasoning_effort, response_format, stop, structured_outputs, temperature, tools, top_logprobs and top_p. In practice this covers sampling control (temperature, top_p, frequency_penalty, stop), output length (max_tokens), tool calling for agentic loops, structured and JSON-style output (response_format, structured_outputs), and reasoning controls (reasoning, reasoning_effort, include_reasoning) with log probability inspection via logprobs and top_logprobs. Developers already using the OpenAI SDK or client can point it at api14 and switch the model id without changing their request shapes.

Worth noting is that the model outputs text only, so tasks requiring generated images, audio or video fall outside its scope, and the "preview" label on the model id suggests treating it as a moving target rather than a frozen release. If you need a smaller, cheaper or faster model for simple classification or short chat, a lighter text model on api14 may fit better, while Step 5 Preview is best reserved for the long-context, tool-heavy and multimodal-input jobs it was built for.

How to call the StepFun: Step 5 Preview API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "stepfun/step-5-preview".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "stepfun/step-5-preview",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

Specifications

Context length
1,048,576
Max output
64,000
Input
text, image, video
Output
text

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

StepFun: Step 5 Preview: frequently asked questions

How much does the StepFun: Step 5 Preview API cost?
StepFun: Step 5 Preview costs Input $3.50 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of StepFun: Step 5 Preview?
StepFun: Step 5 Preview reads up to 1,048,576 tokens per request: prompt, history and documents together. It writes up to 64,000 output tokens per response.
What can StepFun: Step 5 Preview do?
StepFun: Step 5 Preview accepts text, image, video and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call StepFun: Step 5 Preview from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "stepfun/step-5-preview". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to StepFun: Step 5 Preview?
Comparable Text models at a similar price: SpaceXAI: Grok 4.3, SpaceXAI: Grok 4.20 Multi-Agent, SpaceXAI: Grok 4.20. Each runs through the same API key, so switching is one string.

StepFun: Step 5 Preview community

New topic

This community has no topics yet. Open the first one about StepFun: Step 5 Preview.