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
Disponible
Más económico
01.AI
$1.98/1M tokens
01.AI
Ordenados por coste total (entrada y salida por 1 millón de tokens). Selecciona una fila para ver los detalles del proveedor.
| Proveedor | Precio (por 1 M) | Límites | Regiones | Estado | Latencia |
|---|---|---|---|---|---|
Entrada: $0.99Salida: $0.99 | 200 RPM / 800K TPM | us-east-1global | Operativo | 0ms |
Usa este modelo mediante 01.AI con un SDK compatible con OpenAI.
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);API de 01.AI · SDK compatible con OpenAI