SparkDesk-v2.1
NixAPI price, from
USD per 1M tokens · via group Spark-1 · Official list price $5.883 / $5.883
About SparkDesk-v2.1
SparkDesk-v2.1 is a next-generation cognitive AI large model from iFlytek Spark. It features cross-domain knowledge and language understanding, enabling task execution through natural conversation, with capabilities in language understanding, knowledge Q&A, logical reasoning, math problem solving, and code understanding.
Price by routing group
Pick a group in the console when you create a key. Status is live from the router. Live status by group →
| Group | Group status | Model status | Multiplier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|---|
Spark-1 | … | ×1.859 | $10.936 | $10.936 | — | — |
USD per 1M tokens
Supported endpoints
Call SparkDesk-v2.1 in one request
Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.
curl https://api.nixapi.com/v1/chat/completions \
-H "Authorization: Bearer $NIXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "SparkDesk-v2.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.nixapi.com/v1", api_key="sk-…")
resp = client.chat.completions.create(
model="SparkDesk-v2.1",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const resp = await client.chat.completions.create({
model: "SparkDesk-v2.1",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);Questions about SparkDesk-v2.1
How much does SparkDesk-v2.1 cost on NixAPI?
From $10.936 per 1M input tokens and $10.936 per 1M output tokens in the Spark-1 group. Prices are pay-as-you-go in USD with no monthly minimum.
How do I call SparkDesk-v2.1?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "SparkDesk-v2.1".
Which routing groups serve SparkDesk-v2.1?
SparkDesk-v2.1 is available in 1 routing groups: Spark-1. The lowest price is in Spark-1.