stepfun-ai/Step-3.5-Flash
- License
- apache-2.0
- Size
- not mirrored yet
No official torrent yet — requesting it tells the flock what to host next. You cannot seed a catalog-only page.
Cataloged from stepfun-ai/Step-3.5-Flash
All models by stepfun-ai →No official torrent yet — requesting it tells the flock what to host next. You cannot seed a catalog-only page.
Cataloged from stepfun-ai/Step-3.5-Flash
All models by stepfun-ai →Step 3.5 Flash (visit website) is our most capable open-source foundation model, engineered to deliver frontier reasoning and agentic capabilities with exceptional efficiency. Built on a sparse Mixture of Experts (MoE) architecture, it selectively activates only 11B of its 196B parameters per token. This "intelligence density" allows it to rival the reasoning depth of top-tier proprietary models, while maintaining the agility required for real-time interaction.
Deep Reasoning at Speed: While chatbots are built for reading, agents must reason fast. Powered by 3-way Multi-Token Prediction (MTP-3), Step 3.5 Flash achieves a generation throughput of 100–300 tok/s in typical usage (peaking at 350 tok/s for single-stream coding tasks). This allows for complex, multi-step reasoning chains with immediate responsiveness.
A Robust Engine for Coding & Agents: Step 3.5 Flash is purpose-built for agentic tasks, integrating a scalable RL framework that drives consistent self-improvement. It achieves 74.4% on SWE-bench Verified and 51.0% on Terminal-Bench 2.0, proving its ability to handle sophisticated, long-horizon tasks with unwavering stability.
Efficient Long Context: The model supports a cost-efficient 256K context window by employing a 3:1 Sliding Window Attention (SWA) ratio—integrating three SWA layers for every full-attention layer. This hybrid approach ensures consistent performance across massive datasets or long codebases while significantly reducing the computational overhead typical of standard long-context models.
Accessible Local Deployment: Optimized for accessibility, Step 3.5 Flash brings elite-level intelligence to local environments. It runs securely on high-end consumer hardware (e.g., Mac Studio M4 Max, NVIDIA DGX Spark), ensuring data privacy without sacrificing performance.
Step 3.5 Flash delivers performance parity with leading closed-source systems while remaining open and efficient.
[Image blocked: No description]
Performance of Step 3.5 Flash measured across Reasoning, Coding, and Agentic Abilities. Open-source models (left) are sorted by their total parameter count, while top-tier proprietary models are shown on the right. xbench-DeepSearch scores are sourced from official publications for consistency. The shadowed bars represent the enhanced performance of Step 3.5 Flash using Parallel Thinking.
Notes:
temperature=0.6, top_p=0.95temperature=1.0, top_p=0.95.Step 3.5 Flash is built on a Sparse Mixture-of-Experts (MoE) transformer architecture, optimized for high throughput and low VRAM usage during inference.
Unlike traditional dense models, Step 3.5 Flash uses a fine-grained routing strategy to maximize efficiency:
To improve inference speed, we utilize a specialized MTP Head consisting of a sliding-window attention mechanism and a dense Feed-Forward Network (FFN). This module predicts 4 tokens simultaneously in a single forward pass, significantly accelerating inference without degrading quality.
You can get started with Step 3.5 Flash in minutes using Cloud API via our supported providers.
Sign up at OpenRouter or platform.stepfun.ai, and grab your API key.
OpenRouter now offers free trial for Step 3.5 Flash.
Install the standard OpenAI SDK (compatible with both platforms).
Note: OpenRouter supports multiple SDKs. Learn more here.
This example shows starting a chat with Step 3.5 Flash.
Step 3.5 Flash is optimized for local inference and supports industry-standard backends including vLLM, SGLang, Hugging Face Transformers and llama.cpp.
We recommend using the latest nightly build of vLLM.
Note: Full MTP3 support is not yet available in vLLM. We are actively working on a Pull Request to integrate this feature, which is expected to significantly enhance decoding performance.
You can also refer to the Step-3.5-Flash recipe.
Use this snippet for quick functional verification. For high-throughput serving, use vLLM or SGLang.
the folder
Step-3.5-Flash/tree/main/llama.cppis obsolete
It's straightforward to add Step 3.5 Flash to the list of models in most coding environments. See below for the instructions for configuring Claude Code and Codex to use Step 3.5 Flash.
Sign up at StepFun.ai or OpenRouter and grab an API key, as mentioned in the Quick Start.
Claude Code and Codex rely on Node.js. We recommend installing Node.js version > v20. You can install Node via nvm.
Mac/Linux:
Windows:
You can download the installation file (nvm-setup.exe) from https://github.com/coreybutler/nvm-windows/releases. Follow the instructions to install nvm. Run nvm commands to make sure it is installed.
To accommodate diverse workflows in Claude Code, we support both Anthropic-style and OpenAI-style APIs.
Option A: Anthropic API style:
If you intend to use the OpenRouter API, refer to the OpenRouter integration guide.
Step 1: Edit Claude Settings. Update ~/.claude/settings.json.
You only need to modify the fields shown below. Leave the rest of the file unchanged.
Step 2: Start Claude Code.
Save the file, and then start Claude Code. Run /status to confirm the model and base URL.
Option B: OpenAI API style
Note: OpenAI API style here refers to the
chat/completions/format.
We recommend using
claude-code-router. For details, see https://github.com/musistudio/claude-code-router.
After Claude Code is installed, install claude-code-router :
Add the following configurations to ~/.claude-code-router/config.json.
You can now start Claude Code:
~/.codex/config.toml, keeping the rest of the settings as they are.For Codex, wire_api only supports chat . If you use the responses mode, you'll need to change to chat. Please also switch model_provider to the newly configured stepfun-chat.
When finishing the configuration, run codex in a new Terminal window to start Codex. Run /status to check the configuration.
MODEL_NAME to Step-3.5-Flash. https://github.com/stepfun-ai/StepDeepResearch?tab=readme-ov-file#1-environment-setupWe view our roadmap as a living document, evolving continuously based on real-world usage and developer feedback. As we work to shape the future of AGI by expanding broad model capabilities, we want to ensure we are solving the right problems. We invite you to be part of this continuous feedback loop—your insights directly influence our priorities.
If you find this project useful in your research, please cite our technical report:
This project is open-sourced under the Apache 2.0 License.
pip install --upgrade "openai>=1.0"from openai import OpenAI
client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.stepfun.ai/v1", # or "https://openrouter.ai/api/v1" # Optional: OpenRouter headers for app rankings default_headers={ "HTTP-Referer": "<YOUR_SITE_URL>", "X-Title": "<YOUR_SITE_NAME>", })
completion = client.chat.completions.create( model="step-3.5-flash", # Use "stepfun/step-3.5-flash" for OpenRouter messages=[ { "role": "system", "content": "You are an AI chat assistant provided by StepFun. You are good at Chinese, English, and many other languages.", }, { "role": "user", "content": "Introduce StepFun's artificial intelligence capabilities." }, ],)
print(completion.choices[0].message.content)# via Dockerdocker pull vllm/vllm-openai:nightly
# or via pip (nightly wheels)pip install -U vllm --pre \ --index-url https://pypi.org/simple \ --extra-index-url https://wheels.vllm.ai/nightlyvllm serve <MODEL_PATH_OR_HF_ID> \ --served-model-name step3p5-flash \ --tensor-parallel-size 8 \ --enable-expert-parallel \ --disable-cascade-attn \ --reasoning-parser step3p5 \ --enable-auto-tool-choice \ --tool-call-parser step3p5 \ --hf-overrides '{"num_nextn_predict_layers": 1}' \ --speculative_config '{"method": "step3p5_mtp", "num_speculative_tokens": 1}' \ --trust-remote-code \ --quantization fp8vllm serve <MODEL_PATH_OR_HF_ID> \ --served-model-name step3p5-flash \ --tensor-parallel-size 8 \ --enable-expert-parallel \ --disable-cascade-attn \ --reasoning-parser step3p5 \ --enable-auto-tool-choice \ --tool-call-parser step3p5 \ --hf-overrides '{"num_nextn_predict_layers": 1}' \ --speculative_config '{"method": "step3p5_mtp", "num_speculative_tokens": 1}' \ --trust-remote-code # via Dockerdocker pull lmsysorg/sglang:dev-pr-18084# or from source (pip)pip install "sglang[all] @ git+https://github.com/sgl-project/sglang.git"sglang serve --model-path <MODEL_PATH_OR_HF_ID> \ --served-model-name step3p5-flash \ --tp-size 8 \ --tool-call-parser step3p5 \ --reasoning-parser step3p5 \ --speculative-algorithm EAGLE \ --speculative-num-steps 3 \ --speculative-eagle-topk 1 \ --speculative-num-draft-tokens 4 \ --enable-multi-layer-eagle \ --host 0.0.0.0 \ --port 8000sglang serve --model-path <MODEL_PATH_OR_HF_ID> \ --served-model-name step3p5-flash \ --tp-size 8 \ --ep-size 8 \ --tool-call-parser step3p5 \ --reasoning-parser step3p5 \ --speculative-algorithm EAGLE \ --speculative-num-steps 3 \ --speculative-eagle-topk 1 \ --speculative-num-draft-tokens 4 \ --enable-multi-layer-eagle \ --host 0.0.0.0 \ --port 8000from transformers import AutoModelForCausalLM, AutoTokenizer
MODEL_PATH = "<MODEL_PATH_OR_HF_ID>"
# 1. Setuptokenizer = AutoTokenizer.from_pretrained(MODEL_PATH)model = AutoModelForCausalLM.from_pretrained( MODEL_PATH, trust_remote_code=True, torch_dtype="auto", device_map="auto",)
# 2. Prepare Inputmessages = [{"role": "user", "content": "Explain the significance of the number 42."}]inputs = tokenizer.apply_chat_template( messages, tokenize=True, add_generation_prompt=True, return_dict=True, return_tensors="pt",).to(model.device)
# 3. Generategenerated_ids = model.generate(**inputs, max_new_tokens=128, do_sample=False)output_text = tokenizer.decode(generated_ids[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
print(output_text)git clone https://github.com/ggml-org/llama.cppcd llama.cppcmake -S . -B build-macos \ -DCMAKE_BUILD_TYPE=Release \ -DGGML_METAL=ON \ -DGGML_ACCELERATE=ON \ -DLLAMA_BUILD_EXAMPLES=ON \ -DLLAMA_BUILD_COMMON=ON \ -DGGML_LTO=ONcmake --build build-macos -j8cmake -S . -B build-cuda \ -DCMAKE_BUILD_TYPE=Release \ -DGGML_CUDA=ON \ -DGGML_CUDA_GRAPHS=ON \ -DLLAMA_CURL=OFF \ -DLLAMA_BUILD_EXAMPLES=ON \ -DLLAMA_BUILD_COMMON=ONcmake --build build-cuda -j8cmake -S . -B build-vulkan \ -DCMAKE_BUILD_TYPE=Release \ -DLLAMA_CURL=OFF \ -DGGML_OPENMP=ON \ -DGGML_VULKAN=ONcmake --build build-vulkan -j8./llama-cli -m step3.5_flash_Q4_K_S.gguf -c 16384 -b 2048 -ub 2048 -fa on --temp 1.0 -p "What's your name?"./llama-batched-bench -m step3.5_flash_Q4_K_S.gguf -c 32768 -b 2048 -ub 2048 -npp 0,2048,8192,16384,32768 -ntg 128 -npl 1# Install nvm on Mac/Linux via curl:# Step 1curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
# Copy the full commandexport NVM_DIR="$HOME/.nvm"[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
# Users in China can set up npm mirrorconfig set registry https://registry.npmmirror.com
# Step 2nvm install v22
# Make sure Node.js is installednode --version
npm --version# install claude code via npmnpm install -g @anthropic-ai/claude-code
# test if the installation is successfulclaude --version {"env": { "ANTHROPIC_API_KEY": "API_KEY_from_StepFun", "ANTHROPIC_BASE_URL": "https://api.stepfun.ai/"},"model": "step-3.5-flash"}❯ /status─────────────────────────────────────────────────────────────────────────────────Settings: Status Config Usage (←/→ or tab to cycle)
Version: 2.1.1Session name: /rename to add a nameSession ID: 676dae61-259d-4eef-8c2f-0f1641600553cwd: /Users/step-test/Auth token: noneAPI key: ANTHROPIC_API_KEYAnthropic base URL: https://api.stepfun.ai/
Model: step-3.5-flashSetting sources: User settings# install ccr via npmnpm install -g @musistudio/claude-code-router
# validate it is installedccr -v{"PORT": 3456,"Providers": [ { "name": "stepfun-api", "api_base_url": "https://api.stepfun.com/v1/chat/completions", "api_key": "StepFun_API_KEY", "models": ["step-3.5-flash"], "transformer":{ "step-3.5-flash": { "use": ["OpenAI"]} } }],"Router": { "default": "stepfun-api,step-3.5-flash", "background": "stepfun-api,step-3.5-flash", "think": "stepfun-api,step-3.5-flash", "longContext": "stepfun-api,step-3.5-flash", "webSearch": "stepfun-api,step-3.5-flash"}}# Start Claudeccr code
# restart ccr if configs are changedccr restart # Install codex via npmnpm install -g @openai/codex
# Test if it is installedcodex --versionmodel="step-3.5-flash"model_provider = "stepfun-chat"preferred_auth_method = "apikey"
# configure the provider[model_providers.stepfun-chat]name = "OpenAI using response"base_url = "https://api.stepfun.com/v1"env_key = "OPENAI_API_KEY"wire_api = "chat"query_params = {}/status📂 Workspace • Path: /Users/step-test/ • Approval Mode: on-request • Sandbox: workspace-write • AGENTS files: (none)
🧠 Model • Name: step-3.5-flash • Provider: Stepfun-chat
💻 Client • CLI Version: 0.40.0@misc{huang2026step35flashopen, title={Step 3.5 Flash: Open Frontier-Level Intelligence with 11B Active Parameters}, author={Ailin Huang and Ang Li and Aobo Kong and Bin Wang and Binxing Jiao and Bo Dong and Bojun Wang and Boyu Chen and Brian Li and Buyun Ma and Chang Su and Changxin Miao and Changyi Wan and Chao Lou and Chen Hu and Chen Xu and Chenfeng Yu and Chengting Feng and Chengyuan Yao and Chunrui Han and Dan Ma and Dapeng Shi and Daxin Jiang and Dehua Ma and Deshan Sun and Di Qi and Enle Liu and Fajie Zhang and Fanqi Wan and Guanzhe Huang and Gulin Yan and Guoliang Cao and Guopeng Li and Han Cheng and Hangyu Guo and Hanshan Zhang and Hao Nie and Haonan Jia and Haoran Lv and Hebin Zhou and Hekun Lv and Heng Wang and Heung-Yeung Shum and Hongbo Huang and Hongbo Peng and Hongyu Zhou and Hongyuan Wang and Houyong Chen and Huangxi Zhu and Huimin Wu and Huiyong Guo and Jia Wang and Jian Zhou and Jianjian Sun and Jiaoren Wu and Jiaran Zhang and Jiashu Lv and Jiashuo Liu and Jiayi Fu and Jiayu Liu and Jie Cheng and Jie Luo and Jie Yang and Jie Zhou and Jieyi Hou and Jing Bai and Jingcheng Hu and Jingjing Xie and Jingwei Wu and Jingyang Zhang and Jishi Zhou and Junfeng Liu and Junzhe Lin and Ka Man Lo and Kai Liang and Kaibo Liu and Kaijun Tan and Kaiwen Yan and Kaixiang Li and Kang An and Kangheng Lin and Lei Yang and Liang Lv and Liang Zhao and Liangyu Chen and Lieyu Shi and Liguo Tan and Lin Lin and Lina Chen and Luck Ma and Mengqiang Ren and Michael Li and Ming Li and Mingliang Li and Mingming Zhang and Mingrui Chen and Mitt Huang and Na Wang and Peng Liu and Qi Han and Qian Zhao and Qinglin He and Qinxin Du and Qiuping Wu and Quan Sun and Rongqiu Yang and Ruihang Miao and Ruixin Han and Ruosi Wan and Ruyan Guo and Shan Wang and Shaoliang Pang and Shaowen Yang and Shengjie Fan and Shijie Shang and Shiliang Yang and Shiwei Li and Shuangshuang Tian and Siqi Liu and Siye Wu and Siyu Chen and Song Yuan and Tiancheng Cao and Tianchi Yue and Tianhao Cheng and Tianning Li and Tingdan Luo and Wang You and Wei Ji and Wei Yuan and Wei Zhang and Weibo Wu and Weihao Xie and Wen Sun and Wenjin Deng and Wenzhen Zheng and Wuxun Xie and Xiangfeng Wang and Xiangwen Kong and Xiangyu Liu and Xiangyu Zhang and Xiaobo Yang and Xiaojia Liu and Xiaolan Yuan and Xiaoran Jiao and Xiaoxiao Ren and Xiaoyun Zhang and Xin Li and Xin Liu and Xin Wu and Xing Chen and Xingping Yang and Xinran Wang and Xu Zhao and Xuan He and Xuanti Feng and Xuedan Cai and Xuqiang Zhou and Yanbo Yu and Yang Li and Yang Xu and Yanlin Lai and Yanming Xu and Yaoyu Wang and Yeqing Shen and Yibo Zhu and Yichen Lv and Yicheng Cao and Yifeng Gong and Yijing Yang and Yikun Yang and Yin Zhao and Yingxiu Zhao and Yinmin Zhang and Yitong Zhang and Yixuan Zhang and Yiyang Chen and Yongchi Zhao and Yongshen Long and Yongyao Wang and Yousong Guan and Yu Zhou and Yuang Peng and Yuanhao Ding and Yuantao Fan and Yuanzhen Yang and Yuchu Luo and Yudi Zhao and Yue Peng and Yueqiang Lin and Yufan Lu and Yuling Zhao and Yunzhou Ju and Yurong Zhang and Yusheng Li and Yuxiang Yang and Yuyang Chen and Yuzhu Cai and Zejia Weng and Zetao Hong and Zexi Li and Zhe Xie and Zheng Ge and Zheng Gong and Zheng Zeng and Zhenyi Lu and Zhewei Huang and Zhichao Chang and Zhiguo Huang and Zhiheng Hu and Zidong Yang and Zili Wang and Ziqi Ren and Zixin Zhang and Zixuan Wang}, year={2026}, eprint={2602.10604}, archivePrefix={arXiv}, primaryClass={cs.CL}, url={https://arxiv.org/abs/2602.10604}, }