iFLYTEK Spark (Spark LLM)

● 24h Uptime 99.8% (National Lab Infrastructure)

Lite is 0 cost forever · X2.5 Flagship 50% off at ¥1.6/M · No hidden charges

💡 HIGHLIGHT

iFLYTEK Spark Starter Guide: Spark Lite Permanent Free Unlimited Tokens & Instant Setup

⚡ Speed & Latency
140ms ~ 290ms
Direct fiber link to Hefei supercomputing node, snappy response
🎁 Free Quota & Policy
Spark Lite permanently free · Unlimited tokens
2 QPS (120 RPM) · Zero KYC or credit card · 200k tokens per paid model
🛡️ Auth & Access Requirements
Quick mobile SMS sign-up (no KYC/no card)
Copy APIPassword from dashboard as Bearer Token, 100% OpenAI-compatible
📊 Concurrency & Context
2 QPS Free Concurrency (120 RPM) · 8K Context
Proven edge in Chinese administrative writing, grammar checking & voice interaction

🔌 OpenAI-Compatible Base URL

https://spark-api-open.xf-yun.com/v1

💡 Directly paste the address above as Base URL into any OpenAI-compatible client (NextChat, Cherry Studio, Immersive Translate, etc.).

📋 Featured Models:

Click Model ID to copy
Permanent Free lite
Flagship permanent free model with unlimited tokens, snappy response for daily chat
Edge Free Spark-X2.5-1.7B
1.7B lightweight edge model on Xingchen MaaS with 1M context, permanently free
Limited Free Spark-X2.5-4B
4B parameter edge model with 1M context window, free during promotional beta
X2.5 Flagship 4.0Ultra
Top-tier 4.0 Ultra model with X1.5 quick-thinking mode and Function Call support

🎁 Free Tier Reality & Limits

Spark Lite permanently free (unlimited tokens, 2 QPS limit) + free edge models
🔄 Reset Cycle Permanent continuous free supply (unlimited tokens, no daily/monthly reset needed)
🛡️ Overage Behavior No overage fees (Lite model is non-billable; paid models safely halt on quota depletion)
📋 Access Requirements
✓ No Credit Card 📱 Phone Only (No Real-name)

iFLYTEK Spark is one of the rare premier Chinese foundation model platforms providing a genuine 'permanent free + unlimited tokens' tier for all individual developers.

The flagship lightweight model Spark Lite (model: lite) provides continuous zero-cost inference with minimal registration friction—just a mobile phone SMS verification without real-name KYC or credit card binding!

⚠️ Worth Knowing & Gotchas

⚡ 2 QPS Rate Limit Constraint

Spark Lite enforces a 2 QPS (2 requests per second, equivalent to 120 RPM) rate limit per account. Ideal for personal chat and prototype development; concurrent bursts will return error code 11202.

🌐 CORS Restricted: Backend Proxy Recommended

iFLYTEK's API gateway does not return Access-Control-Allow-Origin headers. Browser-based client-side fetches will be blocked by CORS; use backend proxy routes or desktop tools like NextChat / ChatBox.

🛠️ Lite Model Capabilities & Scope

Lite supports JSON mode and streaming, with an 8K input window (4K maximum output). It does not support web search plugins or Function Calling (which require 4.0Ultra or Max tiers).

🔑 Straightforward Auth: APIPassword as Bearer Token

The HTTP API conforms to standard OpenAI specifications. Forget legacy HMAC signature generation—simply pass your dashboard APIPassword in the Authorization: Bearer <APIPassword> header.

🚀 30-Second Quick Setup Guide

01

Register on iFLYTEK Open Platform

Access the console (https://console.xfyun.cn/services/bmx1) and log in with your mobile SMS code, skipping ID card and payment binding.

02

Create App & Retrieve APIPassword

Locate or create your LLM application in the console, navigate to service credentials, and copy your APIPassword.

03

Configure OpenAI Client

Set Base URL to https://spark-api-open.xf-yun.com/v1, enter APIPassword as API Key, select model lite, and start querying unlimited free tokens!

💻 Quick Python OpenAI SDK Example

from openai import OpenAI

client = OpenAI(
    api_key="your_api_key_here",  # 填入申请的 Key
    base_url="https://spark-api-open.xf-yun.com/v1"
)

response = client.chat.completions.create(
    model="lite",
    messages=[
        [object Object]
    ]
)

print(response.choices[0].message.content)

📖 Related In-Depth Tutorials & Strategies

Guides →
← Radar 🚀 Toolbox