APIMart
Back to all models

Step 3.7 Flash API

StepFunModel ID step-3.7-flashText modelReleased May 29, 2026

Use Step 3.7 Flash to read an error from a screenshot and suggest the fix, plan the searches for a research question, or decide an agent’s next tool call from a failing CI log.

Max input
262,144 tokens
Max output
131,072 tokens
Input → output
Text, Image, Video → Text
  • Image input
  • Streaming
  • Cached input pricing
  • OpenAI SDK compatible

Step 3.7 Flash API use cases

Each use case comes with an illustrative example: source material, a prompt and a hand-written sample answer, not actual model output. Copy the prompt, swap in your own material and try it on Step 3.7 Flash.

Try Step 3.7 Flash with your own material

Errors from screenshots

Send a screenshot of an error dialog or terminal with a line about what you were doing, and have Step 3.7 Flash read the error and suggest the fix. Run the fix and check the error is gone.

Example: What does this error screenshot mean?

Material

Screenshot (terminal)
$ python sync.py Traceback (most recent call last): File "sync.py", line 3, in <module> import yaml ModuleNotFoundError: No module named 'yaml'
Note
Worked yesterday; today I created a new virtual environment.

PromptRead the error in the screenshot and give the most likely cause and the fix.

Sample answer · written by hand to show the reasoning

The new virtual environment does not have the YAML library installed. The package that provides import yaml is called PyYAML, so run pip install pyyaml inside the activated environment, then run python sync.py again. Add pyyaml to requirements.txt so the next new environment gets it too.

About the Step 3.7 Flash API

  • Built for real-world agents

    StepFun released Step 3.7 Flash on May 29, 2026 as a high-efficiency Flash model for agents, with about 11B active parameters and output of up to about 400 tokens per second.

  • Reads images and video

    Native image and video understanding, with visual search, Python tool use and phone GUI operation added over Step 3.5 Flash. The context window is 256K tokens.

  • Open weights under Apache-2.0

    A 198B-parameter mixture-of-experts model published on Hugging Face in BF16, FP8 and NVFP4 builds. Reasoning effort can be set to low, medium or high.

  • Step 3.7 Flash API key and access

    You don’t need a separate Step 3.7 Flash API key: one APIMart key works for every model. Check the Step 3.7 Flash API pricing table on this page, then call the step-3.7-flash API through an OpenAI Chat Completions-compatible endpoint.

Step 3.7 Flash official benchmark results

Selected results StepFun published at launch.

  • SWE-Bench Pro

    56.3

    Real software engineering tasks. Up from 51.3 for Step 3.5 Flash and ahead of Gemini 3.5 Flash (55.1); GPT-5.5 scores 58.6.

  • BrowseComp

    75.8

    Finding hard-to-locate facts by browsing. Up from 69.0 for Step 3.5 Flash and ahead of DeepSeek V4 Flash (73.2); Claude Opus 4.7 scores 79.3.

  • ClawEval v1.1 (pass^3)

    67.1

    Agent tasks, counted only when all three runs succeed. Ahead of Kimi K2.6 and GLM-5.1 (62.3) and DeepSeek V4 Pro (59.8); Step 3.5 Flash scored 43.6.

  • Toolathlon

    49.5

    Multi-step tasks across many real tools. Up from 33.3 for Step 3.5 Flash; Gemini 3.5 Flash scores 56.5.

  • AA-LCR

    63.9

    Reasoning over long documents. Up from 45.5 for Step 3.5 Flash and level with DeepSeek V4 Flash (63.7); GPT-5.5 scores 74.3.

  • SimpleVQA (with visual search)

    79.16

    Answering factual questions about images. Ahead of GLM-5V-Turbo (78.20).

How to call the Step 3.7 Flash API

To call Step 3.7 Flash, you only need an APIMart API key and your existing OpenAI SDK, or send plain HTTP requests.

POST /v1/chat/completions
curl https://api.apimart.ai/v1/chat/completions \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "step-3.7-flash",
  "messages": [
    {
      "role": "user",
      "content": "Describe how to design a clear API in three sentences."
    }
  ],
  "stream": false
}'

Step 3.7 Flash access details

Model IDstep-3.7-flash
Base URLhttps://api.apimart.ai/v1
Endpoint/chat/completions

Common parameters

model
Required
messages
Required
stream
Optional
max_tokens
Optional
temperature
Optional
All request parameters, response fields and error codes

Step 3.7 Flash API request parameters

Step 3.7 Flash uses the general chat endpoint, POST /v1/chat/completions, with a JSON body. model and messages are required; every other parameter is optional.

ParameterTypeRequiredDescription
modelstringYesModel ID. Use step-3.7-flash for this model.
messagesarrayYesConversation messages. Each message has a role (system, user, or assistant) and content. Include earlier messages for multi-turn conversations.
streambooleanNoWhether to stream the output. true returns chunks over SSE, false returns the full response at once. Default: true.
temperaturenumberNoOutput randomness, 0–2. Default: 1.0. Lower values give more deterministic output.
top_pnumberNoNucleus sampling, 0–1. Default: 1.0. Adjust this or temperature, not both.
max_tokensintegerNoMaximum number of tokens to generate for the reply.
frequency_penaltynumberNoFrequency penalty, -2.0 to 2.0. Default: 0. Positive values reduce repeated wording.
presence_penaltynumberNoPresence penalty, -2.0 to 2.0. Default: 0. Positive values encourage new topics.
stopstring | arrayNoUp to 4 stop sequences. Generation stops when any of them appears.
nintegerNoNumber of replies to generate. Default: 1.

Response fields

The response contains the fields below. Token usage is returned in usage, which you can use to check costs.

FieldTypeDescription
idstringUnique identifier for the request.
modelstringThe model that handled the request.
choicesarrayList of replies. Each item contains message (role and content) and finish_reason.
usageobjectToken usage: prompt_tokens, completion_tokens, and total_tokens.

Error codes

Failed requests return an error object with code, message, and type.

StatusTypeMeaning
400invalid_request_errorInvalid request parameters.
401authentication_errorThe API key is invalid or missing.
402payment_requiredInsufficient account balance.
403permission_errorNo permission to access this resource.
429rate_limit_errorToo many requests. Retry later.
500server_errorInternal server error.
502bad_gatewayGateway error. The service is temporarily unavailable.

Step 3.7 Flash API pricing

The Step 3.7 Flash API is billed by token usage, and prices depend on your membership tier. Prices below are per million tokens; 1 US dollar = 10 credits.

ItemGoldCurrent pricePlatinumDiamondOfficial priceYou save
Input1.5424Credits~$0.15421.4653Credits~$0.14651.3882Credits~$0.13881.928Credits~$0.192820%
Cached input0.3085Credits~$0.03080.2931Credits~$0.02930.2776Credits~$0.02780.3856Credits~$0.038620%
Output9.2544Credits~$0.92548.7917Credits~$0.87928.329Credits~$0.832911.568Credits~$1.156820%

Prices are for reference only. View full pricing

Why call Step 3.7 Flash API through APIMart

  • 20% below official pricing

    Step 3.7 Flash API pricing is billed by token usage. Gold to Diamond member prices are 20%–28% below StepFun's official prices, and cached input costs just $0.0308 per 1M tokens.

    See membership prices
  • One API key for 500+ models

    Step 3.7 Flash, the rest of its family and 500+ models from GPT, Claude, Gemini and more share one API key and one account balance. Switching models is just a change to the model parameter.

  • Change two lines of existing code

    If you already use the OpenAI SDK, point base_url at https://api.apimart.ai/v1 and swap in your APIMart API key. Requests and responses keep the same format.

  • Try it online before you code

    Try Step 3.7 Flash with your own material in the Playground, no code or setup needed, and integrate once you like the results.

    Open Playground

Step 3.7 Flash FAQ

What changed from Step 3.5 Flash to Step 3.7 Flash?

Step 3.7 Flash adds native image and video input to the fast reasoning and tool calling of Step 3.5 Flash, plus visual search, Python tool use and phone GUI operation. In StepFun’s published results it rises from 51.3 to 56.3 on SWE-Bench Pro, from 33.3 to 49.5 on Toolathlon and from 69.0 to 75.8 on BrowseComp. Both have a 256K-token context window.

My code still calls step-3. What should I change?

StepFun retired step-3 on its own platform on July 8, 2026 and named step-3.7-flash as its replacement. On APIMart, set the model parameter to step-3.7-flash; the endpoint and API key stay the same. Step 3.7 Flash reasons before it answers, so test your prompts again and leave room for the extra latency.

How do I control reasoning on Step 3.7 Flash?

Use reasoning_effort with low, medium or high. StepFun recommends medium as the default; low is the fastest setting, and high is for the hardest problems. StepFun’s docs do not describe a switch that turns reasoning off completely. Requests with images or video also reason before answering and can take longer, so set client timeouts with that in mind.

Step 3.7 Flash has open weights. Why call it through an API?

StepFun published the weights under Apache-2.0 on Hugging Face in BF16, FP8 and NVFP4 builds, plus GGUF files for its llama.cpp branch, and says local use needs at least 128GB of unified memory. Through the API you pay per token with no hardware and can switch to other models with the same key. Self-hosting makes sense when data must stay on your own machines or usage is high and steady.

Why is the APIMart output limit different from StepFun’s documentation?

StepFun publishes the 256K-token context window for Step 3.7 Flash but not a fixed output limit, and input plus output must fit within the context. For calls through APIMart, use the limit shown on this page: 131,072 tokens per request.

How can I try this model online?

Click Start chatting or Open Playground to visit the existing APIMart Playground. Select Step 3.7 Flash in the text category to start exploring.

Which model ID does the Step 3.7 Flash API use?

Set model to step-3.7-flash. Copy the exact ID from the page heading or the integration details panel.

Is it compatible with the OpenAI SDK?

You can keep the OpenAI SDK. Set base_url to https://api.apimart.ai/v1, provide your APIMart API key, and use the model ID on this page.

What is the context window of Step 3.7 Flash?

On APIMart, Step 3.7 Flash accepts up to 262,144 input tokens per request. Your prompt, earlier messages, and file content all count toward it.

How many tokens can it output at once?

Step 3.7 Flash can output up to 131,072 tokens in a single reply. Use the max_tokens parameter to set a lower limit.

How much does the Step 3.7 Flash API cost?

The Step 3.7 Flash API on APIMart is billed by token, and prices depend on your membership tier. Gold: $0.1542 per million input tokens and $0.9254 per million output tokens. Diamond: $0.1388 per million input tokens and $0.8329 per million output tokens. Prices may change; the pricing page has the current rates.

Does it support streaming?

Yes. The general chat endpoint streams over SSE by default. Set stream to false to receive the complete response at once.

How do I get an API key?

Sign in to APIMart and create a key on the API Keys page, then send it in the Authorization: Bearer header. The same key also works for other models on the platform.