iFlytek Spark Lite
Free QuotasiFlytek's Spark Lite is a lightweight Chinese LLM that the official HTTP API docs describe as "支持免费使用" (free to use). The endpoint works with the OpenAI SDK, using the APIPassword from the console as the Bearer key.
Rate Limit
Max Context
Cost
$0
.00
Quick Start
API Endpoint
https://spark-api-open.xf-yun.com/v1
iFlytek Spark Lite at a glance
-
Free tier: Permanent free tier
-
Sign-up: Phone number verified at sign-up
-
Limits: Not published on the HTTP doc
-
Models: 1 free model listed
Example: Making Your First Request
from openai import OpenAI
client = OpenAI(
api_key="YOUR_IFLYTEK_SPARK_KEY",
base_url="https://spark-api-open.xf-yun.com/v1"
)
response = client.chat.completions.create(
model="lite",
messages=[
{"role": "user", "content": "Give me three tips for writing clean code."}
]
)
print(response.choices[0].message.content)
Free Models
| Model Name | ID | Context | Capabilities |
|---|---|---|---|
| Spark Lite |
lite
|
N/A |
|
Current Limits
Request Limits
-
Rate LimitNot published on the HTTP doc
-
Daily LimitNot published (Lite is free)
Token Limits
Throughput
N/A
Key Features
Common Use Cases
Free Chinese chatbot backend
simple Chinese text tasks
Known Limitations
- Small 8K context, 4K max output
- no function calling on Lite
- needs an iFlytek account with Chinese phone/real-name verification
Quick Start Guide
Register at xfyun.cn and create an app
copy the Spark Lite APIPassword in the console
call https://spark-api-open.xf-yun.com/v1/chat/completions with model "lite"
Frequently Asked Questions
How do I get an API key?
Getting your iFlytek Spark Lite API key is simple:
- Visit the official iFlytek Spark Lite website
- Sign up for a free account (no credit card required)
- Navigate to the API section in your dashboard
- Generate your API key and start using it immediately
Are there free quotas?
Yes! iFlytek Spark Lite offers a generous free tier with no credit card required. Check the provider's website for current terms and conditions regarding free tier availability and duration.
What happens if I exceed the free limits?
If you reach the rate limit, your requests will be temporarily throttled. The limits reset automatically after the specified time period. You can always monitor your usage in the provider's dashboard.
Is my data secure?
iFlytek Spark Lite takes security seriously. All API communications are encrypted via HTTPS. Check their privacy policy and terms of service for detailed information about data handling and retention policies.
Make your first call to iFlytek Spark Lite
Create a key on the official site and make your first call with the examples on this page. Free limits can change, so check them before you ship.