Skip to content
New Year BoostTop up
Apixo
Blog
news· 3 min read· via Together AI

StepFun Launches Step 5 on Together AI With 1M Context Window and Prompt Caching

StepFun's Step 5 model arrives on Together Serverless Inference, featuring a 1M context window, strong agentic benchmark gains, and automated prompt caching.

StepFun Launches Step 5 on Together AI With 1M Context Window and Prompt Caching

StepFun has launched Step 5, an updated flagship model built specifically for agentic workflows, now accessible via Together Serverless Inference under the model string stepfun-ai/Step-5. Designed to handle massive context, the model features a 1-million-token (1,048,576 tokens) context window and accepts both text and image inputs while returning text responses. It also includes native support for function calling and provides transparent access to the model's intermediate thought process by returning a dedicated reasoning_content field alongside its answers.

Performance gains and reduced token overhead

Step 5 incorporates developer feedback from Step 5 Preview, showing measurable performance gains across standard programming and problem-solving benchmarks while demanding fewer output tokens. According to StepFun's reported evaluations, the model achieved a score of 40 on the Artificial Analysis Intelligence Index—up from 29 in the preview edition—while cutting the tokens required per task by 53 percent.

In software engineering benchmarks, Step 5 recorded a 44.4 percent task success rate on Terminal-Bench 4.1 compared to 33.8 percent for Step 5 Preview, requiring 63 percent fewer output tokens per task. On DeepSWE, tested with the mini-swe-agent harness under standard configurations, the model's score reached 74.8 percent versus 62.0 percent previously, accompanied by a 45 percent drop in output tokens. Because billing on serverless inference is tied directly to generation volume, these lower token counts translate to faster runs and lower overall task expenses.

Pricing, prompt caching, and long-context behavior

Deploying Step 5 through Together Serverless Inference costs $1.00 per 1 million input tokens, $0.10 per 1 million cached input tokens, and $2.70 per 1 million output tokens. The model's reasoning tokens are counted within completion tokens and billed at the output rate, though any reasoning included in subsequent conversation history turns is billed as standard input.

To keep long-context queries cost-effective, the endpoint uses automatic, best-effort prompt caching that typically retains prefix data for roughly an hour. In benchmark testing spanning nine request series with 60 total follow-up calls, 52 requests retrieved roughly 95 percent of their input tokens directly from the cache. While the first or second follow-up occasionally missed the cache, all 45 requests from the third follow-up onward successfully read from it. In practical terms, a 38,752-token prompt with cached reference material cost $0.0059, compared to $0.0389 for an uncached initial query of similar size.

Long-context retrieval was also evaluated on a massive single-request scale: when provided with 894,064 input tokens with a specific target fact placed in the middle, Step 5 returned the correct answer in 48 output tokens at a total cost of $0.8942. In tool-calling trials across 20 iterations running a database query loop, Step 5 executed the expected function call on its initial reply in 19 instances, returning the final text result on the subsequent step.

What it means for developers

For developers building autonomous agents, code generators, and large-scale document analysis pipelines, Step 5 delivers a combination of massive context handling, structured reasoning inspection, and predictable execution. Its compatibility with standard OpenAI SDK formats—requiring only an updated base URL and API key—lowers integration friction, while the presence of the reasoning_content field allows engineers to monitor internal logic steps before final outputs are rendered.

Furthermore, the automatic 90 percent discount on cached tokens ($0.10 per million) significantly lowers the cost of running iterative agent loops or querying sprawling reference documentation repeatedly. For teams testing and deploying diverse architectures across production, developers can try top AI models cheaply through one API at https://apixoai.online.

With function calling reliably executing across repeated trials and strong token efficiency gains over its predecessor, Step 5 provides an attractive, cost-conscious serverless alternative for complex multimodal and agentic tasks.


Source: StepFun Step 5 API: pricing, context window and code — Together AI. Written by the Apixo team from that report.

#ai-news#stepfun#together-ai#llm#ai-agents#apis
Try it with your own tools

One key for Claude, GPT, GLM, DeepSeek and more. Pay per token with crypto.

Get your API key

Keep reading