01.AI's flagship large language model with enhanced Mixture-of-Experts architecture. Ranked 6th on Chatbot Arena with particularly strong results in Chinese, Math, Coding, and Hard Prompts categories. Features advanced expert segmentation and optimized KV-caching.
131K tokens
1
可用
价格最低
01.AI
$1.98/1M tokens
01.AI
按每百万输入与输出 token 的总成本排序。选择一行可查看提供商详情。
| 提供商 | 价格(每百万) | 速率限制 | 区域 | 状态 | 延迟 |
|---|---|---|---|---|---|
输入: $0.99输出: $0.99 | 200 RPM / 800K TPM | us-east-1global | 正常 | 0ms |
通过 01.AI 使用此模型,兼容 OpenAI SDK。
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.01-ai.com/v1",
apiKey: process.env.01_AI_API_KEY,
});
const response = await client.chat.completions.create({
model: "yi-lightning",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message.content);使用 01.AI API · 兼容 OpenAI SDK