Skip to navigation

Step 5 on OpenRouter and Vercel AI Gateway: routes compared

In short: Step 5 is on StepFun direct, OpenRouter, Vercel AI Gateway and our free lane as step-5:free. Compare price, speed, cache rates and limits for each route.

Published 17 min read
On this page

How can you reach Step 5 today?

You can reach Step 5 four ways today: directly from StepFun as step-5, through a StepFun Step Plan subscription, on OpenRouter as stepfun/step-5, and on Vercel AI Gateway as stepfun/step-5. A fifth, our own free lane id step-5:free, is covered at the end. The four paid routes list the same token prices, $1.00 per 1M input tokens on a cache miss, $0.10 cached and $2.70 output, with a 1M-token context window and a 64K output cap, and the OpenRouter page says StepFun is its only provider. So the choice is not about the model or its list price. It is about billing, limits, tooling and what else you already run. This post compares the routes using the vendors’ own pages, and it belongs to the complete Step 5 guide.

The launch happened quietly. OrcaRouter describes a general availability release with no launch page at first, and ORIENS reports that the Artificial Analysis page appeared before the announcement. StepFun’s own launch post followed, with the line that Step 5 is available today through the StepFun API at the same pricing as Step 5 Preview. OpenRouter lists it as released on November 30, 2026, and the Vercel changelog is dated the same day. That means every number below comes from pages that are a day or two old, and several of them move.

What does each route look like in practice?

The four routes differ in id, endpoint, billing and who sees your traffic first. The table is a map; the following sections fill in each row from the sources.

Route Model id Endpoint What you pay Worth knowing
StepFun direct step-5 https://api.stepfun.ai/v1 (Chat Completions; Messages at /v1/messages; Responses at /v1/responses) $1.00 / $0.10 / $2.70 per 1M tokens Limits tiered by cumulative top-up; all three formats
StepFun Step Plan step-5 https://api.stepfun.ai/step_plan/v1 (OpenAI SDK), https://api.stepfun.ai/step_plan (Anthropic SDK) Subscription credits Chat Completions and Messages paths documented
OpenRouter stepfun/step-5 OpenRouter’s OpenAI-compatible API, swap the base URL Listed $1.00 / $0.10 / $2.70 Single provider, no routing; supports tools and JSON schema response_format
Vercel AI Gateway stepfun/step-5 https://ai-gateway.vercel.sh/v1 or the AI SDK Provider pricing, no markup CLI setup for Claude Code, Codex, Cursor

The direct route and the third-party routes differ most in what happens when something goes wrong. Direct, you have one vendor to ask. Through a gateway you have two: the gateway’s status and the upstream provider’s. The StepFun format details are in Step 5 API: Chat Completions, Messages and Responses, and the access basics, including Step Plan, are in how to access Step 5.

Who sits in the request path

Your appOne OpenAI- or Anthropic-style clientDirect, OpenRouter or VercelPick one front door per environmentStepFun runs the modelThe one provider OpenRouter lists

What does OpenRouter show for Step 5?

OpenRouter’s Step 5 page lists stepfun/step-5 as released on November 30, 2026, served by one provider, StepFun, in fp8. It states that OpenRouter forwards every request without routing, and shows provider prices of $1.00 input, $2.70 output and $0.10 cache read per 1M tokens, a 1.0M context and up to 64,000 completion tokens. Its FAQ says Step 5 accepts tools for function calling and supports structured outputs through a JSON schema in response_format, and takes text, image and video input with text output. It also notes that the model is not currently available through EU in-region routing.

The page publishes live performance and pricing statistics, and they changed between two reads on 1 December 2026.

Metric on the OpenRouter page First read, 1 Dec Later read, 1 Dec
Latency (P50) 1.83 s 1.78 s
Throughput (P50) 81 tok/s 90 tok/s
Uptime, 3 days 100% 100.00% for the provider, 99.99% for the model
Availability, 3 days 99.87% 99.87%
Cache hit rate 86.3% average 93.2%
Weighted average input price paid $0.1901 per 1M $0.161 per 1M
Weighted average output price paid $2.70 per 1M $2.699 per 1M
Tool-call error rate 0.69% not re-read

The drift is the point. A model one day after launch has a thin sample, and the page recomputes percentiles and price averages continuously. If you quote a number from it, quote the date and say it is a snapshot. The 99.87% availability figure is OpenRouter’s own definition, the share of time inference was successfully served over three days, and errors and empty responses count against it.

One piece of arithmetic is worth doing yourself. The effective input price is the cache-hit rate times $0.10 plus the miss rate times $1.00, which is 1.00 - 0.90 x hit rate per 1M tokens. At a 93.2% hit rate that is 1.00 - 0.8388 = $0.1612, which matches the later $0.161 read. At 86.3% it would be 1.00 - 0.7767 = $0.2233, but the first read showed $0.1901, which implies a hit rate of 90.0%. The two numbers on the first read do not reconcile by this formula, and the page does not say why; the likely reasons are different token weighting or time windows, but we cannot tell from the page. Use the price paid for budgeting and the hit rate only as a direction. The prompt caching cost math post works through the formula in detail.

Horizontal bar chart of input price per million tokens: list price 1.00, cache-hit price 0.10, OpenRouter weighted average paid on the first read 0.1901, on a later read 0.161.
Paid, not listed. Most input on OpenRouter arrives as cache reads, so the average price paid is a fraction of the $1.00 list price.

Plotly’s independent exam priced Step 5 at OpenRouter’s rates. In its data analytics write-up, Plotly says StepFun is the only provider on OpenRouter, serving fp8 at the same three prices, and that 94.1% of the exam’s prompt tokens were cache reads. The full result is in Step 5 on the Plotly data analytics exam.

What does Vercel AI Gateway add?

Vercel’s changelog entry, published November 30, 2026, lists stepfun/step-5 on AI Gateway and says the gateway reflects provider pricing with no markup and charges no platform fee on inference, including on bring-your-own-key requests. It gives three ways in. With the AI SDK you pass the model string stepfun/step-5 to streamText. With a plain OpenAI client you point the SDK at the gateway’s base URL and send the same string. And npx vercel ai-gateway setup wires Claude Code, Codex, Cursor and other agents, after which you select stepfun/step-5 in the agent.

Step 5 through Vercel AI Gateway (from the changelog)
import os
from openai import OpenAI

client = OpenAI(
  api_key=os.environ["AI_GATEWAY_API_KEY"],
  base_url="https://ai-gateway.vercel.sh/v1",
)

stream = client.chat.completions.create(
  model="stepfun/step-5",
  messages=[{"role": "user", "content": "Write a TypeScript function that debounces another function."}],
  stream=True,
)

for chunk in stream:
  if chunk.choices:
      print(chunk.choices[0].delta.content or "", end="", flush=True)

The changelog describes the gateway as a unified API for calling models, tracking usage and cost, and configuring retries, failover and performance optimizations, with custom reporting, budgets for API keys and routing rules. Read that list as the product, not as a Step 5 feature. The changelog does not say how many upstream providers serve stepfun/step-5 on Vercel, so we cannot say whether failover has a second host to fail over to. OpenRouter’s page says its Step 5 has one provider and no routing, and the same fact is plausible elsewhere, but only the OpenRouter statement is on the page.

The two routes differ in how they present cost. Vercel says it passes provider pricing through without markup. OpenRouter lists the same per-token prices on the model page; what you pay beyond tokens depends on how you fund the account, which is outside the model page. Our LLM gateway fees comparison covers credit fees, markup and bring-your-own-key across gateways without Step 5-specific numbers.

What does a gateway add, and what does it not?

A gateway adds one key, one bill and one place to change a model name; it does not change the model, its provider’s capacity or its cache. For a model with a single upstream provider that last point matters, so it is worth separating what you gain from what you only seem to.

A gateway can add A gateway does not add for Step 5
One key and one invoice across many models A second host if the model has one provider
A single place to swap stepfun/step-5 for another model id A different model, price per token or context window
Usage and cost reporting, budgets per key Better cache behaviour: caching happens where the model runs
Fallback to a different model, if you configure it Weights or self-hosting rights
One client setup for several vendors’ models A guarantee about latency; there is an extra hop

The cache row deserves a sentence. StepFun’s prompt cache guide says caching activates automatically when a request exceeds 256 tokens, that eviction is least recently used, that peak traffic evicts more aggressively, and that guaranteed hits are not supported. Those rules apply at StepFun regardless of the front door. A gateway can help you keep your prefix stable, for example by not rewriting your system prompt, but it cannot make a miss a hit.

The extra hop is real but unquantified here. We do not have a measurement of the added latency of OpenRouter or Vercel for Step 5, and the figures in the next section are whole-path numbers from each source, not hop deltas. If latency matters, measure from your own region to each route.

How do the routes compare on speed and latency?

There is no single apples-to-apples speed number, because every source measures something different. The chart gathers what has been published, with the harness named, and the right reading is a range: roughly 80 to 180 output tokens per second depending on who measured and how.

Horizontal bar chart of output speed in tokens per second: OpenRouter P50 first read 81, Step 5 Preview Artificial Analysis 83, OpenRouter P50 later read 90, Step 5 Artificial Analysis 104, Ekonomi Köşesi 110.2, Plotly harness 178.
Same model, different harnesses. OpenRouter shows its own P50 for requests routed there; Artificial Analysis, Ekonomi Köşesi and Plotly each run their own workloads.

Artificial Analysis lists Step 5’s output speed at 104 tokens per second, with a Preview reading of 83 earlier. Ekonomi Köşesi shows a median of 110.2 tokens per second and a time to first token of 2.02 seconds, synced from Artificial Analysis every four hours. Plotly measured about 178 tokens per second and a median time to first token of 1.56 seconds in its own harness. OpenRouter’s P50 readings of 81 and 90 tokens per second are for traffic that arrives through OpenRouter, mixed prompts and mixed reasoning lengths.

Horizontal bar chart in seconds: Plotly median time to first token 1.56, OpenRouter latency P50 1.78 later and 1.83 first read, Ekonomi Köşesi TTFT 2.02, Artificial Analysis time to first answer token 48.00 including reasoning time.
First token versus first answer. The 48-second bar includes reasoning time; the others stop at the first token of any kind.

The second chart is the one to read twice. A first token at 1.5 to 2 seconds and a first answer token at 48 seconds are both true for the same model, because Step 5 reasons before it answers and Artificial Analysis counts the time until the answer starts. If your product shows the answer only, users wait for the reasoning. If it shows a reasoning stream, they see progress at once. Which route you pick does not change this; the effort level does, and that is covered in Step 5 reasoning effort: low, medium, high, xhigh, max. For the speed side in depth, see Step 5 tokens per second. OrcaRouter’s advice is to pilot instead of cutting over, noting that Artificial Analysis listed no speed for Step 5 on day one; the later 104 figure shows that gap has since closed, but the advice to measure your own workload still stands.

What limits apply on each route?

On the direct route, limits come from your cumulative cash top-up. On the gateways, the limits you hit are the gateway’s own plus whatever the upstream applies to the gateway’s account, and the pages we read do not publish them for Step 5.

StepFun’s pricing and rate limits page lists, for individual accounts, V0 (under $15 of top-up) at 5 concurrent requests, 100 requests per minute and 500,000 tokens per minute, rising to V4 ($1,500 and above) at 130, 2,600 and 13,000,000. Vouchers do not count toward tiers, and Step Plan usage follows monthly credits. The full table is in the Step 5 API formats post. If a V0 limit is your bottleneck, a gateway may or may not help, because it depends on how the gateway’s own upstream account is tiered, and neither OpenRouter’s page nor Vercel’s changelog says. Ask the gateway, or measure a burst test, before you plan capacity around it.

For subscription users, the Step Plan reasoning integration page says billing logic matches the open platform and converts the actual amount billed into credit consumption. The credit arithmetic is in StepFun Step Plan credits math.

What does it cost across routes, and what do you actually pay?

The list price is identical, so the real difference is the share of input served from cache and anything a gateway charges around tokens. For one 40,000-token prompt with a 4,000-token reply, the arithmetic is the same on every route: $0.040 input plus $0.0108 output is about $0.0508 uncached. At a 90% cache hit rate the input falls to $0.0076 and the total to about $0.0184. The cost-per-task numbers in the Step 5 cost per task analysis use the same three prices.

Where the routes can diverge is outside the token line: how the gateway funds credits, whether bring-your-own-key is allowed, and what rate limits you buy by paying more. Vercel’s changelog is explicit about no markup and no platform fee, including for bring-your-own-key. For OpenRouter and for any other gateway, use the pricing page of that gateway and our OpenRouter alternatives comparison rather than assuming a fee in either direction.

Which route should you choose?

What is your situation?

I want the simplest first call

Go direct to StepFun. One vendor, all three formats, and limits you can raise by topping up. Start at https://api.stepfun.ai/v1 with step-5.

I use coding agents all day

Look at a Step Plan subscription on the step_plan base URLs if your tools use Chat Completions or Messages, and compare against pay-as-you-go with the credits math. Or use Vercel's CLI setup if your agents already run through AI Gateway.

I already bill through OpenRouter

Use stepfun/step-5 on OpenRouter. It lists the same prices, one provider and no routing, so you get your existing bill and tooling. Check its EU in-region note if residency matters.

My stack is the Vercel AI SDK

Use stepfun/step-5 on Vercel AI Gateway. The changelog shows streamText with that model string, no markup and budgets per key.

I need weights, or data must stay in my network

None of these routes fits. Step 5 has no public weights; Step 5 Preview does. Read Step 5 API or Preview weights before you decide.

I want one key for many models

A gateway fits. Ours serves Step 5 as step-5:free at $0 per token inside the free daily allowance (33 requests a day); see the last sections for the limits and a first request.

Before you put Step 5 behind a gateway

0 of 6 ticked

Not yet

Run one same-prompt comparison direct and through the gateway before you commit.

Where does our own gateway fit, honestly?

Our gateway serves Step 5 as step-5:free, on the free lane. That is a different arrangement from the three routes above: there is no per-token bill at all, because StepFun’s $1.00 / $0.10 / $2.70 list price applies to its own API, while on ours the id costs $0 per token inside the free allowance. The limits are the trade. The allowance is 100 requests and 3,000,000 tokens a day per account, shared by every :free id, Step 5 counts as 3 requests (so 33 Step 5 requests a day), you get one key per person and one request at a time on free ids, and the counter refills at 00:00 UTC. On our gateway the model has a 1M-token context window, up to 64K output, image input, reasoning and streaming; the Messages and Responses formats, tool calling and video input in the table above are StepFun’s own API, not claims about ours. Details are on the gateway page and the Step 5 model page, which carries live usage stats.

If you want to compare other models while you decide, the free lane also lists ids such as moonshotai-kimi-k3.1-pro:free, z-ai-glm-5.3:free, deepseek-v4-flash-0731:free, gemma-4-31b-it:free, nvidia-nemotron-3-ultra-550b-a55b:free and gpt-6-luna:free. Our Step 5 vs Kimi K3.1 Pro comparison puts the two side by side, and the live rankings show which models handle real traffic. The sibling post Step 5 free alternatives and free LLM API options lists the free paths in more detail.

For the gateway-versus-gateway decision, our OpenRouter vs One AI API Key comparison, migration guide from OpenRouter and LLM gateway versus direct API post cover the general case. The routing and privacy documentation describes how our own requests flow. None of this is a claim about being better than OpenRouter or Vercel for Step 5. They sell paid production capacity at StepFun’s list price; our free lane is a capped allowance for trying the model.

Run it on the free lane

Create a key on the sign-up page, then send the same request you used on the other routes with a different base URL and model id. Chat Completions is the route to use on our gateway.

Step 5 on the free lane
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": "Write a TypeScript function that debounces another function."}],
  "stream": false
}'

Run your 30 comparison prompts here too and log the token counts and time to the first answer token next to the direct and OpenRouter results. You can also try the model by hand in the chat.

What should you do next?

Pick the route that matches what you already operate, then run the same 30 prompts direct and through that route, log tokens, cached tokens and time to the first answer token, and compare. If the gateway adds only convenience, keep it; if it changes behaviour on tools or JSON schema, go direct.

Then follow the cluster. The complete Step 5 guide links every Step 5 post, the API formats post covers the three request shapes, and the prompt caching math shows how the 86% to 94% cache shares become a price. If you are weighing renting against self-hosting, Step 5 API or Preview weights is the next read, and StepFun API pricing explained covers the three rates. Our pricing page and quickstart show what a key on our gateway costs and how to send a first request.

Try Step 5 on one key, free

Create an account and point an OpenAI-compatible client at the gateway with the model id step-5:free. Keep the model string in config, so switching to another route or model is a one-line change.

FAQ

What is the Step 5 model id on OpenRouter and Vercel AI Gateway?
It is stepfun/step-5 on both. On the StepFun platform directly the id is step-5. OpenRouter lists it as released on November 30, 2026, and the Vercel changelog is dated the same day.
Is Step 5 more expensive through OpenRouter or Vercel?
The listed token prices are the same, $1.00 input, $0.10 cache read and $2.70 output per 1M tokens. Vercel says it reflects provider pricing with no markup and no platform fee on inference. For OpenRouter, check its own fee terms for how you fund credits.
Does OpenRouter route Step 5 to multiple providers?
No. The OpenRouter page lists one provider, StepFun, serving fp8, and says OpenRouter forwards every request without routing. Whether Vercel uses more than one upstream is not stated in its changelog.
How fast is Step 5 on OpenRouter?
On 1 December 2026 the page showed a P50 throughput of 81 tokens per second and 1.83 s latency on one read, and 90 tokens per second and 1.78 s on a later read. Other sources report 104 to about 178 tokens per second under their own harnesses.
Why do the OpenRouter cache hit rate and price paid not match?
At StepFun prices, price paid should equal 1.00 minus 0.90 times the hit rate. A 93.2% rate gives $0.161, matching a later read. The first read showed 86.3% beside $0.1901, which implies 90.0%. The page does not explain the gap, so use price paid for budgeting.
Can I use Step 5 in Claude Code through a gateway?
Vercel says npx vercel ai-gateway setup works with Claude Code, Codex and Cursor, after which you select stepfun/step-5. StepFun also documents a direct Messages endpoint that Claude Code can use. Test tools and long sessions on the route you ship.
Can I call Step 5 through One AI API Key?
Yes. Use the model id step-5:free on https://api.oneaiapikey.com/v1. It is on the free lane: $0 per token, no card, within a daily allowance of 100 requests and 3,000,000 tokens per account. Step 5 counts as 3 requests, so you get 33 Step 5 requests a day.

Sources

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 →