Skip to main content
AnyAIGC

iFLYTEK · SparkDesk-v3.5

SparkDesk-v3.5 API

IFLYTEK Spark Max tier (API version v3.5) for chat, knowledge Q&A, reasoning and code understanding. One API key, an OpenAI-compatible endpoint and the same price for input and output.

Turn these support chats into ticket summaries and suggest next steps

Multi-turn chatKnowledge Q&ACode understanding

SparkDesk-v3.5 costs $13.1040 per million input tokens and $13.1040 per million output tokens, with unlimited RPM and self-service invoices.

iFLYTEK's docs say the Max plan went offline on March 10, 2026, with the backend upgraded to Ultra. SparkDesk-v3.5 is still callable in the AnyAIGC model catalog; check the catalog for current availability.

  • Model ID SparkDesk-v3.5
  • Official tier Spark Max
  • Input $13.1040 / 1M
  • RPM Unlimited
  • Teams Self-service invoices
About the model

The 3.5 release of iFLYTEK Spark Max

SparkDesk-v3.5 is the 3.5 API release of iFLYTEK's Spark cognitive model and maps to the official Spark Max tier. The catalog describes it as a model with cross-domain knowledge and language understanding that carries out tasks through natural conversation, covering language understanding, knowledge Q&A, logical reasoning, math problem solving and code comprehension.

iFLYTEK's docs list an 8,192-token context window and an 8,192-token maximum output for this tier, with system prompts (Max and Ultra only) and a web search plugin (Pro, Max and Ultra). The doc says function calling requires the HTTP protocol and does not list it by tier. What works through AnyAIGC in practice is best confirmed in the API docs and with a test request.

On AnyAIGC, SparkDesk-v3.5 uses the OpenAI-compatible /v1/chat/completions endpoint with a single Bearer key. You do not need an iFLYTEK APPID, APIKey and APISecret or the official WebSocket signing. Billing is per token with no concurrency limit.

Model ID
SparkDesk-v3.5the model field, case-sensitive
Official tier
Spark Maxdomain: generalv3.5
Context window
8,192tokens, per official doc
Max output
8,192tokens, per official doc
Endpoint
Chat CompletionsPOST /v1/chat/completions
Input / output
Same price$13.1040 per 1M tokens each
Capabilities

What SparkDesk-v3.5 can do

  • 01

    Multi-turn conversation

    Understands and carries out tasks through natural conversation, a fit for support bots and assistants.

  • 02

    Knowledge Q&A

    Cross-domain question answering across common reference, office and industry topics.

  • 03

    Logical reasoning

    Works through multi-step conditions, rule checks and comparisons, then states a conclusion.

  • 04

    Math problem solving

    The catalog lists math problem solving, useful for tutoring and formula questions.

  • 05

    Code understanding

    Explains snippets, spots obvious errors and completes simple functions for developer tools.

  • 06

    System prompt

    The official doc lists the system role for the Max tier, so you can fix a persona and answer rules.

Pricing

SparkDesk-v3.5 API pricing

Billed per token at a fixed price, with no subscription or monthly fee. Input and output cost the same.

  • Per-token billingInput and output metered separately
  • Same input and output price$13.1040 per 1M each
  • Unlimited RPMOn by default for every account
  • USDOne balance for 300+ models
SparkDesk-v3.5 price per 1M tokens in USD
ItemModelAnyAIGC price (USD)
Inputper 1M tokensSparkDesk-v3.5$13.1040
Outputper 1M tokensSparkDesk-v3.5$13.1040

Prices are in US dollars and billed on the tokens you actually use. Input and output cost the same. These are the lowest catalog prices; live prices are on the AnyAIGC model catalog.

Cost examples

Estimated for typical usage by adding up the unit prices above.

  • 10,000 support answers

    800 input + 300 output tokens each

    $144.14

  • One long-document summary

    6,000 input + 800 output tokens

    $0.089

  • 1M input + 1M output

    1M input tokens + 1M output tokens

    $26.21

Compare

SparkDesk-v3.5, v3.1 or v2.1?

Choose v3.5 for system prompts, v3.1 for general chat and Q&A, and v2.1 for existing apps and low-cost tasks.

SparkDesk-v3.5, SparkDesk-v3.1 and SparkDesk-v2.1 compared, with AnyAIGC prices per 1M tokens in USD
ItemSparkDesk-v3.5SparkDesk-v3.1SparkDesk-v2.1
iFLYTEK tierSpark MaxSpark ProEarly 2.x release
API versionv3.5v3.1v2.1
Context / max outputofficial doc8,192 / 8,1928,192 / 8,192Not listed
System prompt (system role)official docSupportedNot supportedNot listed
AnyAIGC inputper 1M tokens$13.1040$13.1040$8.7360
AnyAIGC outputper 1M tokens$13.1040$13.1040$8.7360

Tiers and specs come from the iFLYTEK Open Platform docs. Prices are AnyAIGC's current prices; live prices are in the model catalog. Details: SparkDesk-v3.5, SparkDesk-v3.1, SparkDesk-v2.1.

Use cases

What SparkDesk-v3.5 is good for

  • 01 · Support

    Support answers and ticket summaries

    Pass a customer question and chat history to SparkDesk-v3.5 for a draft reply or a ticket summary, then have a person review it before sending.

  • 02 · Knowledge base

    Document and knowledge-base Q&A

    Put retrieved passages in the prompt and let the model answer from them. The context is about 8K tokens, so split long documents first.

  • 03 · Writing

    Copy rewriting and polishing

    Rewrite marketing copy, notices and emails. Input and output cost the same, so batch costs are easy to estimate.

  • 04 · Development

    Code explanation and simple completion

    Add code explanation or comment generation to an internal tool. For heavier engineering work, pick a model with a longer context.

Quickstart

Call the SparkDesk-v3.5 API in three steps

  1. Sign up and top up: create an account at anyaigc.ai. Top-ups start at $1, and the balance works across every model on the platform.
  2. Create an API key: make a token in the console, copy the key that starts with sk-, and store it in the ANYAIGC_API_KEY environment variable.
  3. Send a request: call POST https://anyaigc.ai/v1/chat/completions with model set to SparkDesk-v3.5 and Authorization: Bearer. With the OpenAI SDK, just set base_url to https://anyaigc.ai/v1.
POST /v1/chat/completions
curl https://anyaigc.ai/v1/chat/completions \
  -H "Authorization: Bearer $ANYAIGC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "SparkDesk-v3.5",
    "messages": [
      {"role": "user", "content": "Explain API rate limiting in three sentences"}
    ]
  }'
Python · openai SDK
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://anyaigc.ai/v1",
    api_key=os.environ["ANYAIGC_API_KEY"],
)

resp = client.chat.completions.create(
    model="SparkDesk-v3.5",
    messages=[
        {"role": "system", "content": "You are a patient support engineer. Keep answers short and give an example."},
        {"role": "user", "content": "A customer reports HTTP 429 from our API. How should I troubleshoot it?"},
    ],
)
print(resp.choices[0].message.content)
print(resp.usage)  # input / output tokens for this request
Python · stream=True
import os
from openai import OpenAI

client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])

stream = client.chat.completions.create(
    model="SparkDesk-v3.5",
    messages=[{"role": "user", "content": "Write five release notes for a SaaS product."}],
    stream=True,
)
for chunk in stream:
    if not chunk.choices:
        continue
    delta = chunk.choices[0].delta
    if delta.content:
        print(delta.content, end="", flush=True)
print()

Parameter tip: the model ID is case-sensitive, so write SparkDesk-v3.5. The response format matches OpenAI Chat Completions, and token counts for the request are in the usage field. The context is limited, so split or retrieve long documents before asking.

See the Chat Completions reference for every parameter. Swap the model name in the examples for the SparkDesk model ID.

Enterprise

SparkDesk-v3.5 API for teams and enterprises

Teams can top up, issue invoices themselves, and work with a dedicated support and technical contact.

  • Invoices

    Issue them yourself

    Issue an invoice in the console for the amount you actually topped up, whenever you need one.

  • Dedicated support

    Account and technical contacts

    Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.

Payment methods
  • WeChat Pay
  • Alipay
  • USDT
  • Credit card

Why teams trust AnyAIGC

Trial credit, top-ups, refunds, data handling and billing, spelled out up front.

  • 5M free tokens to start

    New accounts get trial credit, so you can test before you top up.

  • Top up from $1, refundable

    Top up from $1. Unused balance can be refunded with no fee.

  • Official channels, real models

    Requests go to official model channels, never cheaper or reverse-engineered substitutes.

  • No retention, no training

    Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.

  • Transparent billing, spend caps

    See tokens and cost for every request in the console, and set a quota on each API key.

  • 24/7 support

    Contact support any time about integration, billing or incidents.

SPECS

Specs and how to choose it

In iFlytek's official WebSocket docs, the v3.5 endpoint (wss://spark-api.xf-yun.com/v3.5/chat) maps to Spark Max, with domain generalv3.5.

The docs set Max's max_tokens range at 1 to 8192, default 4096.

Per the docs, Max supports the web search plugin and, like Ultra, can return the titles and URLs of web sources it used.

This page lists Input at $13.1040, Output at $13.1040, matching the pricing table above.

If you don't need the web source titles and URLs, sparkdesk-v3.1 (Pro) also supports web search and has the same 8192 max_tokens cap.

Specs come from the vendor's official documentation (xfyun.cn). The table on this page is the price, and the model catalog is authoritative for live rates.

FAQ

SparkDesk-v3.5 API FAQ

How much does the SparkDesk-v3.5 API cost?

On AnyAIGC, SparkDesk-v3.5 is billed per token: $13.1040 per million input tokens and $13.1040 per million output tokens, the same for both. Prices are fixed, with no subscription or monthly fee. Live prices are in the model catalog.

What is the SparkDesk-v3.5 model ID, and how does it relate to iFLYTEK Spark?

The model ID is SparkDesk-v3.5 (case-sensitive). It is a release of iFLYTEK's Spark cognitive model, and AnyAIGC exposes it through an OpenAI-compatible API. It is unrelated to Apache Spark or the Spark email app.

How do I choose between SparkDesk-v3.5 and the other SparkDesk models?

SparkDesk-v3.1 and SparkDesk-v2.1 are the other two in the series. A higher version number maps to a newer iFLYTEK tier: v3.5 is Max, v3.1 is Pro, and v2.1 is an early 2.x release. Pick v3.5 if you need a system prompt. Consider v2.1 when cost matters most and quality needs are modest, and test on your own data before launch. All three charge the same for input and output on AnyAIGC.

Is SparkDesk compatible with the OpenAI API, and how do I call it?

Yes. SparkDesk-v3.5 uses POST https://anyaigc.ai/v1/chat/completions, and requests and responses match OpenAI Chat Completions. With the official OpenAI SDK, set base_url to https://anyaigc.ai/v1. You do not need iFLYTEK's WebSocket signing, only Authorization: Bearer.

How large is the SparkDesk-v3.5 context window?

iFLYTEK's docs list an 8,192-token context window and an 8,192-token maximum output for this tier, so split long documents or retrieve passages before asking. Confirm actual behavior with a test request through AnyAIGC.

Is there a rate limit?

AnyAIGC sets no concurrency limit on SparkDesk-v3.5, and every account gets this by default, so batch jobs and parallel tasks are fine. Billing is per token, with no monthly fee or time-window quota.

Is SparkDesk-v3.5 deprecated?

iFLYTEK's docs say the Max plan went offline on March 10, 2026, with the backend upgraded to Ultra. SparkDesk-v3.5 is still callable in the AnyAIGC model catalog today; check the catalog for current availability.

How do I get a SparkDesk-v3.5 API key?

Sign up and top up at anyaigc.ai, then create a token in the console. One key works for 300+ models on the platform, so you do not need an iFLYTEK Open Platform APPID, APIKey and APISecret. Set model to SparkDesk-v3.5 in the request body.

Can I get an invoice from AnyAIGC?

Yes. You can issue invoices yourself in the console, for the amount you actually topped up.

Which payment methods are supported?

You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.

Is there free trial credit for new users?

Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.

Can I get a refund on my balance?

Yes. Unused balance can be refunded with no fee. Contact support to start a refund.

Are these the real models? Is my data safe?

Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.

Are my prompts used for training?

No. Unless the law requires it, AnyAIGC does not persistently store your prompts or outputs and does not use them for training. Requests are encrypted with HTTPS. See the AnyAIGC Privacy Policy. The model vendor's own data policy is governed by iFLYTEK's terms.

Call SparkDesk-v3.5 with one key

Sign up, create an API key and call SparkDesk-v3.5 in minutes. Your balance works across 300+ models on the platform.