Instructions to use stepfun-ai/Step-3.5-Flash with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stepfun-ai/Step-3.5-Flash with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="stepfun-ai/Step-3.5-Flash", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("stepfun-ai/Step-3.5-Flash", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("stepfun-ai/Step-3.5-Flash", trust_remote_code=True, device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use stepfun-ai/Step-3.5-Flash with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "stepfun-ai/Step-3.5-Flash" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "stepfun-ai/Step-3.5-Flash", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/stepfun-ai/Step-3.5-Flash
- SGLang
How to use stepfun-ai/Step-3.5-Flash with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "stepfun-ai/Step-3.5-Flash" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "stepfun-ai/Step-3.5-Flash", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "stepfun-ai/Step-3.5-Flash" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "stepfun-ai/Step-3.5-Flash", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use stepfun-ai/Step-3.5-Flash with Docker Model Runner:
docker model run hf.co/stepfun-ai/Step-3.5-Flash
Commit History
-
Update .eval_results/MathArena--aime_2026.yaml
Verified signatured621985
-
Add MathArena evaluation result for aime/aime_2026
Verified signatureThis PR adds a new MathArena evaluation result so it can be indexed on the model leaderboard page. Model: stepfun-ai/Step-3.5-Flash Competition dataset id: MathArena/aime_2026 Score: 96.67 Result file: .eval_results/MathArena--aime_2026.yaml The results are the same as the ones displayed on [our webpage](https://matharena.ai/?view=problem&comp=aime--aime_2026). Note: this is an experimental feature, we are currently trying to make this work as smooth as possible.bf34d44
-
Update README.md
Verified signaturea612345
-
Update README.md
Verified signaturec7f7136 -
Update README.md
Verified signatureade370d -
Update README.md
Verified signature358677d
-
Update README.md
Verified signaturea9197e1
-
Update README.md
Verified signature06ab720
-
Adding `transformers` as the library name. (#7)
- Adding `transformers` as the library name. (880133e6798c9c8143c7c7441911c80ae2a53df5) Co-authored-by: Aritra Roy Gosthipaty <ariG23498@users.noreply.huggingface.co>2f9234a -
Update config.json (#9)
- Update config.json (d6f6ecccf9c609161bc17b7b7c22b03d7a450d55)7eb38d5
-
Delete generation_config.json
Verified signature415bdfc -
Update README.md
Verified signature4eaed1c -
Update README.md
Verified signatureaaa7e7d -
Create generation_config.json
Verified signatureb216970 -
Update config.json (#4)
- Update config.json (c15f627b1dbc2a860847b3525d0eb5385f151971) Co-authored-by: chensiyu <csy0225@users.noreply.huggingface.co>e2554be -
Update README.md
Verified signature16e32f3 -
Update README.md
Verified signatureupdate sglang deploy cmd8847e96 -
Update Step-3.5-Flash vLLM recipe (#1)
- Update Step-3.5-Flash vLLM recipe (5141b7537b1d89d9b4d5642f04affc29d9a276ef) Co-authored-by: jeejeelee <jeeejeee@users.noreply.huggingface.co>6c124fa -
Update README.md
Verified signature6ec21e7 -
Update README.md
Verified signatureefffd8d -
Update README.md
Verified signature5462fc4 -
Update README.md
Verified signaturee8565d1 -
Update README.md
Verified signature43df2bb
-
Update README.md
Verified signature710ac08 -
upload step3p5_flash_release_mtp3_bf16
Verified signature8fb8cbc -
Update README.md
Verified signature3eb118b -
Update README.md
Verified signature065c0f5 -
Update README.md
Verified signature0be4996 -
Upload step-bar-chart.png
Verified signature1c0aa90 -
Update README.md
Verified signature7b9aa10 -
Update README.md
Verified signature09ce794 -
Upload stepfun.svg
Verified signature6c2a3b9 -
Update README.md
Verified signature01e4df5 -
initial commit
Verified signature9aee3c8