betaFeedback

WorksarXiv

Step-3 is Large yet Affordable: Model-system Co-design for Cost-effective Decoding

Abstract

Large language models (LLMs) face low hardware efficiency during decoding, especially for long-context reasoning tasks. This paper introduces Step-3, a 321B-parameter VLM with hardware-aware model-system co-design optimized for minimizing decoding costs. Step-3 innovates in two key dimensions: (1) A novel Multi-Matrix Factorization Attention (MFA) mechanism that significantly reduces both KV cache size and computation while maintaining high attention expressiveness, and (2) Attention-FFN Disaggregation (AFD), a distributed inference system that decouples attention and Feed-Forward Network (FFN) layers into specialized subsystems. This co-design achieves unprecedented cost efficiency: Step-3 significantly reduces theoretical decoding costs compared with models like DeepSeek-V3 and Qwen3 MoE 235B, with the gains widening at longer context. Step-3 achieves low cost while activating 38B parameters per token (more than DeepSeek-V3 and Qwen3 MoE 235B), demonstrating that hardware-aligned attention arithmetic intensity, MoE sparsity, and AFD are critical to cost-effectiveness. We perform a head-to-head comparison with DeepSeek-V3 in its favorable scenarios. Our implementation on Hopper GPUs achieves a decoding throughput of up to 4,039 tokens per second per GPU under 50ms TPOT SLA (4K context, FP8, no MTP). It is higher than DeepSeek-V3's 2,324 in the same setup and sets a new Pareto frontier for LLM decoding.

Paper details

arxiv:2507.19427v1
First available
Jul 25, 2025
Read at
arXiv
  • StepFun: Bin Wang
  • Bojun Wang
  • Changyi Wan
  • Guanzhe Huang
  • Hanpeng Hu
  • Haonan Jia
  • Hao Nie
  • Mingliang Li
  • Nuo Chen
  • Siyu Chen
  • Song Yuan
  • Wuxun Xie
  • Xiaoniu Song
  • Xing Chen
  • Xingping Yang
  • Xuelin Zhang
  • Yanbo Yu
  • Yaoyu Wang
  • Yibo Zhu
  • Yimin Jiang