Google: Gemma 2 9B
ID: google/gemma-2-9b-it
2,8 ₽
Запрос/ 1М
8,41 ₽
Ответ / 1М
—
Изображение вход /1М
—
Изображение выход /1М
8K
Контекст
—
Макс. ответ
Описание
Gemma 2 9B by Google is an advanced, open-source language model that sets a new standard for efficiency and performance in its size class.
Designed for a wide variety of tasks, it empowers developers and researchers to build innovative applications, while maintaining accessibility, safety, and cost-effectiveness.
See the launch announcement for more details. Usage of Gemma is subject to Google's Gemma Terms of Use.
Провайдеры для Google: Gemma 2 9B
Nebius
Статус
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: 'google/gemma-2-9b-it',
messages: [{
role: 'user',
content: 'Что думаешь об этой жизни?',
}],
});
console.log(completion.choices[0].message);
}
main();
Polza.AI — лучший выбор
для
Воспользуйтесь сервисом прямо сейчас. А если остались вопросы - запишитесь на демо