Documentation Index
Fetch the complete documentation index at: https://platform.stepfun.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Stepfun models support both personal and enterprise use. Create an API key in the console and call with that key. For quick evaluation, you can also try models directly in the Experience Center.Model selection
Stepfun offers multiple model families. Choose the counterpart that best matches what you use today.Reasoning and multimodal models
step-3.7-flash: flagship multimodal reasoning model. Native image and video understanding, three reasoning effort levels (low/medium/high) — well-suited to agent, coding, and multimodal workloads.step-3.5-flash: flagship language reasoning model. Top-tier reasoning quality with fast, reliable execution — suitable for logical reasoning, math, software engineering, and deep research.
Image generation
step-image-edit-2: unified text-to-image and image-editing model; a single edit completes in 1-2 seconds.
API compatibility
Stepfun models are compatible with the OpenAI API spec. You can call them directly via the OpenAI SDK. If your app already uses an OpenAI SDK, migration requires minimal changes. Supported OpenAI-compatible APIs:- Chat Completion
- Upload file
- List files
- Retrieve file info
- Retrieve file content
- Delete file
- List models
- Retrieve a model
- Generate images
SDK migration guide
OpenAI Python SDK
Replaceapi_key with your Stepfun API key and add base_url="https://api.stepfun.ai/v1". Set the model name to a Stepfun model.
copy
OpenAI TypeScript SDK
ReplaceapiKey with your Stepfun API key and add baseURL: "https://api.stepfun.ai/v1". Set the model name to a Stepfun model.
copy
LangChain
When using LangChain, updateopenai_api_key, openai_api_base, and model_name in ChatOpenAI to switch to Stepfun.
copy
LangChain.js
For LangChain.js, updatemodelName, openAIApiKey, and basePath when initializing ChatOpenAI.