Skip to main content
Model IDs are case-sensitive and belong in the URL path. Do not substitute a marketing name or a retired preview ID in code.
Do not use gemini-2.5-flash-image-preview or gemini-3-pro-image-preview for a current integration. Review Google’s current deprecation schedule before a production migration.
All four current IDs support the documented synchronous generation, asynchronous task, and reference-image editing flows. Exact parameter limits remain in each model’s Parameters page and the current OpenAPI. No fixed model-retirement notice period is currently promised. Material changes may be announced through email, the console, or the public site, but production systems should keep the model ID configurable and review this page plus the documentation changelog regularly.

Choose among the IDs

Use lifecycle, size, workload, and relative cost.

Check current prices

Confirm the account and group before production.

Open the model marketplace

Confirm the current catalog and model ID at request time.
Last modified on September 3, 2026