What is Spark X2-Flash
Spark X2-Flash is a MoE architecture large language model released by iFlytek, with 30B total parameters, supporting 256K ultra-long context, trained on Huawei Ascend 910B domestic computing cluster. The model is designed for the Agent era, performing close to trillion-parameter models in scenarios such as agent task execution, code generation, and deep research, with token consumption cost less than one-third of mainstream large models. The model achieves efficient training and inference through technologies such as DSA sparse attention and MTP multi-token prediction, and has opened API and integrated intoAstronClaw、Loomyand other platforms.
Main Features of Spark X2-Flash
-
Agent Task Execution: Supports complex Agent workflows such as deep research report generation, Skill management and invocation, system control and execution, with results close to trillion-parameter models.
-
Code Generation: Can quickly generate complex Skills (such as AI video generation Skill), including complete descriptions of skill structure, core functions, use cases, etc.
-
Ultra-long Context Processing: Supports a maximum context window of 256K, meeting the consumption needs of hundreds of thousands or even millions of tokens in long-chain Agent tasks.
-
Multi-platform Integration: Has been integrated into products such as AstronClaw, Loomy, and is compatible with mainstream Agent frameworks such as OpenClaw, Claude Code, etc.
-
API Service: Provides API calls through iFlytek Open Platform, Xingchen MaaS Platform, and Xingchen Coding Plan has fully supported this model.
Technical Principles of Spark X2-Flash
-
MoE Architecture: The model adopts a mixture of experts architecture, with 30B total parameters, achieving higher efficiency while maintaining performance.
-
Domestic Computing Power Training: Training completed on Huawei Ascend 910B cluster, deeply optimized through operators and distributed training strategies tailored to domestic chips.
-
Agent Data Closed Loop: Builds a verifiable large-scale agent data automatic synthesis platform, where Agents autonomously set up environments and detect result accuracy, achieving efficient data synthesis and closed loop.
-
Efficient Long-text Training: First to achieve the combination of DSA (sparse attention) and MTP (multi-token prediction) on domestic computing power, expanding context to 256K, with training efficiency improved from 20% to 90% compared to A800 clusters of the same scale.
-
Sampling Decoding Efficiency Optimization: In reinforcement learning training scenarios, through algorithmic and engineering innovations, sampling decoding efficiency is improved by up to more than 2 times, alleviating the computing power obstacles of RL training in long-interaction scenarios.
Key Information and Usage Requirements of Spark X2-Flash
-
Model Name: Spark X2-Flash
-
Publisher: iFlytek / iFlytek Open Platform
-
Model Architecture: MoE (Mixture of Experts), 30B total parameters
-
Context Window: Maximum support 256K
-
Training Computing Power: Huawei Ascend 910B domestic cluster
-
Integrated Platforms:AstronClaw、Loomy
-
API Entry: iFlytek Open Platform, Xingchen MaaS Platform
-
Compatible Frameworks: Mainstream Agent frameworks such as OpenClaw, Claude Code, etc.
- Usage Requirements:
-
Developers can call the API through iFlytek Open Platform or Xingchen MaaS Platform
-
Spark Coding Plan now fully supports this model, and both new and existing users can switch to it on their own.
-
Core Advantages of Spark X2-Flash
-
Extremely high cost-effectiveness: For complex Agent tasks, performance approaches that of trillion-parameter models, while token consumption is less than one-third that of mainstream large models.
-
Self-controllable domestic computing power: Trained on a Huawei Ascend 910B cluster, running efficiently on a domestic computing architecture.
-
Ultra-long context: A 256K context window, meeting the long-chain requirements of complex agent workflows.
-
Breakthrough in training efficiency: Through DSA+MTP technology, training efficiency on domestic computing power has increased from 20% to 90%.
-
Fast inference speed: Sampling and decoding efficiency is improved by more than 2x at most, and reinforcement learning training time is greatly reduced.
-
Agent-native optimization: Deeply compatible with mainstream Agent frameworks such as OpenClaw, and supports a closed loop for automatic agent data synthesis.
-
Rapid ecosystem integration: Already integrated with applications such as AstronClaw and Loomy, so developers can use it immediately.
Comparison of Spark X2-Flash with Similar Competitors
| Comparison Dimension | Spark X2-Flash | DeepSeek-V3 | Qwen2.5-72B |
|---|---|---|---|
| Parameter Scale | 30B(MoE) | 671B MoE (37B activated each time) | 72B(Dense) |
| Context Window | 256K | 128K | 128K |
| Model Architecture | MoE | MoE | Dense (dense architecture) |
| Training Compute | Huawei Ascend 910B (domestic) | NVIDIA H800 cluster | Multiple types of GPUs such as NVIDIA/AMD |
| Open Source Status | Closed source (API service) | Open source (can be deployed locally) | Open source (can be deployed locally) |
| Agent Adaptation | Native optimization, deeply compatible with OpenClaw and Claude Code | Strong general capabilities, Agent ecosystem relies on the community/third parties | Strong general capabilities, Agent ecosystem relies on the community/third parties |
| Task Performance | Approaches trillion-parameter models | Approaches GPT-4o level, outstanding in mathematics/code | Excellent overall capabilities, good multilingual support |
| Token Cost | Less than 1/3 of mainstream large-size models | API pricing is relatively low (about 1/10 of GPT-4o) | API pricing is relatively low (about 1/20 of GPT-4o) |
| Core Positioning | The cost-effective engine of the Agent era | High-performance open-source foundation model | Flagship model of the open-source ecosystem |
Application Scenarios of Spark X2-Flash
-
Complex Agent workflows: In-depth research report generation, multi-step task decomposition and execution, and multi-turn context reading and correction.
-
Skill/tool development: Automatically generate and manage complex Skills (such as AI video generation Skills), including structure definitions, core functions, and usage examples.
-
Code generation and system control: Scenarios requiring coding capabilities, such as writing scripts, executing system commands, and automated operations and maintenance.
-
Long document analysis: Process ultra-long documents, papers, and reports based on a 256K context for summarization, extraction, and question answering.
-
Multimodal task orchestration: As the Agent's brain, it schedules multi-platform toolchains such as text-to-video and image-to-video (e.g., Kling, Runway, Pika, etc.).