iFlytek Spark Lite

Free Quotas

iFlytek'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.

1
Free Models
Community Verified
Phone Verification Free Tier OpenAI-Compatible

Rate Limit

Maximum requests per time period
Not published on the HTTP doc

Max Context

Maximum tokens the model can process
N/A

Cost

$0

.00

FREE Phone number required, no card

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 Limit
    Not published on the HTTP doc
  • Daily Limit
    Not published (Lite is free)

Token Limits

Throughput

N/A

Key Features

Permanently free Lite model
OpenAI SDK compatible
strong Chinese-language ability

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

1

Register at xfyun.cn and create an app

2

copy the Spark Lite APIPassword in the console

3

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:

  1. Visit the official iFlytek Spark Lite website
  2. Sign up for a free account (no credit card required)
  3. Navigate to the API section in your dashboard
  4. 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.

Permanent free tier
Phone number required, no card
Get API Key