SuperAPIAI Directory

Yuan2.0-M32 vs API documentation

Metrics & specs comparison

Yuan2.0-M32

Yuan2.0-M32 is a large language model using a Mixture-of-Experts (MoE) architecture, with a total parameter count of 40B, activating 2 experts at a time and 3.7B activated parameters. It proposes and adopts a new routing network, Attention Router, to improve the efficiency and accuracy of expert selection, achieving a 3.8% accuracy improvement over models using classic routing networks. The model was trained from scratch on 2000B tokens, and its training compute is only 9.25% of that of a dense model of comparable parameter scale. It is competitive in multiple specialized domains such as coding and mathematics, reaching 55.9% and 95.8% accuracy on the MATH and ARC-Challenge benchmarks respectively, surpassing Llama3-70B. Its forward computation per token is 7.4 GFLOPS, only 1/19 of Llama3-70B. The sequence length supports 16K. The related code and model have been open-sourced on GitHub and released on ModelScope and Hugging Face.

API documentation

Grok Voice API is a collection of voice capability interfaces provided by xAI, powered by the Grok model and aimed at building voice agents and voice processing applications. It mainly includes three types of capabilities: real-time speech-to-speech conversation (based on WebSocket, supporting low-latency turn-taking dialogue and tool calling), text-to-speech (offering a variety of expressive multilingual voices, supporting inline speech tags and output formats ranging from high-fidelity MP3 to telephony μ-law, and supporting single requests or WebSocket streaming), and speech-to-text (default model grok-voice-transcribe-2.0, supporting 15 audio formats, word-level timestamps, multiple channels, speaker diarization, Smart Turn end detection, and more than 38 languages). In addition, it supports cloning custom voices from short reference audio, and the generated voice_id can be used in scenarios where built-in voices apply, including streaming TTS and the real-time speech-to-speech API. Client applications can use Ephemeral Tokens to connect securely without exposing API keys. The official documentation emphasizes enterprise-grade reliability and sub-second latency, and provides compliance and security capabilities such as zero data retention, BAA, data processing agreements, EU data residency, regional processing, multi-region high availability, SAML SSO, role-based access, and audit logs.

DimensionYuan2.0-M32API documentation
CategoryAI developer platformsAI developer platforms
Monthly visits—
38.9M
MoM—+13.5%
Global rank—#1,364
Avg. visit—2m 02s
AI referrals—51.0%
Pricing开源项目(可免费自部署)—
PlatformsLinuxWeb · iOS
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools