Base URL, method, and required headers are rendered from the active protocol template for this model.

Step 3.5 Flash
stepfun/step-3.5-flash
StepFun’s most capable open-source foundation model, built on a sparse MoE architecture that activates only 11B of its 196B parameters per token. It delivers efficient reasoning and fast performance, even with long contexts.
Modality
Input / Output Pricing
$0.1 / $0.3M tokens
Context
256000
Release date
2026-01-29
Pricing
| Specification | Price |
|---|---|
| Input | $0.1/ M tokens |
| Output | $0.3/ M tokens |
| Cache read | -- |
| Cache write | -- |
Quick Start
Paste and run the sample code below. The Gate.AI API is OpenAI-compatible—most SDKs only need a new base URL. To switch models, change the model ID.
1
Get your API key
Sign in to the Gate.AI console and create a new key under "API Keys". Keep it safe and send it via the Authorization header on every request.
Create a key in the console2
Make a request
Send a POST request to the Chat Completions endpoint with a model ID and an array of messages to get a reply.
POSThttps://api.gate.ai/openai/v1/chat/completions
curl --location "https://api.gate.ai/openai/v1/chat/completions" \
--header "Authorization: Bearer {API_KEY}" \
--header "Content-Type: application/json" \
--data '{
"model": "step-3.5-flash",
"messages": [
{"role": "user", "content": "Hello"}
]
}'3
Handle the response \\\\\& streaming
By default a full JSON response is returned. Add "stream": true to the request body to receive incremental chunks over SSE.
POSThttps://api.gate.ai/openai/v1/chat/completions
curl --no-buffer --location "https://api.gate.ai/openai/v1/chat/completions" \
--header "Authorization: Bearer {API_KEY}" \
--header "Content-Type: application/json" \
--data '{
"model": "step-3.5-flash",
"messages": [
{"role": "user", "content": "Hello"}
],
"stream": true
}'Endpoint
POSThttps://api.gate.ai/openai/v1/chat/completions
Field
Value
Authorization
Authentication header containing the API key in the format Bearer {API_KEY}
Content-Type
Request content type, fixed to application/json
model
Model ID; the current model is step-3.5-flash
messages
Ordered array of conversation messages
stream
Whether to return the result as an SSE stream