Для мобильных и веб-приложений SDK Firebase AI Logic позволяют взаимодействовать с поддерживаемыми моделями Gemini непосредственно из вашего приложения.
Модели Gemini считаются мультимодальными, поскольку они способны обрабатывать и даже генерировать несколько модальностей, включая текст, код, PDF-файлы, изображения, видео и аудио.
Также ознакомьтесь с разделом часто задаваемых вопросов (FAQ) , где представлена информация о моделях, которые поддерживает и не поддерживает Firebase AI Logic .
Представленные модели
Gemini 3.7 Flash
gemini-3.7-flash
Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене.
Фонарь Gemini 3.5 Flash-Lite
gemini-3.5-flash-lite
Высокопроизводительная, экономичная и надежная рабочая лошадка, обладающая производительностью и качеством серии Gemini 3.
Изображение, полученное с помощью вспышки Gemini 3.1 ( Nano Banana 2 )
gemini-3.1-flash-image
Мощная и высокоэффективная модель генерации и редактирования изображений, оптимизированная для быстрого и высокопроизводительного использования в больших объемах.
Модели общего назначения
Перейти к таблицам с подробными сведениями о модели
Gemini 3.1 Pro
gemini-3.1-pro-preview
Высокий уровень интеллекта, сложные навыки решения проблем, а также мощные возможности кодирования действий агентов и атмосферы.
Gemini 3.7 Flash
gemini-3.7-flash
Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене.
Фонарь Gemini 3.5 Flash-Lite
gemini-3.5-flash-lite
Высокопроизводительная, экономичная и надежная рабочая лошадка, обладающая производительностью и качеством серии Gemini 3.
Более старые, стабильные модели общего назначения
Gemini 3.6 Flash (
gemini-3.6-flash): Предыдущая модель Gemini 3.x Flash , обеспечивающая производительность уровня передовых устройств, сопоставимую с более крупными моделями, но по гораздо более низкой цене. (Оплата не требуется)Gemini 3.5 Flash (
gemini-3.5-flash): Предыдущая модель Gemini 3.x Flash , обеспечивающая производительность уровня передовых устройств, сравнимую с более крупными моделями, но по гораздо более низкой цене. (Оплата не требуется)Gemini 3.1 Flash‑Lite (
gemini-3.1-flash-lite): Предыдущая модель Gemini 3.x Flash‑Lite для выполнения ресурсоемких и экономичных задач. (Оплата не требуется)
Модели генерации изображений
Перейти к таблицам с подробными сведениями о модели
Изображение Gemini 3 Pro ( Nano Banana Pro )
gemini-3-pro-image
Современная модель генерации и редактирования изображений для создания контекстно-зависимых исходных изображений.
Изображение, полученное с помощью вспышки Gemini 3.1 ( Nano Banana 2 )
gemini-3.1-flash-image
Мощная и высокоэффективная модель генерации и редактирования изображений, оптимизированная для быстрого и высокопроизводительного использования в больших объемах.
Фотоаппарат Gemini 3.1 Flash-Lite Image ( Nano Banana 2 Lite )
gemini-3.1-flash-lite-image
Модель генерации и редактирования изображений со сверхнизкой задержкой и высокой экономичностью, разработанная для интерактивных сценариев с большим объемом данных.
Модели генерации звука
Модели преобразования текста в речь (TTS)
С помощью моделей Gemini TTS можно генерировать речь из текстового ввода.
Перейти к таблицам с подробными сведениями о модели
Gemini 3.x Flash TTS
gemini-3.1-flash-tts-preview
Мощная система генерации речи с низкой задержкой на основе текстового ввода.
Модели Live API
Вы можете создавать двунаправленный потоковый звук с помощью моделей, поддерживающих Gemini Live API .
Перейти к таблицам с подробными сведениями о модели
Gemini 3.x Flash с поддержкой встроенного аудио API Gemini Live
API для разработчиков Gemini:
gemini-3.1-flash-live-preview
API платформы агентов Gemini:
не поддерживается
Обеспечивает голосовое и видеовзаимодействие в реальном времени с низкой задержкой благодаря двунаправленной модели Gemini.
Gemini 2.5 Flash с встроенным аудио API Gemini Live
API для разработчиков Gemini:
gemini-2.5-flash-native-audio-preview-12-2025
API платформы агентов Gemini:
gemini-live-2.5-flash-native-audio
Обеспечивает голосовое и видеовзаимодействие в реальном времени с низкой задержкой благодаря двунаправленной модели Gemini.
Оставшаяся часть этой страницы содержит подробную информацию о моделях, поддерживаемых Firebase AI Logic .
- Поддерживаемые входные и выходные данные
- Сравнительный анализ поддерживаемых возможностей на высоком уровне
- Технические характеристики и ограничения, например, максимальное количество входных токенов или максимальная длина входного видео.
Описание системы версионирования моделей , в частности, их стабильных , предварительных и экспериментальных версий.
Списки доступных названий моделей для включения в ваш код во время инициализации.
Списки поддерживаемых языков для моделей
Внизу этой страницы вы можете ознакомиться с подробной информацией о моделях предыдущего поколения .
Сравните модели
Каждая модель обладает различными возможностями для поддержки различных сценариев использования. Обратите внимание, что каждая из таблиц в этом разделе описывает каждую модель при использовании с Firebase AI Logic . Каждая модель может иметь дополнительные возможности, недоступные при использовании наших SDK.
Если вы не нашли нужную информацию в следующих подразделах, вы можете найти еще больше сведений в документации выбранного вами поставщика API: Gemini Developer API илиAgent Platform Gemini API (ранее Vertex AI) .
Поддерживаемые входные и выходные данные
В таблице ниже перечислены поддерживаемые типы входных и выходных данных при использовании каждой модели с Firebase AI Logic .
Чтобы узнать о поддерживаемых типах файлов, см. раздел «Поддерживаемые входные файлы и требования» .
| Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live | |
|---|---|---|---|---|---|---|
| Типы ввода | ||||||
| Текст | ||||||
| Код | ||||||
| Документы (PDF-файлы или обычный текст) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Типы выходных данных | ||||||
| Текст | ||||||
| Текст (потоковая передача) | ||||||
| Код | ||||||
| Структурированный вывод (как JSON) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
Поддерживаемые возможности и функции
В таблице ниже перечислены поддерживаемые возможности и функции при использовании каждой модели с Firebase AI Logic .
| Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live | |
|---|---|---|---|---|---|---|
| Мышление | ||||||
| Генерация текста из текстовых или мультимодальных входных данных. | чередующийся или как часть изображения | чередующийся или как часть изображения | чередующийся или как часть изображения | транскрипция аудио | ||
| Сгенерировать изображения | ||||||
| Редактировать изображения | ||||||
| Сгенерировать аудио | речь | потоковое аудио | ||||
| Сгенерировать структурированный вывод (как JSON) | ||||||
| Анализ документов (PDF-файлы или обычный текст) ( текстовый вывод | вывод изображения ) | ||||||
| Анализ изображений ( текстовый вывод | вывод изображения ) | ||||||
| Проанализируйте видео ( текстовый вывод | вывод изображения ) | потоковое видео | |||||
| Анализ звука | потоковое аудио | |||||
| Многоходовой чат | ||||||
| Двунаправленная многомодальная потоковая передача | ||||||
| Поддерживаемые инструменты | ||||||
| Вызов функции | ||||||
| Выполнение кода | ||||||
| контекст URL | ||||||
| Освоение основ | ||||||
| Определить местоположение с помощью | ||||||
Технические характеристики и ограничения
В таблице ниже приведены технические характеристики и ограничения при использовании каждой модели с Firebase AI Logic .
| Свойство | Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live |
|---|---|---|---|---|---|---|
| Ограничение на количество вводимых токенов * | 1 048 576 токенов | 65 536 токенов | 131 072 токенов | 65 536 токенов | 8192 токена | см. документы |
| Ограничение на количество выводимых токенов * | 65 536 токенов | 32 768 токенов | 32 768 токенов | 4096 токенов | 16 384 токенов | |
| PDF-файлы (по запросу) | ||||||
| Максимальное число входных PDF-файлов ** | 900 файлов | 14 файлов | 14 файлов | 14 файлов | --- | см. документы |
| Максимальное число страниц за каждый входной PDF-файл ** | 900 страниц | 14 страниц | 14 страниц | 14 страниц | --- | |
| Максимальный размер для каждого входного PDF-файла | 50 МБ | 50 МБ | 50 МБ | 50 МБ | --- | |
| Изображения (по запросу) | ||||||
| Максимальное число входных изображений | 1000 изображений | 14 изображений | 14 изображений | 14 изображений | --- | см. документы |
| Максимальный размер для каждого входного изображения, закодированного в формате base64 | 7 МБ | 7 МБ | 7 МБ | 7 МБ | --- | |
| Максимальное число выходных изображений | --- | До лимита выходных токенов | До лимита выходных токенов | До лимита выходных токенов | --- | |
| Видео (по запросу) | ||||||
| Максимальное число входных видеофайлов | 10 файлов | --- | До лимита введенных токенов | До лимита введенных токенов | --- | см. документы |
| Максимальная длина всего входного видео (только рамки) | ~60 минут | --- | ~25 минут | ~12 минут | --- | |
| Максимальная длина всего входного видео (кадры + аудио) | ~45 минут | --- | --- | --- | --- | |
| Аудиозапись (по запросу) | ||||||
| Максимальное число входных аудиофайлов | 1 файл | --- | --- | --- | --- | см. документы |
| Максимальная длина всех входных аудио | ~8,4 часа | --- | --- | --- | --- | |
* Для всех моделей Gemini один токен эквивалентен примерно 4 символам, поэтому 100 токенов — это примерно 60-80 английских слов. Для моделей Gemini вы можете определить общее количество токенов в ваших запросах с помощью countTokens .
** PDF-файлы обрабатываются как изображения, поэтому одна страница PDF-файла рассматривается как одно изображение. Количество страниц, разрешенных в запросе, ограничено количеством изображений, которые может поддерживать модель.
Найдите дополнительную подробную информацию.
Квоты и цены различаются для каждой модели. Цена также зависит от входных и выходных данных.
Узнайте о поддерживаемых типах входных файлов, о том, как указывать MIME-тип, и о том, как убедиться, что ваши входные файлы и мультимодальные запросы соответствуют требованиям и передовым практикам, изложенным в разделе «Поддерживаемые входные файлы и требования» .
Шаблоны версионирования и именования моделей
Модели предлагаются в стабильной , предварительной и экспериментальной версиях. Для удобства,-latest , но их использование не рекомендуется из-за несоответствия версий моделей, на которые они указывают.
Обязательно ознакомьтесь с нашими рекомендациями по использованию версий моделей .
Чтобы найти конкретные названия моделей для использования в вашем коде, см. раздел «Доступные названия моделей» далее на этой странице.
| Тип версии / Этап выпуска | Описание | Шаблон названия модели | |
|---|---|---|---|
| Стабильный | Стабильные версии доступны и поддерживаются для использования в производственной среде начиная с даты выпуска.
| Названия моделей стабильных версий не имеют суффикса. Пример: | |
| Предварительный просмотр | Предварительные версии обладают новыми возможностями и считаются нестабильными .
| Названия моделей в предварительных версиях дополняются символом Пример: | |
| Экспериментальный | Экспериментальные версии обладают новыми возможностями и считаются нестабильными .
| Названия моделей экспериментальных версий дополняются символом: Пример: | |
| Закрытие (снято с производства) | Выведенные из эксплуатации (устаревшие) версии устарели и были навсегда деактивированы.
| --- | |
Рекомендации по использованию версий моделей
В приложениях, используемых в рабочей среде , явно указывайте имя модели для самой последней стабильной версии.
Для API Agent Platform Gemini (ранее Vertex AI) , если вы решите использовать модель краткосрочной доступности в своем рабочем приложении, еще более важно использовать Firebase Remote Config или шаблоны серверных запросов для управления именем модели, используемым для вашей функции ИИ.
На этапе прототипирования используйте только предварительные и экспериментальные версии . Для разработки и тестирования в производственных условиях рекомендуется использовать стабильную версию.
Мы не рекомендуем использовать
-latestпсевдонимы (даже во время разработки). Этот псевдоним указывает на последнюю версию конкретной модификации модели (это может быть стабильная, предварительная или экспериментальная версия). Этот псевдоним будет автоматически заменяться при каждом новом релизе конкретной модификации модели, и уведомление по электронной почте будет отправлено только в случае критических изменений за 2 недели. Такая нестабильность в определении используемой модели может привести к неожиданным изменениям в поведении вашей функции ИИ.
Доступные названия моделей
Названия моделей — это явные значения, которые вы указываете в своем коде во время инициализации модели.
Модели общего назначения (например,
gemini-3.7-flash)Модели генерации изображений (например,
gemini-3.1-flash-image, также известные как модели "Nano Banana")Модели генерации звука :
- Модели преобразования текста в речь (например,
gemini-3.1-flash-tts-preview) - Модели Live API (например,
gemini-live-2.5-flash-native-audio)
- Модели преобразования текста в речь (например,
Примеры инициализации для вашей платформы см. в руководстве по началу работы .
Подробную информацию об этапах выпуска (особенно о вариантах использования, выставлении счетов и завершении работы) см. в разделе «Версионирование моделей и шаблоны именования» .
Программно вывести список всех доступных моделей
Вы можете получить список всех доступных названий моделей, используя REST API:
API разработчика Gemini : вызов конечной точки
models.listAPI платформы агентов Gemini (ранее Vertex AI) : вызовите конечную точку
publishers.models.list
Обратите внимание, что в полученный список будут включены все модели, поддерживаемые поставщиками API, но Firebase AI Logic поддерживает только модели Gemini, описанные на этой странице.
Модели общего назначения
Названия моделей Gemini 3.x Pro
Для использования требуется тарифный план Blaze с оплатой по факту использования, независимо от вашего поставщика API Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-3.1-pro-preview | Последняя предварительная версия Gemini 3.x Pro | Предварительный просмотр | 2026-02-19 | Будет определено позже |
Названия моделей флэш-памяти Gemini 3.x
Использование тарифного плана Blaze с оплатой по мере использования не требуется, если вы используете API разработчика Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-3.7-flash | Последняя стабильная версия Gemini 3.x Flash Это модель краткосрочной доступности (см. Версионирование моделей и шаблоны именования ). | Стабильный | 2026-08-13 | Будет определено позже |
gemini-3.6-flash | Стабильная версия Gemini 3.x Flash Это модель краткосрочной доступности (см. Версионирование моделей и шаблоны именования ). | Стабильный | 2026-07-21 | Будет определено позже |
gemini-3.5-flash | Стабильная версия Gemini 3.x Flash | Стабильный | 2026-05-19 | Не раньше 2027-05-19 |
gemini-3-flash-preview | Предварительная версия Gemini 3.x Flash | Предварительный просмотр | 2025-12-17 | Будет определено позже |
Названия моделей Gemini 3.x Flash‑Lite
Использование тарифного плана Blaze с оплатой по мере использования не требуется, если вы используете API разработчика Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-3.5-flash-lite | Последняя стабильная версия Gemini 3.x Flash‑Lite | Стабильный | 2026-07-21 | Не раньше 2027-07-21 |
gemini-3.1-flash-lite | Стабильная версия Gemini 3.x Flash‑Lite | Стабильный | 2026-05-07 | Не раньше 2027-05-07 |
Модели генерации изображений
Названия моделей образа Gemini 3.x Pro (также известных как "Nano Banana Pro")
Для использования требуется тарифный план Blaze с оплатой по факту использования, независимо от вашего поставщика API Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-3-pro-image | Стабильная версия образа Gemini 3.x Pro (также известный как "Nano Banana Pro") | Стабильный | 2026-05-28 | Не раньше 2027-05-28 |
gemini-3-pro-image-preview | Предварительная версия образа Gemini 3.x Pro (также известный как "Nano Banana Pro") | Предварительный просмотр | 2025-11-20 | Уже в 1900-х годах 2026-06-25 |
Названия моделей образов Flash Gemini 3.x (также известные как "Nano Banana 2")
Для использования требуется тарифный план Blaze с оплатой по факту использования, независимо от вашего поставщика API Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-3.1-flash-image | Стабильная версия образа Flash Gemini 3.x (также известный как "Нано-банан 2") | Стабильный | 2026-05-28 | Не раньше 2027-05-28 |
gemini-3.1-flash-image-preview | Предварительная версия образа Gemini 3.x Flash (также известный как "Нано-банан 2") | Предварительный просмотр | 2026-02-26 | Уже в 1900-х годах 2026-06-25 |
Названия моделей образов Gemini 3.x Flash‑Lite (также известные как "Nano Banana 2 Lite")
Для использования требуется тарифный план Blaze с оплатой по факту использования, независимо от вашего поставщика API Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-3.1-flash-lite-image | Стабильная версия Gemini 3.x Flash‑Lite Image (также известный как "Nano Banana 2 Lite") Это модель краткосрочной доступности (см. Версионирование моделей и шаблоны именования ). | Стабильный | 2026-06-30 | Будет определено позже |
Аудио - модели преобразования текста в речь (TTS)
Названия моделей Gemini 3.x Flash TTS
Использование тарифного плана Blaze с оплатой по мере использования не требуется, если вы используете API разработчика Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-3.1-flash-tts-preview | Предварительная версия для Gemini 3.x Flash TTS | Предварительный просмотр | 2026-06-17 | Будет определено позже |
Аудио - Модели Live API
Названия моделей Gemini 3.x Flash Live
| API разработчика Gemini Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-3.1-flash-live-preview 1 | Предварительная версия Live API на платформе Gemini Developer API | Предварительный просмотр | 2026-03-26 | Будет определено позже |
| API агентской платформы Gemini (ранее Vertex AI) Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
| API платформы Agent Platform Gemini (ранее Vertex AI) не поддерживает модели Gemini Live 3.x. | ||||
1. Поддерживается только API для разработчиков Gemini . Кроме того, несмотря на то, что это предварительная версия, она доступна в рамках «бесплатного уровня» API для разработчиков Gemini .
Названия моделей Gemini 2.5 Flash Live
Использование тарифного плана Blaze с оплатой по мере использования не требуется, если вы используете API разработчика Gemini (обычно для предварительных версий требуется платный тариф).
Несмотря на то, что следующие модели имеют разные названия в зависимости от поставщика API Gemini , их функциональные возможности остаются одинаковыми.
| API разработчика Gemini Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-2.5-flash-native-audio-preview-12-2025 1 | Предварительная версия Live API на платформе Gemini Developer API | Предварительный просмотр | 2025-12-12 | Будет определено позже |
gemini-2.5-flash-native-audio-preview-09-2025 1 | Первая предварительная версия Live API на платформе Gemini Developer API | Предварительный просмотр | 2025-09-18 | Будет определено позже |
| API агентской платформы Gemini (ранее Vertex AI) Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-live-2.5-flash-native-audio 2 | Стабильная версия Live API на платформе агентов Gemini API (ранее Vertex AI) | Стабильный | 2025-12-12 | Не раньше 2026-12-12 |
gemini-live-2.5-flash-preview-native-audio-09-2025 2 | Предварительная версия Live API на платформе агентов Gemini API (ранее Vertex AI) | Предварительный просмотр | 2025-09-18 | Будет определено позже |
1. Поддерживается только API для разработчиков Gemini . Кроме того, несмотря на то, что это предварительные модели, они доступны в рамках «бесплатного уровня» API для разработчиков Gemini .
2. Поддерживается только API платформы агентов Gemini (ранее Vertex AI) . Кроме того, эти модели недоступны в global масштабе.
Поддерживаемые языки
Все модели Gemini могут понимать следующие языки и отвечать на них:
Арабский (ar), бенгальский (bn), болгарский (bg), упрощенный и традиционный китайский (zh), хорватский (hr), чешский (cs), датский (da), нидерландский (nl), английский (en), эстонский (et), финский (fi), французский (fr), немецкий (de), греческий (el), иврит (iw), хинди (hi), венгерский (hu), индонезийский (id), итальянский (it), японский (ja), корейский (ko), латышский (lv), литовский (lt), норвежский (no), польский (pl), португальский (pt), румынский (ro), русский (ru), сербский (sr), словацкий (sk), словенский (sl), испанский (es), суахили (sw), шведский (sv), тайский (th), турецкий (tr), украинский (uk), вьетнамский (vi)
Модели Gemini 2.0 Flash , Gemini 1.5 Pro и Gemini 1.5 Flash поддерживают следующие дополнительные языки:
Африкаанс (af), амхарский (am), ассамский (as), азербайджанский (az), белорусский (be), боснийский (bs), каталанский (ca), кебуанский (ceb), корсиканский (co), валлийский (cy), дивехи (dv), эсперанто (eo), баскский (eu), персидский (fa), филиппинский (тагальский) (fil), фризский (fy), ирландский (ga), шотландский гэльский (gd), галисийский (gl), гуджарати (gu), хауса (ha), гавайский (haw), хмонг (hmn), гаитянский креольский (ht), армянский (hy), игбо (ig), исландский (is), яванский (jv), грузинский (ka), казахский (kk), кхмерский (km), каннада (kn), крио (kri), курдский (ku), кыргызский (ky), латынь (la), люксембургский (lb), лаосский (lo), малагасийский (mg), маори (mi), македонский (mk), Малаялам (ml), монгольский (mn), Meiteilon (Manipuri) (mni-Mtei), маратхи (mr), малайский (ms), мальтийский (mt), Мьянма (бирманский) (my), непальский (ne), Ньянджа (Chicheva) (ny), Odia (Oriya) (or), пенджабский (pa), пушту (ps), синдхи (sd), сингальский (сингальский) (si), самоанский (sm), шона (sn), сомалийский (so), албанский (sq), сесото (st), сунданский (su), тамильский (ta), телугу (te), таджикский (tg), уйгурский (ug), урду (ur), узбекский (uz), коса (xh), идиш (yi), йоруба (yo), зулу (zu)
Информация о предыдущих моделях
Ниже представлены активные модели предыдущего поколения. По возможности мы рекомендуем использовать более новые модели.
Если вы не нашли нужную информацию в следующих подразделах, вы можете найти еще больше сведений в документации выбранного вами поставщика API: Gemini Developer API илиAgent Platform Gemini API (ранее Vertex AI)
Более старые модели Gemini
-
gemini-2.5-pro -
gemini-2.5-flash -
gemini-2.5-flash-lite -
gemini-2.5-flash-image(aka "Nano Banana") -
gemini-2.0-flash-001(и его автоматически обновляемый псевдонимgemini-2.0-flash) -
gemini-2.0-flash-lite-001(и его автоматически обновляемый псевдонимgemini-2.0-flash-lite)
Для получения информации о более старых моделях Gemini Live API см. документацию поставщика Gemini API :
Более старые модели Imagen
-
imagen-4.0-ultra-generate-001 -
imagen-4.0-generate-001 -
imagen-4.0-fast-generate-001 -
imagen-3.0-capability-001 -
imagen-3.0-generate-002 -
imagen-3.0-generate-001 -
imagen-3.0-fast-generate-001
Посмотреть подробную информацию о предыдущих моделях
Вот типы входных и выходных данных при использовании каждой модели с Firebase AI Logic :
| Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (генерировать) | Изображение (возможности) | |
|---|---|---|---|---|---|---|
| Типы ввода | ||||||
| Текст | ||||||
| Код | ||||||
| Документы (PDF-файлы или обычный текст) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Аудио (потоковая передача) | ||||||
| Типы выходных данных | ||||||
| Текст | ||||||
| Текст (потоковая передача) | ||||||
| Код | ||||||
| Структурированный вывод (как JSON) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Аудио (потоковая передача) | ||||||
Вот возможности и функции, которые открываются при использовании каждой модели с Firebase AI Logic :
| Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (генерировать) | Изображение (возможности) | |
|---|---|---|---|---|---|---|
| Мышление | ||||||
| Генерация текста из текстовых или мультимодальных входных данных. | чередующийся или как часть изображения | |||||
| Сгенерировать изображения ( Близнецы или Образ ) | ||||||
| Редактировать изображения ( Близнецы или Образ ) | ||||||
| Сгенерировать аудио | ||||||
| Сгенерировать структурированный вывод (как JSON) | ||||||
| Анализ документов (PDF-файлы или обычный текст) ( текстовый вывод | вывод изображения ) | ||||||
| Анализ изображений ( текстовый вывод | вывод изображения ) | ||||||
| Проанализируйте видео ( текстовый вывод | вывод изображения ) | ||||||
| Анализ звука | ||||||
| Многоходовой чат | ||||||
| Двунаправленная многомодальная потоковая передача | ||||||
| Поддерживаемые инструменты | ||||||
| Вызов функции | ||||||
| Выполнение кода | ||||||
| контекст URL | ||||||
| Освоение основ | ||||||
| Определить местоположение с помощью | ||||||
| Системные инструкции | ||||||
| Подсчет токенов | ||||||
Ниже приведены технические характеристики и ограничения, возникающие при использовании каждой модели с Firebase AI Logic :
| Свойство | Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (генерировать) | Изображение (возможности) |
|---|---|---|---|---|---|---|
| Ограничение на количество вводимых токенов * | 1 048 576 токенов | 32 768 токенов | 1 048 576 токенов | 1 048 576 токенов | 480 токенов | 480 токенов |
| Ограничение на количество выводимых токенов * | 65 536 токенов | 8192 токена | 8192 токена | 8192 токена | --- | --- |
| Дата окончания срока действия знаний | Январь 2025 г. | --- | Июнь 2024 г. | Июнь 2024 г. | --- | --- |
| PDF-файлы (по запросу) | ||||||
| Максимальное число входных PDF-файлов ** | 3000 файлов | 3 файла | 3000 файлов | 3000 файлов | --- | --- |
| Максимальное число страниц за каждый входной PDF-файл ** | 1000 страниц | 3 страницы | 1000 страниц | 1000 страниц | --- | --- |
| Максимальный размер для каждого входного PDF-файла | 50 МБ | 50 МБ | 50 МБ | 50 МБ | --- | --- |
| Изображения (по запросу) | ||||||
| Максимальное число входных изображений | 3000 изображений | 3 изображения | 3000 изображений | 3000 изображений | --- | 4 изображения |
| Максимальное число выходных изображений | --- | До лимита выходных токенов | --- | --- | 4 изображения | 4 изображения |
| Максимальный размер для каждого входного изображения, закодированного в формате base64 | 7 МБ | 7 МБ | 7 МБ | 7 МБ | --- | --- |
| Видео (по запросу) | ||||||
| Максимальное число входных видеофайлов | 10 файлов | --- | 10 файлов | 10 файлов | --- | --- |
| Максимальная длина всего входного видео (только рамки) | ~60 минут | --- | ~60 минут | ~60 минут | --- | --- |
| Максимальная длина всего входного видео (кадры + аудио) | ~45 минут | --- | ~45 минут | ~45 минут | --- | --- |
| Аудиозапись (по запросу) | ||||||
| Максимальное число входных аудиофайлов | 1 файл | --- | 1 файл | 1 файл | --- | --- |
| Максимальное число выходных аудиофайлов | --- | --- | --- | --- | --- | --- |
| Максимальная длина всех входных аудио | ~8,4 часа | --- | ~8,4 часа | ~8,4 часа | --- | --- |
| Максимальная длина всего выходного аудио | --- | --- | --- | --- | --- | --- |
* Для всех моделей Gemini один токен эквивалентен примерно 4 символам, поэтому 100 токенов — это примерно 60-80 английских слов. Для моделей Gemini вы можете определить общее количество токенов в ваших запросах с помощью countTokens .
** PDF-файлы обрабатываются как изображения, поэтому одна страница PDF-файла рассматривается как одно изображение. Количество страниц, разрешенных в запросе, ограничено количеством изображений, которые может поддерживать модель.
Названия моделей — это явные значения, которые вы указываете в своем коде во время инициализации модели.
модели Близнецов
Названия моделей Gemini 2.5 Pro
Использование тарифного плана Blaze с оплатой по мере использования не требуется, если вы используете API разработчика Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-2.5-pro | Стабильная версия Gemini 2.5 Pro | Стабильный | 2025-06-17 | Уже в 1900-х годах 2026-10-16 |
Названия моделей вспышки Gemini 2.5
Использование тарифного плана Blaze с оплатой по мере использования не требуется, если вы используете API разработчика Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-2.5-flash | Стабильная версия Gemini 2.5 Flash | Стабильный | 2025-06-17 | Уже в 1900-х годах 2026-10-16 |
Названия моделей фонарика Gemini 2.5 Flash‑Lite
Использование тарифного плана Blaze с оплатой по мере использования не требуется, если вы используете API разработчика Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-2.5-flash-lite | Стабильная версия Gemini 2.5 Flash‑Lite | Стабильный | 2025-07-22 | Уже в 1900-х годах 2026-10-16 |
Названия моделей флэш-накопителей Gemini 2.5 (также известные как "Nano Banana")
Для использования требуется тарифный план Blaze с оплатой по факту использования, независимо от вашего поставщика API Gemini .
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-2.5-flash-image | Стабильная версия Gemini 2.5 Flash Image (также известная как "Nano Banana") | Стабильный | 2025-10-02 | 2026-10-02 |
Названия моделей флэш-накопителей Gemini 2.0
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-2.0-flash-001 | Последняя стабильная версия Gemini 2.0 Flash | Стабильный | 2025-02-05 | 2026-06-01 |
gemini-2.0-flash | Автоматически обновленный псевдоним, указывающий на последнюю стабильную версию Gemini 2.0 Flash. (в настоящее время gemini-2.0-flash-001 ) | Стабильный | 2025-02-10 | 2026-06-01 |
Названия моделей Gemini 2.0 Flash‑Lite
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
gemini-2.0-flash-lite-001 | Последняя стабильная версия Gemini 2.0 Flash‑Lite | Стабильный | 2025-02-25 | 2026-06-01 |
gemini-2.0-flash-lite | Автоматически обновленный псевдоним, указывающий на последнюю стабильную версию Gemini 2.0 Flash‑Lite. (в настоящее время gemini-2.0-flash-lite-001 ) | Стабильный | 2025-02-25 | 2026-06-01 |
Модели изображений
Названия моделей Imagen 4
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
imagen-4.0-generate-001 | Стабильная версия Imagen 4 | Стабильный | 2025-08-14 | 2026-06-30 |
Названия моделей Imagen 4 Fast
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
imagen-4.0-fast-generate-001 | Стабильная версия Imagen 4 Fast | Стабильный | 2025-08-14 | 2026-06-30 |
Названия моделей Imagen 4 Ultra
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
imagen-4.0-ultra-generate-001 | Стабильная версия Imagen 4 Ultra | Стабильный | 2025-08-14 | 2026-06-30 |
Названия моделей возможностей Imagen 3
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
imagen-3.0-capability-001 | Первая стабильная версия возможностей Imagen 3 | Стабильный | 2024-12-10 | 2026-06-30 |
Названия моделей Imagen 3
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
imagen-3.0-generate-002 | Последняя стабильная версия Imagen 3 | Стабильный | 2025-01-23 | 2026-06-30 |
imagen-3.0-generate-001 | Первая стабильная версия Imagen 3 | Стабильный | 2024-07-31 | 2026-06-30 |
Названия моделей Imagen 3 Fast
| Название модели | Описание | Этап выпуска | Дата выпуска | Дата закрытия |
|---|---|---|---|---|
imagen-3.0-fast-generate-001 | Первая стабильная версия Imagen 3 Fast | Стабильный | 2024-07-31 | 2026-06-30 |
Следующие шаги
Оцените возможности API Gemini.
- Создавайте многоэтапные диалоги (чат) .
- Генерация текста на основе текстовых подсказок .
- Генерируйте текст, запрашивая различные типы файлов, такие как изображения , PDF-файлы , видео и аудио .
- Генерируйте структурированный вывод (например, в формате JSON) как из текстовых, так и из мультимодальных запросов.
- Создавайте и редактируйте изображения на основе текстовых и мультимодальных запросов.
- Генерируйте речь (как от одного, так и от нескольких говорящих) с помощью моделей преобразования текста в речь (TTS) Gemini .
- Осуществляйте потоковую передачу входного и выходного сигнала (включая звук) с помощью Gemini Live API .
- Используйте инструменты (например, вызов функций и привязку к
Google Search илиGoogle Maps ), чтобы связать модель Gemini с другими частями вашего приложения, а также с внешними системами и информацией.
Для мобильных и веб-приложений SDK Firebase AI Logic позволяют взаимодействовать с поддерживаемыми моделями Gemini непосредственно из вашего приложения.
Модели Gemini считаются мультимодальными, поскольку они способны обрабатывать и даже генерировать несколько модальностей, включая текст, код, PDF-файлы, изображения, видео и аудио.
Также ознакомьтесь с разделом часто задаваемых вопросов (FAQ) , где представлена информация о моделях, которые поддерживает и не поддерживает Firebase AI Logic .
Представленные модели
Gemini 3.7 Flash
gemini-3.7-flash
Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене.
Фонарь Gemini 3.5 Flash-Lite
gemini-3.5-flash-lite
Высокопроизводительная, экономичная и надежная рабочая лошадка, обладающая производительностью и качеством серии Gemini 3.
Изображение, полученное с помощью вспышки Gemini 3.1 ( Nano Banana 2 )
gemini-3.1-flash-image
Мощная и высокоэффективная модель генерации и редактирования изображений, оптимизированная для быстрого и высокопроизводительного использования в больших объемах.
Модели общего назначения
Перейти к таблицам с подробными сведениями о модели
Gemini 3.1 Pro
gemini-3.1-pro-preview
Высокий уровень интеллекта, сложные навыки решения проблем, а также мощные возможности кодирования действий агентов и атмосферы.
Gemini 3.7 Flash
gemini-3.7-flash
Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене.
Фонарь Gemini 3.5 Flash-Lite
gemini-3.5-flash-lite
Высокопроизводительная, экономичная и надежная рабочая лошадка, обладающая производительностью и качеством серии Gemini 3.
Более старые, стабильные модели общего назначения
Gemini 3.6 Flash (
gemini-3.6-flash): Предыдущая модель Gemini 3.x Flash , обеспечивающая производительность уровня передовых устройств, сопоставимую с более крупными моделями, но по гораздо более низкой цене. (Оплата не требуется)Gemini 3.5 Flash (
gemini-3.5-flash): Предыдущая модель Gemini 3.x Flash , обеспечивающая производительность уровня передовых устройств, сравнимую с более крупными моделями, но по гораздо более низкой цене. (Оплата не требуется)Gemini 3.1 Flash‑Lite (
gemini-3.1-flash-lite): Предыдущая модель Gemini 3.x Flash‑Lite для выполнения ресурсоемких и экономичных задач. (Оплата не требуется)
Модели генерации изображений
Перейти к таблицам с подробными сведениями о модели
Изображение Gemini 3 Pro ( Nano Banana Pro )
gemini-3-pro-image
Современная модель генерации и редактирования изображений для создания контекстно-зависимых исходных изображений.
Изображение, полученное с помощью вспышки Gemini 3.1 ( Nano Banana 2 )
gemini-3.1-flash-image
Мощная и высокоэффективная модель генерации и редактирования изображений, оптимизированная для быстрого и высокопроизводительного использования в больших объемах.
Фотоаппарат Gemini 3.1 Flash-Lite Image ( Nano Banana 2 Lite )
gemini-3.1-flash-lite-image
Модель генерации и редактирования изображений со сверхнизкой задержкой и высокой экономичностью, разработанная для интерактивных сценариев с большим объемом данных.
Модели генерации звука
Модели преобразования текста в речь (TTS)
С помощью моделей Gemini TTS можно генерировать речь из текстового ввода.
Перейти к таблицам с подробными сведениями о модели
Gemini 3.x Flash TTS
gemini-3.1-flash-tts-preview
Мощная система генерации речи с низкой задержкой на основе текстового ввода.
Модели Live API
Вы можете создавать двунаправленный потоковый звук с помощью моделей, поддерживающих Gemini Live API .
Перейти к таблицам с подробными сведениями о модели
Gemini 3.x Flash с поддержкой встроенного аудио API Gemini Live
API для разработчиков Gemini:
gemini-3.1-flash-live-preview
API платформы агентов Gemini:
не поддерживается
Обеспечивает голосовое и видеовзаимодействие в реальном времени с низкой задержкой благодаря двунаправленной модели Gemini.
Gemini 2.5 Flash с встроенным аудио API Gemini Live
API для разработчиков Gemini:
gemini-2.5-flash-native-audio-preview-12-2025
API платформы агентов Gemini:
gemini-live-2.5-flash-native-audio
Обеспечивает голосовое и видеовзаимодействие в реальном времени с низкой задержкой благодаря двунаправленной модели Gemini.
Оставшаяся часть этой страницы содержит подробную информацию о моделях, поддерживаемых Firebase AI Logic .
- Поддерживаемые входные и выходные данные
- Сравнительный анализ поддерживаемых возможностей на высоком уровне
- Технические характеристики и ограничения, например, максимальное количество входных токенов или максимальная длина входного видео.
Описание системы версионирования моделей , в частности, их стабильных , предварительных и экспериментальных версий.
Списки доступных названий моделей для включения в ваш код во время инициализации.
Списки поддерживаемых языков для моделей
Внизу этой страницы вы можете ознакомиться с подробной информацией о моделях предыдущего поколения .
Сравните модели
Каждая модель обладает различными возможностями для поддержки различных сценариев использования. Обратите внимание, что каждая из таблиц в этом разделе описывает каждую модель при использовании с Firebase AI Logic . Каждая модель может иметь дополнительные возможности, недоступные при использовании наших SDK.
Если вы не нашли нужную информацию в следующих подразделах, вы можете найти еще больше сведений в документации выбранного вами поставщика API: Gemini Developer API илиAgent Platform Gemini API (ранее Vertex AI) .
Поддерживаемые входные и выходные данные
В таблице ниже перечислены поддерживаемые типы входных и выходных данных при использовании каждой модели с Firebase AI Logic .
Чтобы узнать о поддерживаемых типах файлов, см. раздел «Поддерживаемые входные файлы и требования» .
| Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live | |
|---|---|---|---|---|---|---|
| Типы ввода | ||||||
| Текст | ||||||
| Код | ||||||
| Документы (PDF-файлы или обычный текст) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Типы выходных данных | ||||||
| Текст | ||||||
| Текст (потоковая передача) | ||||||
| Код | ||||||
| Структурированный вывод (как JSON) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
Поддерживаемые возможности и функции
В таблице ниже перечислены поддерживаемые возможности и функции при использовании каждой модели с Firebase AI Logic .
| Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live | |
|---|---|---|---|---|---|---|
| Мышление | ||||||
| Генерация текста из текстовых или мультимодальных входных данных. | чередующийся или как часть изображения | чередующийся или как часть изображения | чередующийся или как часть изображения | транскрипция аудио | ||
| Сгенерировать изображения | ||||||
| Редактировать изображения | ||||||
| Сгенерировать аудио | речь | потоковое аудио | ||||
| Сгенерировать структурированный вывод (как JSON) | ||||||
| Анализ документов (PDF-файлы или обычный текст) ( текстовый вывод | вывод изображения ) | ||||||
| Анализ изображений ( текстовый вывод | вывод изображения ) | ||||||
| Проанализируйте видео ( текстовый вывод | вывод изображения ) | потоковое видео | |||||
| Анализ звука | потоковое аудио | |||||
| Многоходовой чат | ||||||
| Двунаправленная многомодальная потоковая передача | ||||||
| Поддерживаемые инструменты | ||||||
| Вызов функции | ||||||
| Выполнение кода | ||||||
| контекст URL | ||||||
| Освоение основ | ||||||
| Определить местоположение с помощью | ||||||
Specifications and limitations
The following table lists the specifications and limitations when using each model with Firebase AI Logic .
| Свойство | Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live |
|---|---|---|---|---|---|---|
| Input token limit * | 1 048 576 токенов | 65,536 tokens | 131,072 tokens | 65,536 tokens | 8192 токена | see docs |
| Output token limit * | 65,536 tokens | 32,768 tokens | 32,768 tokens | 4,096 tokens | 16,384 tokens | |
| PDFs (per request) | ||||||
| Max number of input PDF files ** | 900 files | 14 файлов | 14 файлов | 14 файлов | --- | see docs |
| Max number of pages per input PDF file ** | 900 pages | 14 страниц | 14 страниц | 14 страниц | --- | |
| Max size per input PDF file | 50 МБ | 50 МБ | 50 МБ | 50 МБ | --- | |
| Images (per request) | ||||||
| Max number of input images | 1,000 images | 14 изображений | 14 изображений | 14 изображений | --- | see docs |
| Max size per input base64-encoded image | 7 МБ | 7 МБ | 7 МБ | 7 МБ | --- | |
| Max number of output images | --- | Up to output token limit | Up to output token limit | Up to output token limit | --- | |
| Video (per request) | ||||||
| Max number of input video files | 10 файлов | --- | Up to input token limit | Up to input token limit | --- | see docs |
| Максимальная длина of all input video (frames only) | ~60 минут | --- | ~25 minutes | ~12 minutes | --- | |
| Максимальная длина of all input video (frames+audio) | ~45 minutes | --- | --- | --- | --- | |
| Audio (per request) | ||||||
| Max number of input audio files | 1 файл | --- | --- | --- | --- | see docs |
| Максимальная длина of all input audio | ~8.4 hours | --- | --- | --- | --- | |
* For all Gemini models, a token is equivalent to about 4 characters, so 100 tokens are about 60-80 English words. For Gemini models, you can determine the total count of tokens in your requests using countTokens .
** PDFs are treated as images, so a single page of a PDF is treated as one image. The number of pages allowed in a request is limited to the number of images the model can support.
Find additional detailed information
Quotas and pricing are different for each model. Pricing also depends on input and output.
Learn about supported input file types, how to specify MIME type, and how to make sure that your input files and multimodal requests meet the requirements and follow best practices in Supported input files and requirements .
Model versioning and naming patterns
Models are offered in stable , preview , and experimental versions. For convenience, the-latest aliases are supported, but they're not recommended due to the inconsistency in which model version they point to.
Make sure to review our best practices for using model versions .
To find specific model names to use in your code, see the "available model names" section later on this page.
| Version type / Release stage | Описание | Model name pattern | |
|---|---|---|---|
| Стабильный | Stable versions are available and supported for production use starting on the release date.
| Model names of stable versions have no suffix Пример: | |
| Предварительный просмотр | Preview versions have new capabilities and are considered not stable .
| Model names of preview versions are appended with Пример: | |
| Экспериментальный | Experimental versions have new capabilities and are considered not stable .
| Model names of experimental versions are appended with Пример: | |
| Shutdown (retired) | Shutdown (retired) versions are past their shutdown (retirement) date and have been permanently deactivated.
| --- | |
Best practices for using model versions
In your production apps , use the explicit model name for the most recent stable version.
For Agent Platform Gemini API (formerly Vertex AI) , if you choose to use a short-term availability model in your production app, it's even more critical that you use Firebase Remote Config or server prompt templates to control the model name used for your AI feature.
Use preview and experimental versions only during prototyping . We recommend using a stable version when you start developing and testing for a production use case.
We do not recommend using the
-latestaliases (even during development). This alias points to the latest release for a specific model variation (which could be a stable, preview, or experimental version). This alias will get hot-swapped with every new release of a specific model variation, and only for breaking changes will a 2-week-prior notification email be sent. This instability of which model you're actually using can lead to unexpected behavior changes for your AI feature.
Available model names
Model names are the explicit values that you include in your code during initialization of the model.
General-use models (like
gemini-3.7-flash)Image-generating models (like
gemini-3.1-flash-image, aka the "Nano Banana" models)Audio-generating models :
- Text-to-speech (TTS) models (like
gemini-3.1-flash-tts-preview) - Live API models (like
gemini-live-2.5-flash-native-audio)
- Text-to-speech (TTS) models (like
For initialization examples for your platform, see the getting started guide .
For details about the release stages (especially for use cases, billing, and shutdown), see model versioning and naming patterns .
Programmatically list all available models
You can list all available models names using the REST API:
Gemini Developer API : Call the
models.listendpointAgent Platform Gemini API (formerly Vertex AI) : Call the
publishers.models.listendpoint
Note that this returned list will include all models supported by the API providers, but Firebase AI Logic only supports the Gemini models described on this page.
General-use models
Gemini 3.x Pro model names
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-pro-preview | Latest preview version of Gemini 3.x Pro | Предварительный просмотр | 2026-02-19 | Будет определено позже |
Gemini 3.x Flash model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.7-flash | Latest stable version of Gemini 3.x Flash This is a short-term availability model (see Model versioning and naming patterns ). | Стабильный | 2026-08-13 | Будет определено позже |
gemini-3.6-flash | Stable version of Gemini 3.x Flash This is a short-term availability model (see Model versioning and naming patterns ). | Стабильный | 2026-07-21 | Будет определено позже |
gemini-3.5-flash | Stable version of Gemini 3.x Flash | Стабильный | 2026-05-19 | No earlier than 2027-05-19 |
gemini-3-flash-preview | Preview version of Gemini 3.x Flash | Предварительный просмотр | 2025-12-17 | Будет определено позже |
Gemini 3.x Flash‑Lite model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.5-flash-lite | Latest stable version of Gemini 3.x Flash‑Lite | Стабильный | 2026-07-21 | No earlier than 2027-07-21 |
gemini-3.1-flash-lite | Stable version of Gemini 3.x Flash‑Lite | Стабильный | 2026-05-07 | No earlier than 2027-05-07 |
Image-generating models
Gemini 3.x Pro Image model names (aka "Nano Banana Pro")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3-pro-image | Stable version of Gemini 3.x Pro Image (aka "Nano Banana Pro") | Стабильный | 2026-05-28 | No earlier than 2027-05-28 |
gemini-3-pro-image-preview | Preview version of Gemini 3.x Pro Image (aka "Nano Banana Pro") | Предварительный просмотр | 2025-11-20 | Уже в 1900-х годах 2026-06-25 |
Gemini 3.x Flash Image model names (aka "Nano Banana 2")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-image | Stable version of Gemini 3.x Flash Image (aka "Nano Banana 2") | Стабильный | 2026-05-28 | No earlier than 2027-05-28 |
gemini-3.1-flash-image-preview | Preview version of Gemini 3.x Flash Image (aka "Nano Banana 2") | Предварительный просмотр | 2026-02-26 | Уже в 1900-х годах 2026-06-25 |
Gemini 3.x Flash‑Lite Image model names (aka "Nano Banana 2 Lite")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-lite-image | Stable version of Gemini 3.x Flash‑Lite Image (aka "Nano Banana 2 Lite") This is a short-term availability model (see Model versioning and naming patterns ). | Стабильный | 2026-06-30 | Будет определено позже |
Audio - text-to-speech (TTS) models
Gemini 3.x Flash TTS model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-tts-preview | Preview version for Gemini 3.x Flash TTS | Предварительный просмотр | 2026-06-17 | Будет определено позже |
Audio - Live API models
Gemini 3.x Flash Live model names
| API разработчика Gemini Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-live-preview 1 | Preview version for the Live API on the Gemini Developer API | Предварительный просмотр | 2026-03-26 | Будет определено позже |
| Agent Platform Gemini API (formerly Vertex AI) Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
| The Agent Platform Gemini API (formerly Vertex AI) does not support any Gemini Live 3.x models. | ||||
1 Only supported by the Gemini Developer API . Also, even though this is a preview model, it's available on the "free tier" of the Gemini Developer API .
Gemini 2.5 Flash Live model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API (usually preview models require a paid plan).
Even though the following models have different model names depending on the Gemini API provider, the features of the model are the same.
| API разработчика Gemini Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash-native-audio-preview-12-2025 1 | Preview version for the Live API on the Gemini Developer API | Предварительный просмотр | 2025-12-12 | Будет определено позже |
gemini-2.5-flash-native-audio-preview-09-2025 1 | Initial preview version for the Live API on the Gemini Developer API | Предварительный просмотр | 2025-09-18 | Будет определено позже |
| Agent Platform Gemini API (formerly Vertex AI) Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-live-2.5-flash-native-audio 2 | Stable version for the Live API on the Agent Platform Gemini API (formerly Vertex AI) | Стабильный | 2025-12-12 | No earlier than 2026-12-12 |
gemini-live-2.5-flash-preview-native-audio-09-2025 2 | Preview version for the Live API on the Agent Platform Gemini API (formerly Vertex AI) | Предварительный просмотр | 2025-09-18 | Будет определено позже |
1 Only supported by the Gemini Developer API . Also, even though these are preview models, they're available on the "free tier" of the Gemini Developer API .
2 Only supported by the Agent Platform Gemini API (formerly Vertex AI) . Also, these models are not available in the global location.
Поддерживаемые языки
All the Gemini models can understand and respond in the following languages:
Arabic (ar), Bengali (bn), Bulgarian (bg), Chinese simplified and traditional (zh), Croatian (hr), Czech (cs), Danish (da), Dutch (nl), English (en), Estonian (et), Finnish (fi), French (fr), German (de), Greek (el), Hebrew (iw), Hindi (hi), Hungarian (hu), Indonesian (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Norwegian (no), Polish (pl), Portuguese (pt), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es), Swahili (sw), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), Vietnamese (vi)
Gemini 2.0 Flash , Gemini 1.5 Pro and Gemini 1.5 Flash models can understand and respond in the following additional languages:
Afrikaans (af), Amharic (am), Assamese (as), Azerbaijani (az), Belarusian (be), Bosnian (bs), Catalan (ca), Cebuano (ceb), Corsican (co), Welsh (cy), Dhivehi (dv), Esperanto (eo), Basque (eu), Persian (fa), Filipino (Tagalog) (fil), Frisian (fy), Irish (ga), Scots Gaelic (gd), Galician (gl), Gujarati (gu), Hausa (ha), Hawaiian (haw), Hmong (hmn), Haitian Creole (ht), Armenian (hy), Igbo (ig), Icelandic (is), Javanese (jv), Georgian (ka), Kazakh (kk), Khmer (km), Kannada (kn), Krio (kri), Kurdish (ku), Kyrgyz (ky), Latin (la), Luxembourgish (lb), Lao (lo), Malagasy (mg), Maori (mi), Macedonian (mk), Malayalam (ml), Mongolian (mn), Meiteilon (Manipuri) (mni-Mtei), Marathi (mr), Malay (ms), Maltese (mt), Myanmar (Burmese) (my), Nepali (ne), Nyanja (Chichewa) (ny), Odia (Oriya) (or), Punjabi (pa), Pashto (ps), Sindhi (sd), Sinhala (Sinhalese) (si), Samoan (sm), Shona (sn), Somali (so), Albanian (sq), Sesotho (st), Sundanese (su), Tamil (ta), Telugu (te), Tajik (tg), Uyghur (ug), Urdu (ur), Uzbek (uz), Xhosa (xh), Yiddish (yi), Yoruba (yo), Zulu (zu)
Information about previous models
The following are active, but previous generation models. We recommend using one of the latest models instead when possible.
If you can't find the information you're looking for in the following sub-sections, you can find even more information in your chosen API provider documentation: Gemini Developer API orAgent Platform Gemini API (formerly Vertex AI)
Older Gemini models
-
gemini-2.5-pro -
gemini-2.5-flash -
gemini-2.5-flash-lite -
gemini-2.5-flash-image(aka "Nano Banana") -
gemini-2.0-flash-001(and its auto-updated aliasgemini-2.0-flash) -
gemini-2.0-flash-lite-001(and its auto-updated aliasgemini-2.0-flash-lite)
For information about older Gemini Live API models, see the Gemini API provider documentation:
Older Imagen models
-
imagen-4.0-ultra-generate-001 -
imagen-4.0-generate-001 -
imagen-4.0-fast-generate-001 -
imagen-3.0-capability-001 -
imagen-3.0-generate-002 -
imagen-3.0-generate-001 -
imagen-3.0-fast-generate-001
View details about about previous models
These are the input and output types when using each model with Firebase AI Logic :
| Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (generate) | Изображение (capability) | |
|---|---|---|---|---|---|---|
| Input types | ||||||
| Текст | ||||||
| Код | ||||||
| Документы (PDFs or plain-text) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Audio (streaming) | ||||||
| Output types | ||||||
| Текст | ||||||
| Text (streaming) | ||||||
| Код | ||||||
| Структурированный вывод (like JSON) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Audio (streaming) | ||||||
These are the capabilities and features when using each model with Firebase AI Logic :
| Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (generate) | Изображение (capability) | |
|---|---|---|---|---|---|---|
| Мышление | ||||||
| Generate text from text-only or multimodal inputs | interleaved or as part of image | |||||
| Сгенерировать изображения ( Gemini or Imagen ) | ||||||
| Редактировать изображения ( Gemini or Imagen ) | ||||||
| Сгенерировать аудио | ||||||
| Generate structured output (like JSON) | ||||||
| Анализ документов (PDFs or plain-text) ( text-output | image-output ) | ||||||
| Анализ изображений ( text-output | image-output ) | ||||||
| Проанализируйте видео ( text-output | image-output ) | ||||||
| Analyze audio | ||||||
| Multi-turn chat | ||||||
| Bidirectional multimodal streaming | ||||||
| Поддерживаемые инструменты | ||||||
| Вызов функции | ||||||
| Выполнение кода | ||||||
| контекст URL | ||||||
| Освоение основ | ||||||
| Определить местоположение с помощью | ||||||
| Системные инструкции | ||||||
| Подсчет токенов | ||||||
These are the specifications and limitations when using each model with Firebase AI Logic :
| Свойство | Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (generate) | Изображение (capability) |
|---|---|---|---|---|---|---|
| Input token limit * | 1 048 576 токенов | 32,768 tokens | 1 048 576 токенов | 1 048 576 токенов | 480 tokens | 480 tokens |
| Output token limit * | 65,536 tokens | 8192 токена | 8192 токена | 8192 токена | --- | --- |
| Knowledge cutoff date | Январь 2025 г. | --- | Июнь 2024 г. | Июнь 2024 г. | --- | --- |
| PDFs (per request) | ||||||
| Max number of input PDF files ** | 3,000 files | 3 files | 3,000 files | 3,000 files | --- | --- |
| Max number of pages per input PDF file ** | 1,000 pages | 3 страницы | 1,000 pages | 1,000 pages | --- | --- |
| Max size per input PDF file | 50 МБ | 50 МБ | 50 МБ | 50 МБ | --- | --- |
| Images (per request) | ||||||
| Max number of input images | 3000 изображений | 3 images | 3000 изображений | 3000 изображений | --- | 4 изображения |
| Max number of output images | --- | Up to output token limit | --- | --- | 4 изображения | 4 изображения |
| Max size per input base64-encoded image | 7 МБ | 7 МБ | 7 МБ | 7 МБ | --- | --- |
| Video (per request) | ||||||
| Max number of input video files | 10 файлов | --- | 10 файлов | 10 файлов | --- | --- |
| Максимальная длина of all input video (frames only) | ~60 минут | --- | ~60 минут | ~60 минут | --- | --- |
| Максимальная длина of all input video (frames+audio) | ~45 minutes | --- | ~45 minutes | ~45 minutes | --- | --- |
| Audio (per request) | ||||||
| Max number of input audio files | 1 файл | --- | 1 файл | 1 файл | --- | --- |
| Max number of output audio files | --- | --- | --- | --- | --- | --- |
| Максимальная длина of all input audio | ~8.4 hours | --- | ~8.4 hours | ~8.4 hours | --- | --- |
| Максимальная длина of all output audio | --- | --- | --- | --- | --- | --- |
* For all Gemini models, a token is equivalent to about 4 characters, so 100 tokens are about 60-80 English words. For Gemini models, you can determine the total count of tokens in your requests using countTokens .
** PDFs are treated as images, so a single page of a PDF is treated as one image. The number of pages allowed in a request is limited to the number of images the model can support.
Model names are the explicit values that you include in your code during initialization of the model.
модели Близнецов
Gemini 2.5 Pro model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-pro | Stable version of Gemini 2.5 Pro | Стабильный | 2025-06-17 | Уже в 1900-х годах 2026-10-16 |
Gemini 2.5 Flash model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash | Stable version of Gemini 2.5 Flash | Стабильный | 2025-06-17 | Уже в 1900-х годах 2026-10-16 |
Gemini 2.5 Flash‑Lite model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash-lite | Stable version of Gemini 2.5 Flash‑Lite | Стабильный | 2025-07-22 | Уже в 1900-х годах 2026-10-16 |
Gemini 2.5 Flash Image model names (aka "Nano Banana")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash-image | Stable version of Gemini 2.5 Flash Image (aka "Nano Banana") | Стабильный | 2025-10-02 | 2026-10-02 |
Gemini 2.0 Flash model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.0-flash-001 | Latest stable version of Gemini 2.0 Flash | Стабильный | 2025-02-05 | 2026-06-01 |
gemini-2.0-flash | Auto-updated alias pointing to the latest stable version of Gemini 2.0 Flash (в настоящее время gemini-2.0-flash-001 ) | Стабильный | 2025-02-10 | 2026-06-01 |
Gemini 2.0 Flash‑Lite model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.0-flash-lite-001 | Latest stable version of Gemini 2.0 Flash‑Lite | Стабильный | 2025-02-25 | 2026-06-01 |
gemini-2.0-flash-lite | Auto-updated alias pointing to the latest stable version of Gemini 2.0 Flash‑Lite (в настоящее время gemini-2.0-flash-lite-001 ) | Стабильный | 2025-02-25 | 2026-06-01 |
Imagen models
Imagen 4 model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-4.0-generate-001 | Stable version of Imagen 4 | Стабильный | 2025-08-14 | 2026-06-30 |
Imagen 4 Fast model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-4.0-fast-generate-001 | Stable version of Imagen 4 Fast | Стабильный | 2025-08-14 | 2026-06-30 |
Imagen 4 Ultra model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-4.0-ultra-generate-001 | Stable version of Imagen 4 Ultra | Стабильный | 2025-08-14 | 2026-06-30 |
Imagen 3 Capability model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-3.0-capability-001 | Initial stable version of Imagen 3 Capability | Стабильный | 2024-12-10 | 2026-06-30 |
Imagen 3 model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-3.0-generate-002 | Latest stable version of Imagen 3 | Стабильный | 2025-01-23 | 2026-06-30 |
imagen-3.0-generate-001 | Initial stable version of Imagen 3 | Стабильный | 2024-07-31 | 2026-06-30 |
Imagen 3 Fast model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-3.0-fast-generate-001 | Initial stable version of Imagen 3 Fast | Стабильный | 2024-07-31 | 2026-06-30 |
Следующие шаги
Try out the capabilities of the Gemini API
- Build multi-turn conversations (chat) .
- Generate text from text-only prompts .
- Generate text by prompting with various file types, like images , PDFs , video , and audio .
- Generate structured output (like JSON) from both text and multimodal prompts.
- Generate and edit images from both text and multimodal prompts.
- Generate speech (both single- and multiple-speakers) using Gemini text-to-speech (TTS) models.
- Stream input and output (including audio) using the Gemini Live API .
- Use tools (like function calling and Grounding with
Google Search orGoogle Maps ) to connect a Gemini model to other parts of your app and external systems and information.
For mobile and web apps, the Firebase AI Logic SDKs let you interact with the supported Gemini models directly from your app.
Gemini models are considered multimodal because they're capable of processing and even generating multiple modalities, including text, code, PDFs, images, video, and audio.
Also, review our FAQ about all the models that Firebase AI Logic supports and does not support.
Представленные модели
Gemini 3.7 Flash
gemini-3.7-flash
Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене.
Фонарь Gemini 3.5 Flash-Lite
gemini-3.5-flash-lite
High-volume, cost-sensitive workhorse model with the performance and quality of the Gemini 3 series.
Gemini 3.1 Flash Image ( Nano Banana 2 )
gemini-3.1-flash-image
Powerful, high-efficiency image generation and editing model, optimized for speed and high-volume use cases.
General-use models
Go to tables with model details
Gemini 3.1 Pro
gemini-3.1-pro-preview
Высокий уровень интеллекта, сложные навыки решения проблем, а также мощные возможности кодирования действий агентов и атмосферы.
Gemini 3.7 Flash
gemini-3.7-flash
Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене.
Фонарь Gemini 3.5 Flash-Lite
gemini-3.5-flash-lite
High-volume, cost-sensitive workhorse model with the performance and quality of the Gemini 3 series.
Older stable general-use models
Gemini 3.6 Flash (
gemini-3.6-flash): Previous Gemini 3.x Flash model for frontier-class performance rivaling larger models at a fraction of the cost. (billing not required)Gemini 3.5 Flash (
gemini-3.5-flash): Previous Gemini 3.x Flash model for frontier-class performance rivaling larger models at a fraction of the cost. (billing not required)Gemini 3.1 Flash‑Lite (
gemini-3.1-flash-lite): Previous Gemini 3.x Flash‑Lite model for high-volume, cost-sensitive workhorse tasks. (billing not required)
Image-generating models
Go to tables with model details
Gemini 3 Pro Image ( Nano Banana Pro )
gemini-3-pro-image
State-of-the-art image generation and editing model for highly contextual native image creation.
Gemini 3.1 Flash Image ( Nano Banana 2 )
gemini-3.1-flash-image
Powerful, high-efficiency image generation and editing model, optimized for speed and high-volume use cases.
Gemini 3.1 Flash-Lite Image ( Nano Banana 2 Lite )
gemini-3.1-flash-lite-image
Ultra-low latency and cost-effective image generation and editing model, designed for high-volume interactive use cases.
Audio-generating models
Text-to-speech (TTS) models
You can generate speech from text input with Gemini TTS models.
Go to tables with model details
Gemini 3.x Flash TTS
gemini-3.1-flash-tts-preview
Powerful, low-latency speech generation from text input.
Live API models
You can generate bidirectional streamed audio with models that support the Gemini Live API .
Go to tables with model details
Gemini 3.x Flash with Gemini Live API native audio
Gemini Developer API:
gemini-3.1-flash-live-preview
Agent Platform Gemini API:
not supported
Enables low-latency, real-time voice and video interactions with a Gemini model that is bidirectional .
Gemini 2.5 Flash with Gemini Live API native audio
Gemini Developer API:
gemini-2.5-flash-native-audio-preview-12-2025
Agent Platform Gemini API:
gemini-live-2.5-flash-native-audio
Enables low-latency, real-time voice and video interactions with a Gemini model that is bidirectional .
The remainder of this page provides detailed information about the models supported by Firebase AI Logic .
- Supported input and output
- High-level comparison of the supported capabilities
- Specifications and limitations, for example max input tokens or max length of input video
Description of how models are versioned , specifically their stable , preview , and experimental versions
Lists of available model names to include in your code during initialization
Lists of supported languages for the models
At the bottom of this page, you can view detailed information about previous generation models .
Сравните модели
Each model has different capabilities to support various use cases. Note that each of tables in this section describe each model when used with Firebase AI Logic . Each model might have additional capabilities that aren't available when using our SDKs.
If you can't find the information you're looking for in the following sub-sections, you can find even more information in your chosen API provider documentation: Gemini Developer API orAgent Platform Gemini API (formerly Vertex AI) .
Supported input and output
The following table lists the supported input and output types when using each model with Firebase AI Logic .
To learn about supported file types, see Supported input files and requirements .
| Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live | |
|---|---|---|---|---|---|---|
| Input types | ||||||
| Текст | ||||||
| Код | ||||||
| Документы (PDFs or plain-text) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Output types | ||||||
| Текст | ||||||
| Text (streaming) | ||||||
| Код | ||||||
| Структурированный вывод (like JSON) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
Supported capabilities and features
The following table lists the supported capabilities and features when using each model with Firebase AI Logic .
| Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live | |
|---|---|---|---|---|---|---|
| Мышление | ||||||
| Generate text from text-only or multimodal inputs | interleaved or as part of image | interleaved or as part of image | interleaved or as part of image | transcription of audio | ||
| Сгенерировать изображения | ||||||
| Редактировать изображения | ||||||
| Сгенерировать аудио | речь | streamed audio | ||||
| Generate structured output (like JSON) | ||||||
| Анализ документов (PDFs or plain-text) ( text-output | image-output ) | ||||||
| Анализ изображений ( text-output | image-output ) | ||||||
| Проанализируйте видео ( text-output | image-output ) | streamed video | |||||
| Analyze audio | streamed audio | |||||
| Multi-turn chat | ||||||
| Bidirectional multimodal streaming | ||||||
| Поддерживаемые инструменты | ||||||
| Вызов функции | ||||||
| Выполнение кода | ||||||
| контекст URL | ||||||
| Освоение основ | ||||||
| Определить местоположение с помощью | ||||||
Specifications and limitations
The following table lists the specifications and limitations when using each model with Firebase AI Logic .
| Свойство | Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live |
|---|---|---|---|---|---|---|
| Input token limit * | 1 048 576 токенов | 65,536 tokens | 131,072 tokens | 65,536 tokens | 8192 токена | see docs |
| Output token limit * | 65,536 tokens | 32,768 tokens | 32,768 tokens | 4,096 tokens | 16,384 tokens | |
| PDFs (per request) | ||||||
| Max number of input PDF files ** | 900 files | 14 файлов | 14 файлов | 14 файлов | --- | see docs |
| Max number of pages per input PDF file ** | 900 pages | 14 страниц | 14 страниц | 14 страниц | --- | |
| Max size per input PDF file | 50 МБ | 50 МБ | 50 МБ | 50 МБ | --- | |
| Images (per request) | ||||||
| Max number of input images | 1,000 images | 14 изображений | 14 изображений | 14 изображений | --- | see docs |
| Max size per input base64-encoded image | 7 МБ | 7 МБ | 7 МБ | 7 МБ | --- | |
| Max number of output images | --- | Up to output token limit | Up to output token limit | Up to output token limit | --- | |
| Video (per request) | ||||||
| Max number of input video files | 10 файлов | --- | Up to input token limit | Up to input token limit | --- | see docs |
| Максимальная длина of all input video (frames only) | ~60 минут | --- | ~25 minutes | ~12 minutes | --- | |
| Максимальная длина of all input video (frames+audio) | ~45 minutes | --- | --- | --- | --- | |
| Audio (per request) | ||||||
| Max number of input audio files | 1 файл | --- | --- | --- | --- | see docs |
| Максимальная длина of all input audio | ~8.4 hours | --- | --- | --- | --- | |
* For all Gemini models, a token is equivalent to about 4 characters, so 100 tokens are about 60-80 English words. For Gemini models, you can determine the total count of tokens in your requests using countTokens .
** PDFs are treated as images, so a single page of a PDF is treated as one image. The number of pages allowed in a request is limited to the number of images the model can support.
Find additional detailed information
Quotas and pricing are different for each model. Pricing also depends on input and output.
Learn about supported input file types, how to specify MIME type, and how to make sure that your input files and multimodal requests meet the requirements and follow best practices in Supported input files and requirements .
Model versioning and naming patterns
Models are offered in stable , preview , and experimental versions. For convenience, the-latest aliases are supported, but they're not recommended due to the inconsistency in which model version they point to.
Make sure to review our best practices for using model versions .
To find specific model names to use in your code, see the "available model names" section later on this page.
| Version type / Release stage | Описание | Model name pattern | |
|---|---|---|---|
| Стабильный | Stable versions are available and supported for production use starting on the release date.
| Model names of stable versions have no suffix Пример: | |
| Предварительный просмотр | Preview versions have new capabilities and are considered not stable .
| Model names of preview versions are appended with Пример: | |
| Экспериментальный | Experimental versions have new capabilities and are considered not stable .
| Model names of experimental versions are appended with Пример: | |
| Shutdown (retired) | Shutdown (retired) versions are past their shutdown (retirement) date and have been permanently deactivated.
| --- | |
Best practices for using model versions
In your production apps , use the explicit model name for the most recent stable version.
For Agent Platform Gemini API (formerly Vertex AI) , if you choose to use a short-term availability model in your production app, it's even more critical that you use Firebase Remote Config or server prompt templates to control the model name used for your AI feature.
Use preview and experimental versions only during prototyping . We recommend using a stable version when you start developing and testing for a production use case.
We do not recommend using the
-latestaliases (even during development). This alias points to the latest release for a specific model variation (which could be a stable, preview, or experimental version). This alias will get hot-swapped with every new release of a specific model variation, and only for breaking changes will a 2-week-prior notification email be sent. This instability of which model you're actually using can lead to unexpected behavior changes for your AI feature.
Available model names
Model names are the explicit values that you include in your code during initialization of the model.
General-use models (like
gemini-3.7-flash)Image-generating models (like
gemini-3.1-flash-image, aka the "Nano Banana" models)Audio-generating models :
- Text-to-speech (TTS) models (like
gemini-3.1-flash-tts-preview) - Live API models (like
gemini-live-2.5-flash-native-audio)
- Text-to-speech (TTS) models (like
For initialization examples for your platform, see the getting started guide .
For details about the release stages (especially for use cases, billing, and shutdown), see model versioning and naming patterns .
Programmatically list all available models
You can list all available models names using the REST API:
Gemini Developer API : Call the
models.listendpointAgent Platform Gemini API (formerly Vertex AI) : Call the
publishers.models.listendpoint
Note that this returned list will include all models supported by the API providers, but Firebase AI Logic only supports the Gemini models described on this page.
General-use models
Gemini 3.x Pro model names
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-pro-preview | Latest preview version of Gemini 3.x Pro | Предварительный просмотр | 2026-02-19 | Будет определено позже |
Gemini 3.x Flash model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.7-flash | Latest stable version of Gemini 3.x Flash This is a short-term availability model (see Model versioning and naming patterns ). | Стабильный | 2026-08-13 | Будет определено позже |
gemini-3.6-flash | Stable version of Gemini 3.x Flash This is a short-term availability model (see Model versioning and naming patterns ). | Стабильный | 2026-07-21 | Будет определено позже |
gemini-3.5-flash | Stable version of Gemini 3.x Flash | Стабильный | 2026-05-19 | No earlier than 2027-05-19 |
gemini-3-flash-preview | Preview version of Gemini 3.x Flash | Предварительный просмотр | 2025-12-17 | Будет определено позже |
Gemini 3.x Flash‑Lite model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.5-flash-lite | Latest stable version of Gemini 3.x Flash‑Lite | Стабильный | 2026-07-21 | No earlier than 2027-07-21 |
gemini-3.1-flash-lite | Stable version of Gemini 3.x Flash‑Lite | Стабильный | 2026-05-07 | No earlier than 2027-05-07 |
Image-generating models
Gemini 3.x Pro Image model names (aka "Nano Banana Pro")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3-pro-image | Stable version of Gemini 3.x Pro Image (aka "Nano Banana Pro") | Стабильный | 2026-05-28 | No earlier than 2027-05-28 |
gemini-3-pro-image-preview | Preview version of Gemini 3.x Pro Image (aka "Nano Banana Pro") | Предварительный просмотр | 2025-11-20 | Уже в 1900-х годах 2026-06-25 |
Gemini 3.x Flash Image model names (aka "Nano Banana 2")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-image | Stable version of Gemini 3.x Flash Image (aka "Nano Banana 2") | Стабильный | 2026-05-28 | No earlier than 2027-05-28 |
gemini-3.1-flash-image-preview | Preview version of Gemini 3.x Flash Image (aka "Nano Banana 2") | Предварительный просмотр | 2026-02-26 | Уже в 1900-х годах 2026-06-25 |
Gemini 3.x Flash‑Lite Image model names (aka "Nano Banana 2 Lite")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-lite-image | Stable version of Gemini 3.x Flash‑Lite Image (aka "Nano Banana 2 Lite") This is a short-term availability model (see Model versioning and naming patterns ). | Стабильный | 2026-06-30 | Будет определено позже |
Audio - text-to-speech (TTS) models
Gemini 3.x Flash TTS model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-tts-preview | Preview version for Gemini 3.x Flash TTS | Предварительный просмотр | 2026-06-17 | Будет определено позже |
Audio - Live API models
Gemini 3.x Flash Live model names
| API разработчика Gemini Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-live-preview 1 | Preview version for the Live API on the Gemini Developer API | Предварительный просмотр | 2026-03-26 | Будет определено позже |
| Agent Platform Gemini API (formerly Vertex AI) Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
| The Agent Platform Gemini API (formerly Vertex AI) does not support any Gemini Live 3.x models. | ||||
1 Only supported by the Gemini Developer API . Also, even though this is a preview model, it's available on the "free tier" of the Gemini Developer API .
Gemini 2.5 Flash Live model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API (usually preview models require a paid plan).
Even though the following models have different model names depending on the Gemini API provider, the features of the model are the same.
| API разработчика Gemini Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash-native-audio-preview-12-2025 1 | Preview version for the Live API on the Gemini Developer API | Предварительный просмотр | 2025-12-12 | Будет определено позже |
gemini-2.5-flash-native-audio-preview-09-2025 1 | Initial preview version for the Live API on the Gemini Developer API | Предварительный просмотр | 2025-09-18 | Будет определено позже |
| Agent Platform Gemini API (formerly Vertex AI) Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-live-2.5-flash-native-audio 2 | Stable version for the Live API on the Agent Platform Gemini API (formerly Vertex AI) | Стабильный | 2025-12-12 | No earlier than 2026-12-12 |
gemini-live-2.5-flash-preview-native-audio-09-2025 2 | Preview version for the Live API on the Agent Platform Gemini API (formerly Vertex AI) | Предварительный просмотр | 2025-09-18 | Будет определено позже |
1 Only supported by the Gemini Developer API . Also, even though these are preview models, they're available on the "free tier" of the Gemini Developer API .
2 Only supported by the Agent Platform Gemini API (formerly Vertex AI) . Also, these models are not available in the global location.
Поддерживаемые языки
All the Gemini models can understand and respond in the following languages:
Arabic (ar), Bengali (bn), Bulgarian (bg), Chinese simplified and traditional (zh), Croatian (hr), Czech (cs), Danish (da), Dutch (nl), English (en), Estonian (et), Finnish (fi), French (fr), German (de), Greek (el), Hebrew (iw), Hindi (hi), Hungarian (hu), Indonesian (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Norwegian (no), Polish (pl), Portuguese (pt), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es), Swahili (sw), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), Vietnamese (vi)
Gemini 2.0 Flash , Gemini 1.5 Pro and Gemini 1.5 Flash models can understand and respond in the following additional languages:
Afrikaans (af), Amharic (am), Assamese (as), Azerbaijani (az), Belarusian (be), Bosnian (bs), Catalan (ca), Cebuano (ceb), Corsican (co), Welsh (cy), Dhivehi (dv), Esperanto (eo), Basque (eu), Persian (fa), Filipino (Tagalog) (fil), Frisian (fy), Irish (ga), Scots Gaelic (gd), Galician (gl), Gujarati (gu), Hausa (ha), Hawaiian (haw), Hmong (hmn), Haitian Creole (ht), Armenian (hy), Igbo (ig), Icelandic (is), Javanese (jv), Georgian (ka), Kazakh (kk), Khmer (km), Kannada (kn), Krio (kri), Kurdish (ku), Kyrgyz (ky), Latin (la), Luxembourgish (lb), Lao (lo), Malagasy (mg), Maori (mi), Macedonian (mk), Malayalam (ml), Mongolian (mn), Meiteilon (Manipuri) (mni-Mtei), Marathi (mr), Malay (ms), Maltese (mt), Myanmar (Burmese) (my), Nepali (ne), Nyanja (Chichewa) (ny), Odia (Oriya) (or), Punjabi (pa), Pashto (ps), Sindhi (sd), Sinhala (Sinhalese) (si), Samoan (sm), Shona (sn), Somali (so), Albanian (sq), Sesotho (st), Sundanese (su), Tamil (ta), Telugu (te), Tajik (tg), Uyghur (ug), Urdu (ur), Uzbek (uz), Xhosa (xh), Yiddish (yi), Yoruba (yo), Zulu (zu)
Information about previous models
The following are active, but previous generation models. We recommend using one of the latest models instead when possible.
If you can't find the information you're looking for in the following sub-sections, you can find even more information in your chosen API provider documentation: Gemini Developer API orAgent Platform Gemini API (formerly Vertex AI)
Older Gemini models
-
gemini-2.5-pro -
gemini-2.5-flash -
gemini-2.5-flash-lite -
gemini-2.5-flash-image(aka "Nano Banana") -
gemini-2.0-flash-001(and its auto-updated aliasgemini-2.0-flash) -
gemini-2.0-flash-lite-001(and its auto-updated aliasgemini-2.0-flash-lite)
For information about older Gemini Live API models, see the Gemini API provider documentation:
Older Imagen models
-
imagen-4.0-ultra-generate-001 -
imagen-4.0-generate-001 -
imagen-4.0-fast-generate-001 -
imagen-3.0-capability-001 -
imagen-3.0-generate-002 -
imagen-3.0-generate-001 -
imagen-3.0-fast-generate-001
View details about about previous models
These are the input and output types when using each model with Firebase AI Logic :
| Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (generate) | Изображение (capability) | |
|---|---|---|---|---|---|---|
| Input types | ||||||
| Текст | ||||||
| Код | ||||||
| Документы (PDFs or plain-text) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Audio (streaming) | ||||||
| Output types | ||||||
| Текст | ||||||
| Text (streaming) | ||||||
| Код | ||||||
| Структурированный вывод (like JSON) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Audio (streaming) | ||||||
These are the capabilities and features when using each model with Firebase AI Logic :
| Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (generate) | Изображение (capability) | |
|---|---|---|---|---|---|---|
| Мышление | ||||||
| Generate text from text-only or multimodal inputs | interleaved or as part of image | |||||
| Сгенерировать изображения ( Gemini or Imagen ) | ||||||
| Редактировать изображения ( Gemini or Imagen ) | ||||||
| Сгенерировать аудио | ||||||
| Generate structured output (like JSON) | ||||||
| Анализ документов (PDFs or plain-text) ( text-output | image-output ) | ||||||
| Анализ изображений ( text-output | image-output ) | ||||||
| Проанализируйте видео ( text-output | image-output ) | ||||||
| Analyze audio | ||||||
| Multi-turn chat | ||||||
| Bidirectional multimodal streaming | ||||||
| Поддерживаемые инструменты | ||||||
| Вызов функции | ||||||
| Выполнение кода | ||||||
| контекст URL | ||||||
| Освоение основ | ||||||
| Определить местоположение с помощью | ||||||
| Системные инструкции | ||||||
| Подсчет токенов | ||||||
These are the specifications and limitations when using each model with Firebase AI Logic :
| Свойство | Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (generate) | Изображение (capability) |
|---|---|---|---|---|---|---|
| Input token limit * | 1 048 576 токенов | 32,768 tokens | 1 048 576 токенов | 1 048 576 токенов | 480 tokens | 480 tokens |
| Output token limit * | 65,536 tokens | 8192 токена | 8192 токена | 8192 токена | --- | --- |
| Knowledge cutoff date | Январь 2025 г. | --- | Июнь 2024 г. | Июнь 2024 г. | --- | --- |
| PDFs (per request) | ||||||
| Max number of input PDF files ** | 3,000 files | 3 files | 3,000 files | 3,000 files | --- | --- |
| Max number of pages per input PDF file ** | 1,000 pages | 3 страницы | 1,000 pages | 1,000 pages | --- | --- |
| Max size per input PDF file | 50 МБ | 50 МБ | 50 МБ | 50 МБ | --- | --- |
| Images (per request) | ||||||
| Max number of input images | 3000 изображений | 3 images | 3000 изображений | 3000 изображений | --- | 4 изображения |
| Max number of output images | --- | Up to output token limit | --- | --- | 4 изображения | 4 изображения |
| Max size per input base64-encoded image | 7 МБ | 7 МБ | 7 МБ | 7 МБ | --- | --- |
| Video (per request) | ||||||
| Max number of input video files | 10 файлов | --- | 10 файлов | 10 файлов | --- | --- |
| Максимальная длина of all input video (frames only) | ~60 минут | --- | ~60 минут | ~60 минут | --- | --- |
| Максимальная длина of all input video (frames+audio) | ~45 minutes | --- | ~45 minutes | ~45 minutes | --- | --- |
| Audio (per request) | ||||||
| Max number of input audio files | 1 файл | --- | 1 файл | 1 файл | --- | --- |
| Max number of output audio files | --- | --- | --- | --- | --- | --- |
| Максимальная длина of all input audio | ~8.4 hours | --- | ~8.4 hours | ~8.4 hours | --- | --- |
| Максимальная длина of all output audio | --- | --- | --- | --- | --- | --- |
* For all Gemini models, a token is equivalent to about 4 characters, so 100 tokens are about 60-80 English words. For Gemini models, you can determine the total count of tokens in your requests using countTokens .
** PDFs are treated as images, so a single page of a PDF is treated as one image. The number of pages allowed in a request is limited to the number of images the model can support.
Model names are the explicit values that you include in your code during initialization of the model.
модели Близнецов
Gemini 2.5 Pro model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-pro | Stable version of Gemini 2.5 Pro | Стабильный | 2025-06-17 | Уже в 1900-х годах 2026-10-16 |
Gemini 2.5 Flash model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash | Stable version of Gemini 2.5 Flash | Стабильный | 2025-06-17 | Уже в 1900-х годах 2026-10-16 |
Gemini 2.5 Flash‑Lite model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash-lite | Stable version of Gemini 2.5 Flash‑Lite | Стабильный | 2025-07-22 | Уже в 1900-х годах 2026-10-16 |
Gemini 2.5 Flash Image model names (aka "Nano Banana")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash-image | Stable version of Gemini 2.5 Flash Image (aka "Nano Banana") | Стабильный | 2025-10-02 | 2026-10-02 |
Gemini 2.0 Flash model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.0-flash-001 | Latest stable version of Gemini 2.0 Flash | Стабильный | 2025-02-05 | 2026-06-01 |
gemini-2.0-flash | Auto-updated alias pointing to the latest stable version of Gemini 2.0 Flash (в настоящее время gemini-2.0-flash-001 ) | Стабильный | 2025-02-10 | 2026-06-01 |
Gemini 2.0 Flash‑Lite model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.0-flash-lite-001 | Latest stable version of Gemini 2.0 Flash‑Lite | Стабильный | 2025-02-25 | 2026-06-01 |
gemini-2.0-flash-lite | Auto-updated alias pointing to the latest stable version of Gemini 2.0 Flash‑Lite (в настоящее время gemini-2.0-flash-lite-001 ) | Стабильный | 2025-02-25 | 2026-06-01 |
Imagen models
Imagen 4 model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-4.0-generate-001 | Stable version of Imagen 4 | Стабильный | 2025-08-14 | 2026-06-30 |
Imagen 4 Fast model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-4.0-fast-generate-001 | Stable version of Imagen 4 Fast | Стабильный | 2025-08-14 | 2026-06-30 |
Imagen 4 Ultra model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-4.0-ultra-generate-001 | Stable version of Imagen 4 Ultra | Стабильный | 2025-08-14 | 2026-06-30 |
Imagen 3 Capability model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-3.0-capability-001 | Initial stable version of Imagen 3 Capability | Стабильный | 2024-12-10 | 2026-06-30 |
Imagen 3 model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-3.0-generate-002 | Latest stable version of Imagen 3 | Стабильный | 2025-01-23 | 2026-06-30 |
imagen-3.0-generate-001 | Initial stable version of Imagen 3 | Стабильный | 2024-07-31 | 2026-06-30 |
Imagen 3 Fast model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-3.0-fast-generate-001 | Initial stable version of Imagen 3 Fast | Стабильный | 2024-07-31 | 2026-06-30 |
Следующие шаги
Try out the capabilities of the Gemini API
- Build multi-turn conversations (chat) .
- Generate text from text-only prompts .
- Generate text by prompting with various file types, like images , PDFs , video , and audio .
- Generate structured output (like JSON) from both text and multimodal prompts.
- Generate and edit images from both text and multimodal prompts.
- Generate speech (both single- and multiple-speakers) using Gemini text-to-speech (TTS) models.
- Stream input and output (including audio) using the Gemini Live API .
- Use tools (like function calling and Grounding with
Google Search orGoogle Maps ) to connect a Gemini model to other parts of your app and external systems and information.
For mobile and web apps, the Firebase AI Logic SDKs let you interact with the supported Gemini models directly from your app.
Gemini models are considered multimodal because they're capable of processing and even generating multiple modalities, including text, code, PDFs, images, video, and audio.
Also, review our FAQ about all the models that Firebase AI Logic supports and does not support.
Представленные модели
Gemini 3.7 Flash
gemini-3.7-flash
Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене.
Фонарь Gemini 3.5 Flash-Lite
gemini-3.5-flash-lite
High-volume, cost-sensitive workhorse model with the performance and quality of the Gemini 3 series.
Gemini 3.1 Flash Image ( Nano Banana 2 )
gemini-3.1-flash-image
Powerful, high-efficiency image generation and editing model, optimized for speed and high-volume use cases.
General-use models
Go to tables with model details
Gemini 3.1 Pro
gemini-3.1-pro-preview
Высокий уровень интеллекта, сложные навыки решения проблем, а также мощные возможности кодирования действий агентов и атмосферы.
Gemini 3.7 Flash
gemini-3.7-flash
Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене.
Фонарь Gemini 3.5 Flash-Lite
gemini-3.5-flash-lite
High-volume, cost-sensitive workhorse model with the performance and quality of the Gemini 3 series.
Older stable general-use models
Gemini 3.6 Flash (
gemini-3.6-flash): Previous Gemini 3.x Flash model for frontier-class performance rivaling larger models at a fraction of the cost. (billing not required)Gemini 3.5 Flash (
gemini-3.5-flash): Previous Gemini 3.x Flash model for frontier-class performance rivaling larger models at a fraction of the cost. (billing not required)Gemini 3.1 Flash‑Lite (
gemini-3.1-flash-lite): Previous Gemini 3.x Flash‑Lite model for high-volume, cost-sensitive workhorse tasks. (billing not required)
Image-generating models
Go to tables with model details
Gemini 3 Pro Image ( Nano Banana Pro )
gemini-3-pro-image
State-of-the-art image generation and editing model for highly contextual native image creation.
Gemini 3.1 Flash Image ( Nano Banana 2 )
gemini-3.1-flash-image
Powerful, high-efficiency image generation and editing model, optimized for speed and high-volume use cases.
Gemini 3.1 Flash-Lite Image ( Nano Banana 2 Lite )
gemini-3.1-flash-lite-image
Ultra-low latency and cost-effective image generation and editing model, designed for high-volume interactive use cases.
Audio-generating models
Text-to-speech (TTS) models
You can generate speech from text input with Gemini TTS models.
Go to tables with model details
Gemini 3.x Flash TTS
gemini-3.1-flash-tts-preview
Powerful, low-latency speech generation from text input.
Live API models
You can generate bidirectional streamed audio with models that support the Gemini Live API .
Go to tables with model details
Gemini 3.x Flash with Gemini Live API native audio
Gemini Developer API:
gemini-3.1-flash-live-preview
Agent Platform Gemini API:
not supported
Enables low-latency, real-time voice and video interactions with a Gemini model that is bidirectional .
Gemini 2.5 Flash with Gemini Live API native audio
Gemini Developer API:
gemini-2.5-flash-native-audio-preview-12-2025
Agent Platform Gemini API:
gemini-live-2.5-flash-native-audio
Enables low-latency, real-time voice and video interactions with a Gemini model that is bidirectional .
The remainder of this page provides detailed information about the models supported by Firebase AI Logic .
- Supported input and output
- High-level comparison of the supported capabilities
- Specifications and limitations, for example max input tokens or max length of input video
Description of how models are versioned , specifically their stable , preview , and experimental versions
Lists of available model names to include in your code during initialization
Lists of supported languages for the models
At the bottom of this page, you can view detailed information about previous generation models .
Сравните модели
Each model has different capabilities to support various use cases. Note that each of tables in this section describe each model when used with Firebase AI Logic . Each model might have additional capabilities that aren't available when using our SDKs.
If you can't find the information you're looking for in the following sub-sections, you can find even more information in your chosen API provider documentation: Gemini Developer API orAgent Platform Gemini API (formerly Vertex AI) .
Supported input and output
The following table lists the supported input and output types when using each model with Firebase AI Logic .
To learn about supported file types, see Supported input files and requirements .
| Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live | |
|---|---|---|---|---|---|---|
| Input types | ||||||
| Текст | ||||||
| Код | ||||||
| Документы (PDFs or plain-text) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Output types | ||||||
| Текст | ||||||
| Text (streaming) | ||||||
| Код | ||||||
| Структурированный вывод (like JSON) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
Supported capabilities and features
The following table lists the supported capabilities and features when using each model with Firebase AI Logic .
| Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live | |
|---|---|---|---|---|---|---|
| Мышление | ||||||
| Generate text from text-only or multimodal inputs | interleaved or as part of image | interleaved or as part of image | interleaved or as part of image | transcription of audio | ||
| Сгенерировать изображения | ||||||
| Редактировать изображения | ||||||
| Сгенерировать аудио | речь | streamed audio | ||||
| Generate structured output (like JSON) | ||||||
| Анализ документов (PDFs or plain-text) ( text-output | image-output ) | ||||||
| Анализ изображений ( text-output | image-output ) | ||||||
| Проанализируйте видео ( text-output | image-output ) | streamed video | |||||
| Analyze audio | streamed audio | |||||
| Multi-turn chat | ||||||
| Bidirectional multimodal streaming | ||||||
| Поддерживаемые инструменты | ||||||
| Вызов функции | ||||||
| Выполнение кода | ||||||
| контекст URL | ||||||
| Освоение основ | ||||||
| Определить местоположение с помощью | ||||||
Specifications and limitations
The following table lists the specifications and limitations when using each model with Firebase AI Logic .
| Свойство | Gemini 3.x Pro, Flash, Flash‑Lite | Gemini 3.x Pro Image | Gemini 3.x Flash Image | Gemini 3.x Flash‑Lite Image | Gemini 3.x Flash TTS | Gemini Live |
|---|---|---|---|---|---|---|
| Input token limit * | 1 048 576 токенов | 65,536 tokens | 131,072 tokens | 65,536 tokens | 8192 токена | see docs |
| Output token limit * | 65,536 tokens | 32,768 tokens | 32,768 tokens | 4,096 tokens | 16,384 tokens | |
| PDFs (per request) | ||||||
| Max number of input PDF files ** | 900 files | 14 файлов | 14 файлов | 14 файлов | --- | see docs |
| Max number of pages per input PDF file ** | 900 pages | 14 страниц | 14 страниц | 14 страниц | --- | |
| Max size per input PDF file | 50 МБ | 50 МБ | 50 МБ | 50 МБ | --- | |
| Images (per request) | ||||||
| Max number of input images | 1,000 images | 14 изображений | 14 изображений | 14 изображений | --- | see docs |
| Max size per input base64-encoded image | 7 МБ | 7 МБ | 7 МБ | 7 МБ | --- | |
| Max number of output images | --- | Up to output token limit | Up to output token limit | Up to output token limit | --- | |
| Video (per request) | ||||||
| Max number of input video files | 10 файлов | --- | Up to input token limit | Up to input token limit | --- | see docs |
| Максимальная длина of all input video (frames only) | ~60 минут | --- | ~25 minutes | ~12 minutes | --- | |
| Максимальная длина of all input video (frames+audio) | ~45 minutes | --- | --- | --- | --- | |
| Audio (per request) | ||||||
| Max number of input audio files | 1 файл | --- | --- | --- | --- | see docs |
| Максимальная длина of all input audio | ~8.4 hours | --- | --- | --- | --- | |
* For all Gemini models, a token is equivalent to about 4 characters, so 100 tokens are about 60-80 English words. For Gemini models, you can determine the total count of tokens in your requests using countTokens .
** PDFs are treated as images, so a single page of a PDF is treated as one image. The number of pages allowed in a request is limited to the number of images the model can support.
Find additional detailed information
Quotas and pricing are different for each model. Pricing also depends on input and output.
Learn about supported input file types, how to specify MIME type, and how to make sure that your input files and multimodal requests meet the requirements and follow best practices in Supported input files and requirements .
Model versioning and naming patterns
Models are offered in stable , preview , and experimental versions. For convenience, the-latest aliases are supported, but they're not recommended due to the inconsistency in which model version they point to.
Make sure to review our best practices for using model versions .
To find specific model names to use in your code, see the "available model names" section later on this page.
| Version type / Release stage | Описание | Model name pattern | |
|---|---|---|---|
| Стабильный | Stable versions are available and supported for production use starting on the release date.
| Model names of stable versions have no suffix Пример: | |
| Предварительный просмотр | Preview versions have new capabilities and are considered not stable .
| Model names of preview versions are appended with Пример: | |
| Экспериментальный | Experimental versions have new capabilities and are considered not stable .
| Model names of experimental versions are appended with Пример: | |
| Shutdown (retired) | Shutdown (retired) versions are past their shutdown (retirement) date and have been permanently deactivated.
| --- | |
Best practices for using model versions
In your production apps , use the explicit model name for the most recent stable version.
For Agent Platform Gemini API (formerly Vertex AI) , if you choose to use a short-term availability model in your production app, it's even more critical that you use Firebase Remote Config or server prompt templates to control the model name used for your AI feature.
Use preview and experimental versions only during prototyping . We recommend using a stable version when you start developing and testing for a production use case.
We do not recommend using the
-latestaliases (even during development). This alias points to the latest release for a specific model variation (which could be a stable, preview, or experimental version). This alias will get hot-swapped with every new release of a specific model variation, and only for breaking changes will a 2-week-prior notification email be sent. This instability of which model you're actually using can lead to unexpected behavior changes for your AI feature.
Available model names
Model names are the explicit values that you include in your code during initialization of the model.
General-use models (like
gemini-3.7-flash)Image-generating models (like
gemini-3.1-flash-image, aka the "Nano Banana" models)Audio-generating models :
- Text-to-speech (TTS) models (like
gemini-3.1-flash-tts-preview) - Live API models (like
gemini-live-2.5-flash-native-audio)
- Text-to-speech (TTS) models (like
For initialization examples for your platform, see the getting started guide .
For details about the release stages (especially for use cases, billing, and shutdown), see model versioning and naming patterns .
Programmatically list all available models
You can list all available models names using the REST API:
Gemini Developer API : Call the
models.listendpointAgent Platform Gemini API (formerly Vertex AI) : Call the
publishers.models.listendpoint
Note that this returned list will include all models supported by the API providers, but Firebase AI Logic only supports the Gemini models described on this page.
General-use models
Gemini 3.x Pro model names
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-pro-preview | Latest preview version of Gemini 3.x Pro | Предварительный просмотр | 2026-02-19 | Будет определено позже |
Gemini 3.x Flash model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.7-flash | Latest stable version of Gemini 3.x Flash This is a short-term availability model (see Model versioning and naming patterns ). | Стабильный | 2026-08-13 | Будет определено позже |
gemini-3.6-flash | Stable version of Gemini 3.x Flash This is a short-term availability model (see Model versioning and naming patterns ). | Стабильный | 2026-07-21 | Будет определено позже |
gemini-3.5-flash | Stable version of Gemini 3.x Flash | Стабильный | 2026-05-19 | No earlier than 2027-05-19 |
gemini-3-flash-preview | Preview version of Gemini 3.x Flash | Предварительный просмотр | 2025-12-17 | Будет определено позже |
Gemini 3.x Flash‑Lite model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.5-flash-lite | Latest stable version of Gemini 3.x Flash‑Lite | Стабильный | 2026-07-21 | No earlier than 2027-07-21 |
gemini-3.1-flash-lite | Stable version of Gemini 3.x Flash‑Lite | Стабильный | 2026-05-07 | No earlier than 2027-05-07 |
Image-generating models
Gemini 3.x Pro Image model names (aka "Nano Banana Pro")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3-pro-image | Stable version of Gemini 3.x Pro Image (aka "Nano Banana Pro") | Стабильный | 2026-05-28 | No earlier than 2027-05-28 |
gemini-3-pro-image-preview | Preview version of Gemini 3.x Pro Image (aka "Nano Banana Pro") | Предварительный просмотр | 2025-11-20 | Уже в 1900-х годах 2026-06-25 |
Gemini 3.x Flash Image model names (aka "Nano Banana 2")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-image | Stable version of Gemini 3.x Flash Image (aka "Nano Banana 2") | Стабильный | 2026-05-28 | No earlier than 2027-05-28 |
gemini-3.1-flash-image-preview | Preview version of Gemini 3.x Flash Image (aka "Nano Banana 2") | Предварительный просмотр | 2026-02-26 | Уже в 1900-х годах 2026-06-25 |
Gemini 3.x Flash‑Lite Image model names (aka "Nano Banana 2 Lite")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-lite-image | Stable version of Gemini 3.x Flash‑Lite Image (aka "Nano Banana 2 Lite") This is a short-term availability model (see Model versioning and naming patterns ). | Стабильный | 2026-06-30 | Будет определено позже |
Audio - text-to-speech (TTS) models
Gemini 3.x Flash TTS model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-tts-preview | Preview version for Gemini 3.x Flash TTS | Предварительный просмотр | 2026-06-17 | Будет определено позже |
Audio - Live API models
Gemini 3.x Flash Live model names
| API разработчика Gemini Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-3.1-flash-live-preview 1 | Preview version for the Live API on the Gemini Developer API | Предварительный просмотр | 2026-03-26 | Будет определено позже |
| Agent Platform Gemini API (formerly Vertex AI) Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
| The Agent Platform Gemini API (formerly Vertex AI) does not support any Gemini Live 3.x models. | ||||
1 Only supported by the Gemini Developer API . Also, even though this is a preview model, it's available on the "free tier" of the Gemini Developer API .
Gemini 2.5 Flash Live model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API (usually preview models require a paid plan).
Even though the following models have different model names depending on the Gemini API provider, the features of the model are the same.
| API разработчика Gemini Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash-native-audio-preview-12-2025 1 | Preview version for the Live API on the Gemini Developer API | Предварительный просмотр | 2025-12-12 | Будет определено позже |
gemini-2.5-flash-native-audio-preview-09-2025 1 | Initial preview version for the Live API on the Gemini Developer API | Предварительный просмотр | 2025-09-18 | Будет определено позже |
| Agent Platform Gemini API (formerly Vertex AI) Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-live-2.5-flash-native-audio 2 | Stable version for the Live API on the Agent Platform Gemini API (formerly Vertex AI) | Стабильный | 2025-12-12 | No earlier than 2026-12-12 |
gemini-live-2.5-flash-preview-native-audio-09-2025 2 | Preview version for the Live API on the Agent Platform Gemini API (formerly Vertex AI) | Предварительный просмотр | 2025-09-18 | Будет определено позже |
1 Only supported by the Gemini Developer API . Also, even though these are preview models, they're available on the "free tier" of the Gemini Developer API .
2 Only supported by the Agent Platform Gemini API (formerly Vertex AI) . Also, these models are not available in the global location.
Поддерживаемые языки
All the Gemini models can understand and respond in the following languages:
Arabic (ar), Bengali (bn), Bulgarian (bg), Chinese simplified and traditional (zh), Croatian (hr), Czech (cs), Danish (da), Dutch (nl), English (en), Estonian (et), Finnish (fi), French (fr), German (de), Greek (el), Hebrew (iw), Hindi (hi), Hungarian (hu), Indonesian (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Norwegian (no), Polish (pl), Portuguese (pt), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es), Swahili (sw), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk), Vietnamese (vi)
Gemini 2.0 Flash , Gemini 1.5 Pro and Gemini 1.5 Flash models can understand and respond in the following additional languages:
Afrikaans (af), Amharic (am), Assamese (as), Azerbaijani (az), Belarusian (be), Bosnian (bs), Catalan (ca), Cebuano (ceb), Corsican (co), Welsh (cy), Dhivehi (dv), Esperanto (eo), Basque (eu), Persian (fa), Filipino (Tagalog) (fil), Frisian (fy), Irish (ga), Scots Gaelic (gd), Galician (gl), Gujarati (gu), Hausa (ha), Hawaiian (haw), Hmong (hmn), Haitian Creole (ht), Armenian (hy), Igbo (ig), Icelandic (is), Javanese (jv), Georgian (ka), Kazakh (kk), Khmer (km), Kannada (kn), Krio (kri), Kurdish (ku), Kyrgyz (ky), Latin (la), Luxembourgish (lb), Lao (lo), Malagasy (mg), Maori (mi), Macedonian (mk), Malayalam (ml), Mongolian (mn), Meiteilon (Manipuri) (mni-Mtei), Marathi (mr), Malay (ms), Maltese (mt), Myanmar (Burmese) (my), Nepali (ne), Nyanja (Chichewa) (ny), Odia (Oriya) (or), Punjabi (pa), Pashto (ps), Sindhi (sd), Sinhala (Sinhalese) (si), Samoan (sm), Shona (sn), Somali (so), Albanian (sq), Sesotho (st), Sundanese (su), Tamil (ta), Telugu (te), Tajik (tg), Uyghur (ug), Urdu (ur), Uzbek (uz), Xhosa (xh), Yiddish (yi), Yoruba (yo), Zulu (zu)
Information about previous models
The following are active, but previous generation models. We recommend using one of the latest models instead when possible.
If you can't find the information you're looking for in the following sub-sections, you can find even more information in your chosen API provider documentation: Gemini Developer API orAgent Platform Gemini API (formerly Vertex AI)
Older Gemini models
-
gemini-2.5-pro -
gemini-2.5-flash -
gemini-2.5-flash-lite -
gemini-2.5-flash-image(aka "Nano Banana") -
gemini-2.0-flash-001(and its auto-updated aliasgemini-2.0-flash) -
gemini-2.0-flash-lite-001(and its auto-updated aliasgemini-2.0-flash-lite)
For information about older Gemini Live API models, see the Gemini API provider documentation:
Older Imagen models
-
imagen-4.0-ultra-generate-001 -
imagen-4.0-generate-001 -
imagen-4.0-fast-generate-001 -
imagen-3.0-capability-001 -
imagen-3.0-generate-002 -
imagen-3.0-generate-001 -
imagen-3.0-fast-generate-001
View details about about previous models
These are the input and output types when using each model with Firebase AI Logic :
| Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (generate) | Изображение (capability) | |
|---|---|---|---|---|---|---|
| Input types | ||||||
| Текст | ||||||
| Код | ||||||
| Документы (PDFs or plain-text) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Audio (streaming) | ||||||
| Output types | ||||||
| Текст | ||||||
| Text (streaming) | ||||||
| Код | ||||||
| Структурированный вывод (like JSON) | ||||||
| Изображения | ||||||
| Видео | ||||||
| Аудио | ||||||
| Audio (streaming) | ||||||
These are the capabilities and features when using each model with Firebase AI Logic :
| Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (generate) | Изображение (capability) | |
|---|---|---|---|---|---|---|
| Мышление | ||||||
| Generate text from text-only or multimodal inputs | interleaved or as part of image | |||||
| Сгенерировать изображения ( Gemini or Imagen ) | ||||||
| Редактировать изображения ( Gemini or Imagen ) | ||||||
| Сгенерировать аудио | ||||||
| Generate structured output (like JSON) | ||||||
| Анализ документов (PDFs or plain-text) ( text-output | image-output ) | ||||||
| Анализ изображений ( text-output | image-output ) | ||||||
| Проанализируйте видео ( text-output | image-output ) | ||||||
| Analyze audio | ||||||
| Multi-turn chat | ||||||
| Bidirectional multimodal streaming | ||||||
| Поддерживаемые инструменты | ||||||
| Вызов функции | ||||||
| Выполнение кода | ||||||
| контекст URL | ||||||
| Освоение основ | ||||||
| Определить местоположение с помощью | ||||||
| Системные инструкции | ||||||
| Подсчет токенов | ||||||
These are the specifications and limitations when using each model with Firebase AI Logic :
| Свойство | Gemini 2.5 Pro, Flash, Flash‑Lite | Gemini 2.5 Flash Image | Gemini 2.0 Flash | Gemini 2.0 Flash‑Lite | Изображение (generate) | Изображение (capability) |
|---|---|---|---|---|---|---|
| Input token limit * | 1 048 576 токенов | 32,768 tokens | 1 048 576 токенов | 1 048 576 токенов | 480 tokens | 480 tokens |
| Output token limit * | 65,536 tokens | 8192 токена | 8192 токена | 8192 токена | --- | --- |
| Knowledge cutoff date | Январь 2025 г. | --- | Июнь 2024 г. | Июнь 2024 г. | --- | --- |
| PDFs (per request) | ||||||
| Max number of input PDF files ** | 3,000 files | 3 files | 3,000 files | 3,000 files | --- | --- |
| Max number of pages per input PDF file ** | 1,000 pages | 3 страницы | 1,000 pages | 1,000 pages | --- | --- |
| Max size per input PDF file | 50 МБ | 50 МБ | 50 МБ | 50 МБ | --- | --- |
| Images (per request) | ||||||
| Max number of input images | 3000 изображений | 3 images | 3000 изображений | 3000 изображений | --- | 4 изображения |
| Max number of output images | --- | Up to output token limit | --- | --- | 4 изображения | 4 изображения |
| Max size per input base64-encoded image | 7 МБ | 7 МБ | 7 МБ | 7 МБ | --- | --- |
| Video (per request) | ||||||
| Max number of input video files | 10 файлов | --- | 10 файлов | 10 файлов | --- | --- |
| Максимальная длина of all input video (frames only) | ~60 минут | --- | ~60 минут | ~60 минут | --- | --- |
| Максимальная длина of all input video (frames+audio) | ~45 minutes | --- | ~45 minutes | ~45 minutes | --- | --- |
| Audio (per request) | ||||||
| Max number of input audio files | 1 файл | --- | 1 файл | 1 файл | --- | --- |
| Max number of output audio files | --- | --- | --- | --- | --- | --- |
| Максимальная длина of all input audio | ~8.4 hours | --- | ~8.4 hours | ~8.4 hours | --- | --- |
| Максимальная длина of all output audio | --- | --- | --- | --- | --- | --- |
* For all Gemini models, a token is equivalent to about 4 characters, so 100 tokens are about 60-80 English words. For Gemini models, you can determine the total count of tokens in your requests using countTokens .
** PDFs are treated as images, so a single page of a PDF is treated as one image. The number of pages allowed in a request is limited to the number of images the model can support.
Model names are the explicit values that you include in your code during initialization of the model.
модели Близнецов
Gemini 2.5 Pro model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-pro | Stable version of Gemini 2.5 Pro | Стабильный | 2025-06-17 | Уже в 1900-х годах 2026-10-16 |
Gemini 2.5 Flash model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash | Stable version of Gemini 2.5 Flash | Стабильный | 2025-06-17 | Уже в 1900-х годах 2026-10-16 |
Gemini 2.5 Flash‑Lite model names
Does not require the pay-as-you-go Blaze pricing plan if you're using the Gemini Developer API .
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash-lite | Stable version of Gemini 2.5 Flash‑Lite | Стабильный | 2025-07-22 | Уже в 1900-х годах 2026-10-16 |
Gemini 2.5 Flash Image model names (aka "Nano Banana")
Requires the pay-as-you-go Blaze pricing plan regardless of your Gemini API provider.
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.5-flash-image | Stable version of Gemini 2.5 Flash Image (aka "Nano Banana") | Стабильный | 2025-10-02 | 2026-10-02 |
Gemini 2.0 Flash model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.0-flash-001 | Latest stable version of Gemini 2.0 Flash | Стабильный | 2025-02-05 | 2026-06-01 |
gemini-2.0-flash | Auto-updated alias pointing to the latest stable version of Gemini 2.0 Flash (в настоящее время gemini-2.0-flash-001 ) | Стабильный | 2025-02-10 | 2026-06-01 |
Gemini 2.0 Flash‑Lite model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
gemini-2.0-flash-lite-001 | Latest stable version of Gemini 2.0 Flash‑Lite | Стабильный | 2025-02-25 | 2026-06-01 |
gemini-2.0-flash-lite | Auto-updated alias pointing to the latest stable version of Gemini 2.0 Flash‑Lite (в настоящее время gemini-2.0-flash-lite-001 ) | Стабильный | 2025-02-25 | 2026-06-01 |
Imagen models
Imagen 4 model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-4.0-generate-001 | Stable version of Imagen 4 | Стабильный | 2025-08-14 | 2026-06-30 |
Imagen 4 Fast model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-4.0-fast-generate-001 | Stable version of Imagen 4 Fast | Стабильный | 2025-08-14 | 2026-06-30 |
Imagen 4 Ultra model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-4.0-ultra-generate-001 | Stable version of Imagen 4 Ultra | Стабильный | 2025-08-14 | 2026-06-30 |
Imagen 3 Capability model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-3.0-capability-001 | Initial stable version of Imagen 3 Capability | Стабильный | 2024-12-10 | 2026-06-30 |
Imagen 3 model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-3.0-generate-002 | Latest stable version of Imagen 3 | Стабильный | 2025-01-23 | 2026-06-30 |
imagen-3.0-generate-001 | Initial stable version of Imagen 3 | Стабильный | 2024-07-31 | 2026-06-30 |
Imagen 3 Fast model names
| Название модели | Описание | Release stage | Дата выпуска | Shutdown date |
|---|---|---|---|---|
imagen-3.0-fast-generate-001 | Initial stable version of Imagen 3 Fast | Стабильный | 2024-07-31 | 2026-06-30 |
Следующие шаги
Try out the capabilities of the Gemini API
- Build multi-turn conversations (chat) .
- Generate text from text-only prompts .
- Generate text by prompting with various file types, like images , PDFs , video , and audio .
- Generate structured output (like JSON) from both text and multimodal prompts.
- Generate and edit images from both text and multimodal prompts.
- Generate speech (both single- and multiple-speakers) using Gemini text-to-speech (TTS) models.
- Stream input and output (including audio) using the Gemini Live API .
- Use tools (like function calling and Grounding with
Google Search orGoogle Maps ) to connect a Gemini model to other parts of your app and external systems and information.