Узнайте о поддерживаемых моделях

Для мобильных и веб-приложений SDK Firebase AI Logic позволяют взаимодействовать с поддерживаемыми моделями Gemini непосредственно из вашего приложения.

Модели Gemini считаются мультимодальными, поскольку они способны обрабатывать и даже генерировать несколько модальностей, включая текст, код, PDF-файлы, изображения, видео и аудио.

Также ознакомьтесь с разделом часто задаваемых вопросов (FAQ) , где представлена ​​информация о моделях, которые поддерживает и не поддерживает Firebase AI Logic .

БЫСТРЫЙ И ИНТЕЛЛЕКТУАЛЬНЫЙ

gemini-3.7-flash

Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене. (выставление счетов не требуется)

СВЕРХБЫСТРЫЙ

gemini-3.5-flash-lite

Высокопроизводительная, экономичная и надежная рабочая лошадка, обладающая производительностью и качеством серии Gemini 3. (выставление счетов не требуется)

СОЗДАНИЕ ИЗОБРАЖЕНИЙ

gemini-3.1-flash-image

Мощная и высокоэффективная модель генерации и редактирования изображений, оптимизированная для быстрого и высокопроизводительного использования в больших объемах. (требуется оплата)

Модели общего назначения

Перейти к таблицам с подробными сведениями о модели

gemini-3.1-pro-preview

Высокий уровень интеллекта, сложные навыки решения проблем, а также мощные возможности кодирования действий агентов и атмосферы. (требуется оплата)

gemini-3.7-flash

Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене. (выставление счетов не требуется)

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-image

Современная модель генерации и редактирования изображений для создания контекстно-зависимых исходных изображений. (требуется оплата)

gemini-3.1-flash-image

Мощная и высокоэффективная модель генерации и редактирования изображений, оптимизированная для быстрого и высокопроизводительного использования в больших объемах. (требуется оплата)

gemini-3.1-flash-lite-image

Модель генерации и редактирования изображений со сверхнизкой задержкой и высокой экономичностью, разработанная для интерактивных сценариев с большим объемом данных. (требуется оплата)

Модели генерации звука

Модели преобразования текста в речь (TTS)

С помощью моделей Gemini TTS можно генерировать речь из текстового ввода.

Перейти к таблицам с подробными сведениями о модели

gemini-3.1-flash-tts-preview

Мощная система генерации речи с низкой задержкой на основе текстового ввода. (выставление счетов не требуется)

Модели Live API

Вы можете создавать двунаправленный потоковый звук с помощью моделей, поддерживающих Gemini Live API .

Перейти к таблицам с подробными сведениями о модели

API для разработчиков Gemini:
gemini-3.1-flash-live-preview

API платформы агентов Gemini:
не поддерживается

Обеспечивает голосовое и видеовзаимодействие в реальном времени с низкой задержкой благодаря двунаправленной модели Gemini. (выставление счетов не требуется)

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
Освоение основ Google Search
Определить местоположение с помощью Google Maps

Технические характеристики и ограничения

В таблице ниже приведены технические характеристики и ограничения при использовании каждой модели с 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-файла рассматривается как одно изображение. Количество страниц, разрешенных в запросе, ограничено количеством изображений, которые может поддерживать модель.

Найдите дополнительную подробную информацию.



Шаблоны версионирования и именования моделей

Модели предлагаются в стабильной , предварительной и экспериментальной версиях. Для удобства, Поддерживаются псевдонимы -latest , но их использование не рекомендуется из-за несоответствия версий моделей, на которые они указывают.

Обязательно ознакомьтесь с нашими рекомендациями по использованию версий моделей .

Чтобы найти конкретные названия моделей для использования в вашем коде, см. раздел «Доступные названия моделей» далее на этой странице.

Тип версии /
Этап выпуска
Описание Шаблон названия модели
Стабильный Стабильные версии доступны и поддерживаются для использования в производственной среде начиная с даты выпуска.
  • Как правило, стабильная версия модели выпускается с указанием даты прекращения поддержки, то есть последнего дня, когда модель была доступна. После этой даты модель больше недоступна и не поддерживается компанией Google.
  • Большинство стабильных моделей доступны в течение 12 месяцев после даты их выпуска (даже если будет выпущена модель-заменитель).
  • В случае с API Agent Platform Gemini (ранее Vertex AI) некоторые стабильные модели доступны только в течение короткого времени , что означает, что они могут быть отключены (сняты с поддержки) уже через 45 дней после выпуска модели-заменителя.

Названия моделей стабильных версий не имеют суффикса.

Пример:
gemini-3.7-flash

Предварительный просмотр Предварительные версии обладают новыми возможностями и считаются нестабильными .
  • Эти модели не рекомендуются для использования в производственных целях, имеют более жесткие ограничения по скорости передачи данных и могут предусматривать требования к выставлению счетов.
  • Эти модели отключаются (снимаются с производства) через несколько недель или месяцев после выпуска соответствующей стабильной версии.
  • Для API Gemini Agent Platform (ранее Vertex AI) предварительные модели доступны только в global расположении .

Названия моделей в предварительных версиях дополняются символом -preview

Пример:
gemini-3-pro-preview

Экспериментальный Экспериментальные версии обладают новыми возможностями и считаются нестабильными .
  • Эти модели не рекомендуются для использования в производственных условиях и имеют более жесткие ограничения по скорости запросов. Экспериментальные модели предназначены для сбора отзывов и проведения экспериментов с нашими новейшими функциями.
  • Эти модели отключаются (снимаются с производства) через несколько недель или месяцев после выпуска соответствующей стабильной версии.
  • Для API Agent Platform Gemini (ранее Vertex AI) экспериментальные модели доступны только в global расположении .

Названия моделей экспериментальных версий дополняются символом: -exp вместе с датой выпуска модели ( -MM-DD )

Пример:
gemini-2.5-pro-exp-03-25
(Выпущено 25 марта 2025 г.)

Закрытие (снято с производства) Выведенные из эксплуатации (устаревшие) версии устарели и были навсегда деактивированы.
  • Снятые с производства (выведенные из эксплуатации) модели больше недоступны и не поддерживаются Google, а запрос с использованием названия снятой с производства модели возвращает ошибку 404.

---

Рекомендации по использованию версий моделей

  • В приложениях, используемых в рабочей среде , явно указывайте имя модели для самой последней стабильной версии.

    Для API Agent Platform Gemini (ранее Vertex AI) , если вы решите использовать модель краткосрочной доступности в своем рабочем приложении, еще более важно использовать Firebase Remote Config или шаблоны серверных запросов для управления именем модели, используемым для вашей функции ИИ.

  • На этапе прототипирования используйте только предварительные и экспериментальные версии . Для разработки и тестирования в производственных условиях рекомендуется использовать стабильную версию.

  • Мы не рекомендуем использовать -latest псевдонимы (даже во время разработки). Этот псевдоним указывает на последнюю версию конкретной модификации модели (это может быть стабильная, предварительная или экспериментальная версия). Этот псевдоним будет автоматически заменяться при каждом новом релизе конкретной модификации модели, и уведомление по электронной почте будет отправлено только в случае критических изменений за 2 недели. Такая нестабильность в определении используемой модели может привести к неожиданным изменениям в поведении вашей функции ИИ.



Доступные названия моделей

Названия моделей — это явные значения, которые вы указываете в своем коде во время инициализации модели.

Примеры инициализации для вашей платформы см. в руководстве по началу работы .

Подробную информацию об этапах выпуска (особенно о вариантах использования, выставлении счетов и завершении работы) см. в разделе «Версионирование моделей и шаблоны именования» .

Программно вывести список всех доступных моделей

Вы можете получить список всех доступных названий моделей, используя REST API:

Обратите внимание, что в полученный список будут включены все модели, поддерживаемые поставщиками 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

Посмотреть подробную информацию о предыдущих моделях



Следующие шаги

Оцените возможности API Gemini.

,

Для мобильных и веб-приложений SDK Firebase AI Logic позволяют взаимодействовать с поддерживаемыми моделями Gemini непосредственно из вашего приложения.

Модели Gemini считаются мультимодальными, поскольку они способны обрабатывать и даже генерировать несколько модальностей, включая текст, код, PDF-файлы, изображения, видео и аудио.

Также ознакомьтесь с разделом часто задаваемых вопросов (FAQ) , где представлена ​​информация о моделях, которые поддерживает и не поддерживает Firebase AI Logic .

БЫСТРЫЙ И ИНТЕЛЛЕКТУАЛЬНЫЙ

gemini-3.7-flash

Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене. (выставление счетов не требуется)

СВЕРХБЫСТРЫЙ

gemini-3.5-flash-lite

Высокопроизводительная, экономичная и надежная рабочая лошадка, обладающая производительностью и качеством серии Gemini 3. (выставление счетов не требуется)

СОЗДАНИЕ ИЗОБРАЖЕНИЙ

gemini-3.1-flash-image

Мощная и высокоэффективная модель генерации и редактирования изображений, оптимизированная для быстрого и высокопроизводительного использования в больших объемах. (требуется оплата)

Модели общего назначения

Перейти к таблицам с подробными сведениями о модели

gemini-3.1-pro-preview

Высокий уровень интеллекта, сложные навыки решения проблем, а также мощные возможности кодирования действий агентов и атмосферы. (требуется оплата)

gemini-3.7-flash

Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене. (выставление счетов не требуется)

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-image

Современная модель генерации и редактирования изображений для создания контекстно-зависимых исходных изображений. (требуется оплата)

gemini-3.1-flash-image

Мощная и высокоэффективная модель генерации и редактирования изображений, оптимизированная для быстрого и высокопроизводительного использования в больших объемах. (требуется оплата)

gemini-3.1-flash-lite-image

Модель генерации и редактирования изображений со сверхнизкой задержкой и высокой экономичностью, разработанная для интерактивных сценариев с большим объемом данных. (требуется оплата)

Модели генерации звука

Модели преобразования текста в речь (TTS)

С помощью моделей Gemini TTS можно генерировать речь из текстового ввода.

Перейти к таблицам с подробными сведениями о модели

gemini-3.1-flash-tts-preview

Мощная система генерации речи с низкой задержкой на основе текстового ввода. (выставление счетов не требуется)

Модели Live API

Вы можете создавать двунаправленный потоковый звук с помощью моделей, поддерживающих Gemini Live API .

Перейти к таблицам с подробными сведениями о модели

API для разработчиков Gemini:
gemini-3.1-flash-live-preview

API платформы агентов Gemini:
не поддерживается

Обеспечивает голосовое и видеовзаимодействие в реальном времени с низкой задержкой благодаря двунаправленной модели Gemini. (выставление счетов не требуется)

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
Освоение основ Google Search
Определить местоположение с помощью Google Maps

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



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.
  • A stable model version is typically released with a retirement date, which indicates the last day that the model is available. After this date, the model is no longer accessible or supported by Google.
  • Most stable models are available for 12 months after their release date (even if a replacement model is released).
  • For the Agent Platform Gemini API (formerly Vertex AI) , some stable models only have short-term availability , which means that they may be shut down (retired) as early as 45 days after a replacement model is released.

Model names of stable versions have no suffix

Пример:
gemini-3.7-flash

Предварительный просмотр Preview versions have new capabilities and are considered not stable .
  • These models are not recommended for production use, come with more restrictive rate limits, and may have billing requirements.
  • These models are shut down (retired) within a few weeks or months after their associated stable version is released.
  • For the Agent Platform Gemini API (formerly Vertex AI) , preview models are only available in the global location .

Model names of preview versions are appended with -preview

Пример:
gemini-3-pro-preview

Экспериментальный Experimental versions have new capabilities and are considered not stable .
  • These models are not recommended for production use and come with more restrictive rate limits. Experimental models are intended for gathering feedback and to enable experimentation with our latest features.
  • These models are shut down (retired) within a few weeks or months after their associated stable version is released.
  • For the Agent Platform Gemini API (formerly Vertex AI) , experimental models are only available in the global location .

Model names of experimental versions are appended with -exp along with the model's release date ( -MM-DD )

Пример:
gemini-2.5-pro-exp-03-25
(released on March 25, 2025)

Shutdown (retired) Shutdown (retired) versions are past their shutdown (retirement) date and have been permanently deactivated.
  • Shutdown (retired) models are no longer accessible or supported by Google, and a request using a retired model name returns a 404 error.

---

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 -latest aliases (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.

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:

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 alias gemini-2.0-flash )
  • gemini-2.0-flash-lite-001 (and its auto-updated alias gemini-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



Следующие шаги

Try out the capabilities of the Gemini API

,

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.

FAST AND INTELLIGENT

gemini-3.7-flash

Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене. (billing not required)

ULTRA FAST

gemini-3.5-flash-lite

High-volume, cost-sensitive workhorse model with the performance and quality of the Gemini 3 series. (billing not required)

IMAGE GENERATING

gemini-3.1-flash-image

Powerful, high-efficiency image generation and editing model, optimized for speed and high-volume use cases. (billing required)

General-use models

Go to tables with model details

gemini-3.1-pro-preview

Высокий уровень интеллекта, сложные навыки решения проблем, а также мощные возможности кодирования действий агентов и атмосферы. (billing required)

gemini-3.7-flash

Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене. (billing not required)

gemini-3.5-flash-lite

High-volume, cost-sensitive workhorse model with the performance and quality of the Gemini 3 series. (billing not required)

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

State-of-the-art image generation and editing model for highly contextual native image creation. (billing required)

gemini-3.1-flash-image

Powerful, high-efficiency image generation and editing model, optimized for speed and high-volume use cases. (billing required)

gemini-3.1-flash-lite-image

Ultra-low latency and cost-effective image generation and editing model, designed for high-volume interactive use cases. (billing required)

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.1-flash-tts-preview

Powerful, low-latency speech generation from text input. (billing not required)

Live API models

You can generate bidirectional streamed audio with models that support the Gemini Live API .

Go to tables with model details

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 . (billing not required)

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 . (billing not required)


The remainder of this page provides detailed information about the models supported by Firebase AI Logic .

  • Compare models :

    • 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
Освоение основ Google Search
Определить местоположение с помощью Google Maps

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



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.
  • A stable model version is typically released with a retirement date, which indicates the last day that the model is available. After this date, the model is no longer accessible or supported by Google.
  • Most stable models are available for 12 months after their release date (even if a replacement model is released).
  • For the Agent Platform Gemini API (formerly Vertex AI) , some stable models only have short-term availability , which means that they may be shut down (retired) as early as 45 days after a replacement model is released.

Model names of stable versions have no suffix

Пример:
gemini-3.7-flash

Предварительный просмотр Preview versions have new capabilities and are considered not stable .
  • These models are not recommended for production use, come with more restrictive rate limits, and may have billing requirements.
  • These models are shut down (retired) within a few weeks or months after their associated stable version is released.
  • For the Agent Platform Gemini API (formerly Vertex AI) , preview models are only available in the global location .

Model names of preview versions are appended with -preview

Пример:
gemini-3-pro-preview

Экспериментальный Experimental versions have new capabilities and are considered not stable .
  • These models are not recommended for production use and come with more restrictive rate limits. Experimental models are intended for gathering feedback and to enable experimentation with our latest features.
  • These models are shut down (retired) within a few weeks or months after their associated stable version is released.
  • For the Agent Platform Gemini API (formerly Vertex AI) , experimental models are only available in the global location .

Model names of experimental versions are appended with -exp along with the model's release date ( -MM-DD )

Пример:
gemini-2.5-pro-exp-03-25
(released on March 25, 2025)

Shutdown (retired) Shutdown (retired) versions are past their shutdown (retirement) date and have been permanently deactivated.
  • Shutdown (retired) models are no longer accessible or supported by Google, and a request using a retired model name returns a 404 error.

---

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 -latest aliases (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.

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:

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 alias gemini-2.0-flash )
  • gemini-2.0-flash-lite-001 (and its auto-updated alias gemini-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



Следующие шаги

Try out the capabilities of the Gemini API

,

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.

FAST AND INTELLIGENT

gemini-3.7-flash

Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене. (billing not required)

ULTRA FAST

gemini-3.5-flash-lite

High-volume, cost-sensitive workhorse model with the performance and quality of the Gemini 3 series. (billing not required)

IMAGE GENERATING

gemini-3.1-flash-image

Powerful, high-efficiency image generation and editing model, optimized for speed and high-volume use cases. (billing required)

General-use models

Go to tables with model details

gemini-3.1-pro-preview

Высокий уровень интеллекта, сложные навыки решения проблем, а также мощные возможности кодирования действий агентов и атмосферы. (billing required)

gemini-3.7-flash

Характеристики уровня Frontier, сопоставимые с более крупными моделями, но по гораздо более низкой цене. (billing not required)

gemini-3.5-flash-lite

High-volume, cost-sensitive workhorse model with the performance and quality of the Gemini 3 series. (billing not required)

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

State-of-the-art image generation and editing model for highly contextual native image creation. (billing required)

gemini-3.1-flash-image

Powerful, high-efficiency image generation and editing model, optimized for speed and high-volume use cases. (billing required)

gemini-3.1-flash-lite-image

Ultra-low latency and cost-effective image generation and editing model, designed for high-volume interactive use cases. (billing required)

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.1-flash-tts-preview

Powerful, low-latency speech generation from text input. (billing not required)

Live API models

You can generate bidirectional streamed audio with models that support the Gemini Live API .

Go to tables with model details

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 . (billing not required)

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 . (billing not required)


The remainder of this page provides detailed information about the models supported by Firebase AI Logic .

  • Compare models :

    • 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
Освоение основ Google Search
Определить местоположение с помощью Google Maps

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



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.
  • A stable model version is typically released with a retirement date, which indicates the last day that the model is available. After this date, the model is no longer accessible or supported by Google.
  • Most stable models are available for 12 months after their release date (even if a replacement model is released).
  • For the Agent Platform Gemini API (formerly Vertex AI) , some stable models only have short-term availability , which means that they may be shut down (retired) as early as 45 days after a replacement model is released.

Model names of stable versions have no suffix

Пример:
gemini-3.7-flash

Предварительный просмотр Preview versions have new capabilities and are considered not stable .
  • These models are not recommended for production use, come with more restrictive rate limits, and may have billing requirements.
  • These models are shut down (retired) within a few weeks or months after their associated stable version is released.
  • For the Agent Platform Gemini API (formerly Vertex AI) , preview models are only available in the global location .

Model names of preview versions are appended with -preview

Пример:
gemini-3-pro-preview

Экспериментальный Experimental versions have new capabilities and are considered not stable .
  • These models are not recommended for production use and come with more restrictive rate limits. Experimental models are intended for gathering feedback and to enable experimentation with our latest features.
  • These models are shut down (retired) within a few weeks or months after their associated stable version is released.
  • For the Agent Platform Gemini API (formerly Vertex AI) , experimental models are only available in the global location .

Model names of experimental versions are appended with -exp along with the model's release date ( -MM-DD )

Пример:
gemini-2.5-pro-exp-03-25
(released on March 25, 2025)

Shutdown (retired) Shutdown (retired) versions are past their shutdown (retirement) date and have been permanently deactivated.
  • Shutdown (retired) models are no longer accessible or supported by Google, and a request using a retired model name returns a 404 error.

---

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 -latest aliases (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.

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:

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 alias gemini-2.0-flash )
  • gemini-2.0-flash-lite-001 (and its auto-updated alias gemini-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



Следующие шаги

Try out the capabilities of the Gemini API