Step 3.7 Flash
VisionReasoningTool use
StepFun AI's flagship high-efficiency multimodal reasoning model on a sparse Mixture-of-Experts architecture (198B total, ~11B active) with a 256K context window, selectable reasoning effort, native image understanding, and multi-step function calling.
Model id — paste this in your code
stepfun/step-3.7-flashPricing · per 1M tokens
Show prices in
Input60 DA$0.24
Output345 DA$1.38
Cached input12 DA$0.048
Context window262KMax output: 256K
Capabilities
- Vision — Understands images and documents you send
- Reasoning — Thinks step by step before answering
- Tool use — Can call your functions / tools
Estimate your cost
Estimated cost
Use this model
Create an account, top up in dinars and call it with your key:
from openai import OpenAI
client = OpenAI(
base_url="https://dzrouter.com/v1",
api_key="sk-dz-…",
)
reply = client.chat.completions.create(
model="stepfun/step-3.7-flash",
messages=[{"role": "user", "content": "Salam!"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://dzrouter.com/v1",
apiKey: process.env.DZROUTER_API_KEY,
});
const reply = await client.chat.completions.create({
model: "stepfun/step-3.7-flash",
messages: [{ role: "user", content: "Salam!" }],
});
console.log(reply.choices[0].message.content);curl https://dzrouter.com/v1/chat/completions \
-H "Authorization: Bearer $DZROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "stepfun/step-3.7-flash",
"messages": [{"role": "user", "content": "Salam!"}],
"stream": true
}'from anthropic import Anthropic
client = Anthropic(
base_url="https://dzrouter.com",
api_key="sk-dz-…",
)
msg = client.messages.create(
model="stepfun/step-3.7-flash",
max_tokens=1024,
messages=[{"role": "user", "content": "Salam!"}],
)
print(msg.content[0].text)Start building with AI today
Create your account, top up from 500 DA and send your first request in minutes.
Create a free account