StepFun API Deep Dive: stepaudio-3 Multimodal Free Preview, Native CORS Wildcard * & Prepaid Zero-Risk Policy
Founded by Dr. Jiang Daxin, former Microsoft Partner and Global Vice President, StepFun (阶跃星辰) stands among China’s premier frontier AI unicorns. Leveraging proprietary hundred-billion and trillion-parameter Mixture-of-Experts (MoE) architectures, StepFun has built an exceptional reputation across complex reasoning, computer vision, and unified audio intelligence.
In our October 2026 benchmark verification of StepFun’s Developer Platform, we evaluated their infrastructure and API economics using the standardized 5-step methodology, unveiling several remarkable developer advantages:
- 🎙️ stepaudio-3 Multimodal Suite Limited-Time Free: Uncapped zero-cost access to
stepaudio-3-realtime-preview,stepaudio-3-chat-preview,stepaudio-3-gen-preview, andstepaudio-3-music-previewupon real-name identity verification! - 🌐 Rare Native Wildcard CORS Openness: Validated via OPTIONS preflight returning
Access-Control-Allow-Origin: *—one of only 5 major vendors to support direct browser single-page applications (SPA) and extension fetch calls! - 💰 Disruptive Paid Inference Pricing: Flagship
step-3.5-flashis priced at an astonishing $0.10 / 1M input tokens ($0.30 output, $0.02 cached)—delivering enterprise-grade reasoning at 1/10th the cost of comparable models. - 🔒 Strict Prepaid Architecture: Balances deplete cleanly with
HTTP 402 Payment Required(orHTTP 429on rate throttling), entirely eliminating the risk of unexpected credit card auto-debits or runaway invoices.
This guide provides a thorough breakdown of StepFun’s free tiers, CORS mechanics, rate tiers, and 5 crucial engineering gotchas.
1. Core Policy & 5-Step Benchmark Matrix
| Dimension | Measured Status & Official Policy | Key Takeaways & Recommendations |
|---|---|---|
| Free Tier Type | 🟢 voucher (Limited-time promotional model tier) | stepaudio-3 series 4 audio/music models currently 100% free |
| Activation Requirement | Mainland mobile + Chinese Citizen ID Verification | Personal accounts must pass identity check before calling API |
| Free Quota Bucket | Uncapped calls during promotional trial period | ⚠️ Explicitly labeled “Limited time”; test prototypes promptly |
| CORS Preflight | 🟢 Fully Open (Wildcard *) | access-control-allow-origin: *, ideal for client-side apps |
| Network & Hosting | 🇨🇳 Mainland Direct Connection (Volcengine WAF) | api.stepfun.com offers ~140ms latency; global .ai runs independently |
| Billing Architecture | 🔒 Strict Prepaid (Zero overdraft risk) | Quota exhaustion cleanly returns HTTP 402; no card auto-debits |
| Compliance Filter | ⚠️ HTTP 451 (Content moderation block) | Triggers on sensitive input/output; handle 451 gracefully in frontend |
Verified CORS Evidence (cURL OPTIONS)
$ curl -sI -X OPTIONS 'https://api.stepfun.com/v1/chat/completions' \
-H 'Origin: https://example.com' \
-H 'Access-Control-Request-Method: POST' \
-H 'Access-Control-Request-Headers: authorization,content-type'
HTTP/2 204
access-control-allow-origin: *
access-control-allow-credentials: true
access-control-allow-methods: GET, PUT, POST, DELETE, PATCH, OPTIONS
access-control-max-age: 86400
2. Model Catalog & Pricing Landscape
1. Limited-Time Free Models (Audio & Music Multimodal)
Once real-name verification is complete, developers can invoke the following frontier audio models with zero balance required:
stepaudio-3-realtime-preview: End-to-end low-latency conversational audio inference designed for bidirectional voice agents;stepaudio-3-chat-preview: Multi-turn spoken conversational model with natural speech prosody and emotional cadence;stepaudio-3-gen-preview: Unified audio synthesis model supporting expressive text-to-speech (TTS) and timbre adaptation;stepaudio-3-music-preview: Text-to-music generation model capable of synthesizing complete tracks across classical, pop, jazz, and electronic genres.
2. High-Value Commercial Models (Prepaid Balance)
step-3.5-flash($0.10 input / $0.30 output per 1M tokens, $0.02 cache): A lightning-fast multimodal reasoning model offering benchmark accuracy comparable to mainstream frontier models at a fraction of the cost;step-3.7-flash/step-5-preview: Advanced chain-of-thought reasoning models engineered for complex algorithmic synthesis and code execution.
3. 5 Essential Engineering Gotchas
1. ⚠️ Limited-Time Free Status May Conclude Without Advance Notice
StepFun explicitly documents the stepaudio-3 suite as “Free (limited time)”. Because no formal sunset date has been published, developers should implement fallback logic for production environments when the promotional phase transitions to metered billing.
2. ⚠️ Text & Reasoning Flagships Require Prepaid Top-Ups
Calling text models like step-3.5-flash without depositing credits will return HTTP 402 (balance insufficient). The free tier exclusively covers the stepaudio-3 suite; text inference requires minimum balance recharge ($1+) or a Step Plan subscription.
3. ⚠️ Citizen ID Real-Name Verification Mandatory for Domestic Keys
Activating an API key on platform.stepfun.com requires authenticating a Chinese Citizen ID. Unverified accounts cannot generate usable keys on the domestic platform.
4. ⚠️ Domestic (.com) and Global (.ai) Platforms Are Completely Disjoint
StepFun maintains two isolated portals:
- Domestic:
https://api.stepfun.com/v1(Mainland CDN/WAF) - International:
https://api.stepfun.ai/v1(Aliyun Overseas ALB) Accounts, credits, andsk-API keys are strictly partitioned and cannot be used interchangeably across endpoints.
5. ⚠️ Compliance Guardrails Return HTTP 451
StepFun enforces active regulatory content moderation filters. When a prompt or generated token stream violates compliance rules, the API immediately halts with HTTP 451 (Unavailable For Legal Reasons). Client applications must catch this status code and display appropriate user messaging.
4. Quickstart Code Snippets
1. Python (OpenAI SDK Compatible)
import os
from openai import OpenAI
# Initialize client using your StepFun sk- credential
client = OpenAI(
api_key=os.environ.get("STEP_API_KEY", "your_stepfun_api_key"),
base_url="https://api.stepfun.com/v1"
)
response = client.chat.completions.create(
model="stepaudio-3-chat-preview",
messages=[
{"role": "system", "content": "You are StepFun's audio assistant, capable of natural conversational reasoning."},
{"role": "user", "content": "Explain your multimodal audio capabilities in two concise sentences."}
],
temperature=0.7
)
print(response.choices[0].message.content)
2. cURL Command-Line Verification
curl -X POST "https://api.stepfun.com/v1/chat/completions" \
-H "Authorization: Bearer $STEP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "stepaudio-3-chat-preview",
"messages": [{"role": "user", "content": "Which number is larger: 9.11 or 9.8?"}],
"temperature": 0.3
}'
5. Three-Step Onboarding Guide
- Register & Verify: Visit platform.stepfun.com, register with a phone number, and complete national ID verification in Account Settings;
- Generate API Key: Navigate to “API Keys” section and create an
sk-credential; - Configure & Connect: Set Base URL to
https://api.stepfun.com/v1, selectstepaudio-3-chat-previeworstepaudio-3-realtime-preview, and start experimenting with cutting-edge audio multimodal AI at zero upfront cost!