xAI: Grok 4.20
ID: x-ai/grok-4.20
184,97 ₽
Запрос/ 1М
554,9 ₽
Ответ / 1М
—
Изображение вход /1М
—
Изображение выход /1М
2M
Контекст
—
Макс. ответ
Описание
Grok 4.20 is xAI's newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently precise and truthful responses.
Reasoning can be enabled/disabled using the reasoning enabled parameter in the API. Learn more in our docs
Провайдеры для xAI: Grok 4.20
xAI
Статус
API и примеры кода
Наш сервис предоставляет единый API, совместимый с OpenAI SDK. Просто укажите наш base_url и используйте ключ, полученный в личном кабинете.
import OpenAI from 'openai';
const openai = new OpenAI({
baseURL: 'https://polza.ai/api/v1',
apiKey: '<POLZA_AI_API_KEY>'
});
async function main() {
const completion = await openai.chat.completions.create({
model: 'x-ai/grok-4.20',
messages: [{
role: 'user',
content: 'Что думаешь об этой жизни?',
}],
});
console.log(completion.choices[0].message);
}
main();
Polza.AI — лучший выбор
для
Воспользуйтесь сервисом прямо сейчас. А если остались вопросы - запишитесь на демо