Skip to navigation

StepFun API pricing explained: $1 input, $0.10 cached, $2.70 output per 1M

In short: The StepFun API costs $1.00 input cache-miss, $0.10 cached and $2.70 output per 1M tokens for both step-5 and step-5-preview. See how billing works.

Published Updated 16 min read
On this page

The short answer

StepFun’s metered API price for step-5 (GA, released 30 November 2026) and step-5-preview is the same: $1.00 per 1M input tokens on a cache miss, $0.10 per 1M for cached input, and $2.70 per 1M output tokens. Those are the three numbers that govern a pay-as-you-go bill. The cache discount is the interesting one: a 10x reduction on input that you have sent before, which rewards workloads with repeated context like a long system prompt or a codebase you query repeatedly.

There are two things to keep straight. First, the same three prices cover both ids, so a budget built on the Preview table carries over to GA, while the tokens spent per task differ (see the GA section below). Second, this metered pricing is a separate pool from the Step Plan subscription. Step Plan credits do not top up your API balance, and API spend does not draw on your plan credits.

This post explains what each price covers, how caching changes the bill, how to estimate a real workload, and how the metered route compares to the subscription route on cost.

The three prices, and what each covers

A metered bill has three line items, and each is priced separately. Here is the confirmed table, which holds for step-5 and step-5-preview alike.

Direction Price per 1M tokens When it applies
Input, cache miss $1.00 New tokens the model has not seen cached
Input, cached $0.10 Tokens the provider has cached from prior calls
Output $2.70 Tokens the model generates
Input $1.00Per 1M tokens, cache missCached $0.1010x cheaper on repeated inputOutput $2.70Per 1M generated, the big line

The input price is what you pay to send context to the model. On a cache miss that is $1.00 per 1M. When the provider has those tokens cached from an earlier call, the same input drops to $0.10 per 1M, a 10x reduction. Output is what the model generates, at $2.70 per 1M, which is 2.7x the cache-miss input rate and 27x the cached rate.

That output-to-input ratio is the single most important thing to internalize about agent billing. In an agentic loop the model reads a lot and writes a lot, but it is the writing that costs. A model that reasons in long chains, or that re-generates large responses, will dominate its own bill through output tokens regardless of how cheap the input side is.

Why output dominates an agent bill

In a coding-agent workload, cost per task is roughly output tokens times $2.70, plus input tokens times their rate. Because output is 2.7x the input price and agent reasoning is token-heavy, output is usually the largest line item by a wide margin.

The Artificial Analysis chart below shows 80M total output tokens for the evaluation, split into 21M answer and 59M reasoning, the lowest total in its measured group, which climbs to 335M at the top. That 80M matches the 79.8M Artificial Analysis now lists for Step 5 (GA), while it measured 129M for Step 5 Preview, so read the chart as the GA-scale figure and not as Preview’s. The reasoning share, 59M of 80M, is where agent cost concentrates.

Artificial Analysis output token usage chart splitting answer and reasoning tokens. Step 5 totals 80M tokens, the lowest in the measured group, made of 21M answer tokens and 59M reasoning tokens, with larger models reaching 335M total.
The expensive direction. Step 5 at 80M total output tokens, 21M answer and 59M reasoning, the lowest total in the measured set (the 79.8M now listed for Step 5 GA).

The practical consequence is that a cheaper input price barely moves an agent bill, while a model that spends fewer output tokens moves it a lot. That is why the efficiency story and the cost story are the same story. The cost-per-task analysis works the arithmetic end to end.

How caching changes the bill

The cached input rate of $0.10 per 1M is a 10x discount, and it is the lever that changes real workloads the most. Caching applies to input tokens the provider has seen before, which in practice means repeated context.

The classic case is a long system prompt. If you send a 20,000-token system prompt on every call, and it is cached, you pay $0.10 per 1M on those tokens instead of $1.00. The second classic case is a large codebase or document set that you query repeatedly within a session. Repeated input is where the discount compounds.

Artificial Analysis Intelligence Index v5.0.2 header listing the nine incorporated evaluations and showing Step 5 Preview scored at 29 in a compact ranking view.
What the meter measures. Intelligence Index v5.0.2 with Step 5 Preview at 29. The $3.94 cost per task bundles token spend across these evaluations at the same prices described here.

This is also why the same model can produce very different bills for two teams. A retrieval workload with a huge cached context and terse answers is cheap. A generation workload that writes long reports or long reasoning chains is expensive, because it is paying $2.70 on most of its tokens.

A worked estimate for a real workload

Here is a simple estimation method you can run against your own traffic using only the three prices. Suppose a coding-agent task sends 50,000 input tokens, of which 40,000 are cached, and generates 8,000 output tokens.

Input cost on a cache miss for the 10,000 uncached tokens: 10,000 divided by 1M is 0.01, times $1.00, which is $0.01. Input cost on the 40,000 cached tokens: 40,000 divided by 1M is 0.04, times $0.10, which is $0.004. Output cost for 8,000 tokens: 8,000 divided by 1M is 0.008, times $2.70, which is $0.0216.

Component Tokens Rate per 1M Cost
Input, cache miss 10,000 $1.00 $0.0100
Input, cached 40,000 $0.10 $0.0040
Output 8,000 $2.70 $0.0216
Task total 58,000 mixed about $0.036

So a single representative agent task costs about 3.6 cents at these prices, with output and cache-miss input roughly splitting the bill and cached input nearly free. Multiply by your daily task count to get a monthly figure. That is the metered route.

Compare that to the subscription route. The Flash Max plan is $59 for 20,000M credits, and at the published $1 = 7M credits rate that is about $2,857 of metered equivalent value. At the $2.70 output rate, that allowance covers on the order of a million output tokens in a month. For a heavy agent user the flat plan wins on rate; for a light user the meter wins because you only pay for what you use. The credits math works both sides.

Cost per task and the efficiency trade

Artificial Analysis reports cost per AA index task at $3.94 for Step 5 Preview, with inference time at 22.9 minutes per task and output speed around 83 tokens per second; for Step 5 (GA) it reports $2.53, 8.5 minutes and 104 tokens per second. That per-task figure is a benchmark-task figure, not your workload, but it is a useful yardstick because it bundles tokens and price into one number.

Artificial Analysis intelligence index versus cost per task scatter plot. Step 5 Preview sits near an index of 29 at a weighted average cost of under four dollars, below the Pareto line, while Claude Fable 5.2 reaches about 65 at roughly thirty dollars.
Cost position. Step 5 Preview near $3.94 per index task at an index of 29, well under the top closed models on cost.

Step 5 Preview scores 29 on the current v5 rubric and Step 5 (GA) scores 40. Step 5 Preview read 44 under the pre-v5 rubric before a late-October methodology revision, so older coverage quoting 44 is not comparable to either. The 40 was a third-party figure for a few hours and is now on the Artificial Analysis page and in StepFun’s launch post; the index explainer covers how it got there.

Artificial Analysis Intelligence Index score chart with Step 5 Preview highlighted at 29, sitting among the measured field of models on the current v5 rubric.
The score behind the price. Step 5 Preview at 29 on Intelligence Index v5.0.2; Step 5 (GA) scores 40 at the same price.

The trade the charts show is efficiency, not raw score. Step 5 Preview is not the highest-scoring model on the index. It is the model that uses the fewest output tokens to complete the evaluation, which is exactly the trade that lowers a metered bill.

How the metered route connects

The metered API and the subscription use different base URLs. For StepFun’s metered API you point an OpenAI-compatible client at StepFun’s endpoint (the base URL is in its model guide), set your StepFun key, and send the model ID step-5 for GA or step-5-preview for the older model.

Run it on the free lane

Before you commit to a metered bill or a plan, you can measure your own token use at $0. Step 5 is on our free lane as step-5:free: no card, a daily allowance of 100 requests shared by all :free ids, and Step 5 counts as 3 requests, so 33 a day. Run a representative task, read the output token count from the response, and multiply it by StepFun’s list price of $2.70 per 1M to get what the metered route would charge for the same work.

bash
curl https://api.oneaiapikey.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "model": "step-5:free",
  "messages": [{"role": "user", "content": "Summarize the modules in this repo"}],
  "stream": true
}'

On our gateway step-5:free has a 1M-token window, up to 64K output and image input; the Step 5 model page shows live stats and the rankings page shows usage. StepFun’s own API goes further: Step 5 Preview accepts text, image and video input and produces text output, plus tool calls and structured JSON. Context runs up to 1,000,000 tokens with a maximum output of 64K. The API became available on 20 September 2026, with open weights following on 15 October 2026 under the StepFun Model License 1.0.

For the subscription route, which draws on Step Plan credits rather than the meter, the base URLs are different: https://api.stepfun.ai/step_plan for the Anthropic SDK and https://api.stepfun.ai/step_plan/v1 for the OpenAI SDK. The guide on switching an OpenAI SDK app to a different base URL covers the wiring, and the quickstart walks the first call.

Metered versus subscription: which is cheaper

There is no single answer, because it depends entirely on volume. The meter is pay-for-what-you-use. The plan is a flat fee with a credit allowance that does not roll over. The crossover is where your monthly spend at metered prices would exceed the plan price for the equivalent credits.

User profile Likely cheaper route Why
Light, occasional use Metered API Pay only for tokens actually used
Steady daily agent work Step Plan Flat fee, credits at up to 48x value
Huge cached-context workload Metered API $0.10 cached input is very cheap
Bursty with quiet months Metered API Plan credits do not roll over
Team sharing one key Step Plan Multi-device login, priority rates on Plus+

The cached-input rate deserves special attention in this comparison. A workload dominated by cached input is unusually cheap on the meter, because $0.10 per 1M is a 10x discount and the meter passes that straight through. The flat plan does not care whether your input was cached, since it grants credits rather than charging per token. So the more cache-friendly your workload, the better the meter looks relative to the plan.

For the subscription side in detail, see Plus vs Pro, booster packs, and why Flash Max is one of the best deals.

Metered or subscription

0 of 6 ticked

Not yet sized

Start by logging output and input tokens per task before choosing metered or plan.

How Step 5 Preview compares on price

It is worth placing the confirmed prices next to a dated competitor to see the shape. Artificial Analysis lists Gemini 4 Carbon at $2.00 input / $10.00 output per 1M and 100 tokens per second, dated 2026-11-10.

Model Input per 1M Output per 1M Notes
Step 5 Preview $1.00 cache miss / $0.10 cached $2.70 Confirmed Preview price
Gemini 4 Carbon $2.00 $10.00 Dated 2026-11-10

Step 5 Preview is meaningfully cheaper than Gemini 4 Carbon on both sides, and dramatically cheaper on output. That is the pricing shape behind the cost-per-task chart. It is a partial comparison, one dated competitor, not a full market survey. For broader placement see the November 2026 frontier model roundup and Step 5 vs Gemini 4 Carbon.

What does Step 5 (GA) cost on StepFun’s price list?

Step 5 (GA) costs the same as Preview: StepFun’s pricing page lists step-5 at $1.00 input on a cache miss (which includes writing new content to the cache), $0.10 cached input and $2.70 output per 1M tokens, and the Step 5 model guide gives a 1M context and 64K maximum output. StepFun’s launch post says Step 5 is available through the StepFun API at the same pricing as Step 5 Preview. Output includes reasoning tokens plus the answer, which is why the token count matters more than the rate.

Two cheaper StepFun models sit on the same list for comparison: step-3.7-flash at $0.20 / $0.04 / $1.15 and step-3.5-flash at $0.10 / $0.02 / $0.30 per 1M. Worked example from OrcaRouter’s launch note: a task with 40,000 input and 4,000 output tokens costs 0.040 + 0.0108, about $0.051 uncached; with 90% of the input served from cache the input side falls to about $0.0076 and the total to about $0.018. Artificial Analysis’ blended price of $0.54 per 1M assumes a 7:2:1 mix of cache hit, input and output (0.7 x 0.10 + 0.2 x 1.00 + 0.1 x 2.70 = 0.54).

Line Step 5 (GA) Step 5 Preview
Input, cache miss / cached / output per 1M $1.00 / $0.10 / $2.70 $1.00 / $0.10 / $2.70
Cost per AA index task $2.53 $3.94
Output tokens, whole index 79.8M 129M
Time per index task 8.5 min about 22.9 min

On the OpenRouter listing, read on 1 December 2026, the weighted-average price actually paid was $0.1901 per 1M input and $2.70 per 1M output, with an 86.3% average cache hit rate: the cached rate is doing most of the work on real traffic. What this does not tell you is whether a Step Plan tier covers step-5; the Hermes Agent integration page for the Step Plan endpoint lists step-5-preview among its verified ids, so check the plan overview before assuming coverage. The Step 5 prompt caching cost math and Step 5 on OpenRouter and Vercel AI Gateway work through the same numbers per route.

What was said about the Step 5 price before launch

Before 30 November 2026, StepFun’s chairman Yin Qi confirmed that Step 5 shared the Step 5 Preview architecture and was “smarter and more efficient”, and the pricing table listed only step-5-preview. That is why earlier versions of this post told readers there was no final price. The launch changed that: the price is the same, and only the number of tokens per task moved.

Artificial Analysis Intelligence Index chart filtering open weights and proprietary models, with Step 5 Preview shown as a proprietary model at 29 at the right edge below a long row of models scoring higher.
Proprietary, Preview-priced. Step 5 Preview scored as a proprietary model. Open weights followed on 15 October 2026 under the StepFun Model License 1.0, but the pricing table still lists only step-5-preview.

So the honest framing is: the table is one price list for two ids, and the cost difference between them is token use, not rate. The HungerG and Step 5 benchmarks track what is confirmed versus what is still community measurement, how to access Step 5 covers the current model IDs and endpoints, and the Step 5 API formats guide explains the three API styles that all bill at these rates.

What our team found using it

Our One AI API Key team has personally tested HungerG from the day it released and are impressed by its efficiency and speed. That was informal hands-on use, not a controlled benchmark, so we publish no scores from it. It shaped how we read the pricing: a model that spends fewer output tokens per task produces a smaller metered bill directly, because output at $2.70 is the line item that dominates agent work.

The one tip from that use is to log output tokens per task, not just dollar totals. Dollar totals hide which direction the cost is coming from. Output tokens tell you whether the bill is being driven by reasoning length, which is the thing caching cannot fix and the thing efficiency targets.

For routing and budgeting around agent workloads generally, see runaway token bills and task budgets with hard stops. For picking the model itself, see choosing a model for coding agents.

Honest limitations

  • One price list covers both ids today. StepFun’s pricing page lists step-5 and step-5-preview at the same rates; prices can change, so re-check before a large commitment. Step Plan coverage of step-5 is not stated on any page this post checked.
  • The $3.94 cost per task is a benchmark figure. It is Artificial Analysis’s number for its own index tasks, not a prediction for your workload.
  • The Gemini 4 Carbon comparison is partial and dated. It uses one competitor at a 2026-11-10 price point, not a full current market survey.
  • Keep the index figures apart. Step 5 (GA) is 40 and Step 5 Preview is 29 on the current v5 rubric. Older 44 readings for Preview are not comparable after the methodology revision.
  • Caching behavior depends on the provider. The $0.10 cached rate applies to input the provider has cached. Exactly which tokens get cached in your traffic is not specified in the material reviewed here.
  • Community speed numbers are single-source. Stealth-week decode figures are community measurements, not vendor specs.
  • The comparison table is one snapshot. Prices change, and the table could change for either id.

The prices and context limits in this post come from StepFun’s own plan and platform documentation. The cost-per-task, token and index figures come from Artificial Analysis and its leaderboard. The OrcaRouter deep-dive is the source for the confirmed-versus-unconfirmed split on Step 5, and the BigGo News reveal summary covers the chairman confirmation. For community context on the alias that became Step 5, the forensics thread is a single-source reproduction, useful for method rather than specs.

FAQ

What does step-5 cost per million tokens?
StepFun lists $1.00 per 1M input tokens on a cache miss, $0.10 per 1M for cached input, and $2.70 per 1M output tokens for step-5 (GA) and, at the same rates, for step-5-preview.
What is the cached input discount?
Cached input is $0.10 per 1M tokens versus $1.00 on a cache miss, a 10x reduction. It applies to input tokens the provider has cached from prior calls, such as a repeated system prompt or a codebase queried within a session.
Why is output the most expensive direction?
Output is $2.70 per 1M, which is 2.7x the cache-miss input rate and 27x the cached rate. Agent reasoning generates large volumes of output tokens, so output is usually the largest line item on an agent bill.
What is the cost per task for Step 5?
Artificial Analysis measured $2.53 per AA index task for Step 5 (GA), 8.5 minutes per task and 104 tokens per second; Step 5 Preview was $3.94, 22.9 minutes and about 83 tokens per second. These are benchmark-task figures, not a prediction for your workload.
Does the Step Plan subscription cover API spend?
No. Step Plan credits are separate from standard API quota. Plan credits do not pay metered API bills, and metered API spend does not draw on plan credits. They are two distinct pools.
Is there a price for the final Step 5?
Yes. Step 5 (GA) was released on 30 November 2026 and StepFun lists it at the same $1.00 / $0.10 / $2.70 per 1M as Step 5 Preview. Step 5 (GA) has no published weights; whether a Step Plan tier covers it is not stated on the pages this post checked.
Can I try Step 5 for free before paying StepFun?
Yes. Use `step-5:free` on our gateway: $0 per token, no card, 33 requests a day because Step 5 counts as 3 of the 100 daily free requests. It is a way to measure your own token use; the $1.00 / $0.10 / $2.70 rates remain StepFun list price on its own API.
What context and output limits does Step 5 have?
Context runs up to 1,000,000 tokens with a maximum output of 64K. It accepts text, image and video input and produces text output, plus tool calls and structured JSON.
How does Step 5 Preview pricing compare to Gemini 4 Carbon?
Artificial Analysis lists Gemini 4 Carbon at $2.00 input and $10.00 output per 1M, dated 2026-11-10. Step 5 Preview is cheaper on both sides, especially output at $2.70 versus $10.00. That is a partial, dated comparison, not a full survey.

Estimate your bill before you commit

Log output tokens per task for one week on step-5:free, apply StepFun's $1.00 / $0.10 / $2.70 list rates, and compare the metered total against a Step Plan tier before you choose a route.

More in Blog

Try it

One API key for GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2 and Roleplay.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.

New accounts$10 credit on sign-up
Claim $10 credit →