xAI's fast and cost-effective model with 2M token context window. Offers both reasoning and non-reasoning modes at significantly lower pricing than flagship models.
2.0M tokens
1
Доступна
Самый доступный
xAI
$0.70/1M tokens
xAI
Сортировка по общей стоимости входных и выходных токенов за 1 млн. Выберите строку, чтобы открыть страницу провайдера.
| Провайдер | Цена за 1 млн | Лимиты | Регионы | Состояние | Задержка |
|---|---|---|---|---|---|
Вход: $0.20Выход: $0.50 | 500 RPM / 1.0M TPM | us-east-1global | Работает | 0ms |
Используйте эту модель через xAI с OpenAI-совместимым SDK.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.xai.com/v1",
apiKey: process.env.XAI_API_KEY,
});
const response = await client.chat.completions.create({
model: "grok-4-1-fast-reasoning",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message.content);API xAI · OpenAI-совместимый SDK