Google Gemini API
    Google Gemini API
    • Get API key
    • Release notes
    • Libraries
    • Run Gemini on Google Cloud
    • Model Capabilities
      • Overview
      • Long context
      • Structured output
      • Document understanding
      • Image understanding
      • Video understanding
      • Audio understanding
      • Text generation
        • Text input
        • Image input
        • Streaming output
        • Multi-turn conversations
        • Multi-turn conversations (Streaming)
        • Configuration parameters
      • Generate images
        • Generate images using Gemini
        • Image editing with Gemini
        • Generate images using Imagen 3
      • Gemini thinking
        • Use thinking models
        • Set budget on thinking models
      • Function calling
        • Function Calling with the Gemini API
    • models
      • All Model
      • Pricing
      • Rate limits
      • Billing info
    • Safety
      • Safety settings
      • Safety guidance

    Release notes

    This page documents updates to the Gemini API.

    April 17, 2025#

    Released gemini-2.5-flash-preview-04-17, a Gemini preview model optimized for price-performance and adaptive thinking. To learn more, see Gemini 2.5 Flash Preview and Thinking.

    April 16, 2025#

    Launched context caching for Gemini 2.0 Flash.

    April 9, 2025#

    Model updates:
    Released veo-2.0-generate-001, a generally available (GA) text- and image-to-video model, capable of generating detailed and artistically nuanced videos. To learn more, see the Veo docs.
    Released gemini-2.0-flash-live-001, a public preview version of the Live API model with billing enabled.

    April 4, 2025#

    Released gemini-2.5-pro-preview-03-25, a public preview Gemini 2.5 Pro version with billing enabled. You can continue to use gemini-2.5-pro-exp-03-25 on the free tier.

    March 25, 2025#

    Released gemini-2.5-pro-exp-03-25, a public experimental Gemini model with thinking mode always on by default. To learn more, see Gemini 2.5 Pro Experimental.

    March 12, 2025#

    Model updates:
    Launched an experimental Gemini 2.0 Flash model capable of image generation and editing.
    Released gemma-3-27b-it, available on AI Studio and through the Gemini API, as part of the Gemma 3 launch.
    API updates:
    Added support for YouTube URLs as a media source.
    Added support for including an inline video of less than 20MB.

    March 11, 2025#

    SDK updates:
    Released the Google Gen AI SDK for TypeScript and JavaScript to public preview.

    March 7, 2025#

    Model updates:
    Released gemini-embedding-exp-03-07, an experimental Gemini-based embeddings model in public preview.

    February 28, 2025#

    API updates:
    Support for Search as a tool added to gemini-2.0-pro-exp-02-05, an experimental model based on Gemini 2.0 Pro.

    February 25, 2025#

    Model updates:
    Released gemini-2.0-flash-lite, a generally available (GA) version of Gemini 2.0 Flash-Lite, which is optimized for speed, scale, and cost efficiency.

    February 19, 2025#

    AI Studio updates:
    Support for additional regions (Kosovo, Greenland and Faroe Islands).
    API updates:
    Support for additional regions (Kosovo, Greenland and Faroe Islands).

    February 18, 2025#

    Model updates:
    Gemini 1.0 Pro is no longer supported. For the list of supported models, see Gemini models.

    February 11, 2025#

    API updates:
    Updates on the OpenAI libraries compatibility.

    February 6, 2025#

    Model updates:
    Released imagen-3.0-generate-002, a generally available (GA) version of Imagen 3 in the Gemini API.
    SDK updates:
    Released the Google Gen AI SDK for Java for public preview.

    February 5, 2025#

    Model updates:
    Released gemini-2.0-flash-001, a generally available (GA) version of Gemini 2.0 Flash that supports text-only output.
    Released gemini-2.0-pro-exp-02-05, an experimental public preview version of Gemini 2.0 Pro.
    Released gemini-2.0-flash-lite-preview-02-05, an experimental public preview model optimized for cost efficiency.
    API updates:
    Added file input and graph output support to code execution.
    SDK updates:
    Released the Google Gen AI SDK for Python to general availability (GA).

    January 21, 2025#

    Model updates:
    Released gemini-2.0-flash-thinking-exp-01-21, the latest preview version of the model behind the Gemini 2.0 Flash Thinking Model.

    December 19, 2024#

    Model updates:
    Released Gemini 2.0 Flash Thinking Mode for public preview. Thinking Mode is a test-time compute model that lets you see the model's thought process while it generates a response, and produces responses with stronger reasoning capabilities.
    Read more about Gemini 2.0 Flash Thinking Mode in our overview page.

    December 11, 2024#

    Model updates:
    Released
    Gemini 2.0 Flash Experimental
    for public preview. Gemini 2.0 Flash Experimental's partial list of features includes:
    Twice as fast as Gemini 1.5 Pro
    Bidirectional streaming with our Live API
    Multimodal response generation in the form of text, images, and speech
    Built-in tool use with multi-turn reasoning to use features like code execution, Search, function calling, and more
    Read more about Gemini 2.0 Flash in our overview page.

    November 21, 2024#

    Model updates:
    Released gemini-exp-1121, an even more powerful experimental Gemini API model.
    Model updates:
    Updated the
    gemini-1.5-flash-latest
    and
    gemini-1.5-flash
    model aliases to use
    gemini-1.5-flash-002
    .
    Change to top_k parameter: The gemini-1.5-flash-002 model supports top_k values between 1 and 41 (exclusive). Values greater than 40 will be changed to 40.

    November 14, 2024#

    Model updates:
    Released gemini-exp-1114, a powerful experimental Gemini API model.

    November 8, 2024#

    API updates:
    Added support for Gemini in the OpenAI libraries / REST API.

    October 31, 2024#

    API updates:
    Added support for Grounding with Google Search.

    October 3, 2024#

    Model updates:
    Released gemini-1.5-flash-8b-001, a stable version of our smallest Gemini API model.

    September 24, 2024#

    Model updates:
    Released gemini-1.5-pro-002 and gemini-1.5-flash-002, two new stable versions of Gemini 1.5 Pro and 1.5 Flash, for general availability.
    Updated the gemini-1.5-pro-latest model code to use gemini-1.5-pro-002 and the gemini-1.5-flash-latest model code to use gemini-1.5-flash-002.
    Released gemini-1.5-flash-8b-exp-0924 to replace gemini-1.5-flash-8b-exp-0827.
    Released the civic integrity safety filter for the Gemini API and AI Studio.
    Released support for two new parameters for Gemini 1.5 Pro and 1.5 Flash in Python and NodeJS: frequencyPenalty and presencePenalty.

    September 19, 2024#

    AI Studio updates:
    Added thumb-up and thumb-down buttons to model responses, to enable users to provide feedback on the quality of a response.
    API updates:
    Added support for Google Cloud credits, which can now be used towards Gemini API usage.

    September 17, 2024#

    AI Studio updates:
    Added an Open in Colab button that exports a prompt – and the code to run it – to a Colab notebook. The feature doesn't yet support prompting with tools (JSON mode, function calling, or code execution).

    September 13, 2024#

    AI Studio updates:
    Added support for compare mode, which lets you compare responses across models and prompts to find the best fit for your use case.

    August 30, 2024#

    Model updates:
    Gemini 1.5 Flash supports supplying JSON schema through model configuration.

    August 27, 2024#

    Model updates:
    Released the following
    experimental models
    :
    gemini-1.5-pro-exp-0827
    gemini-1.5-flash-exp-0827
    gemini-1.5-flash-8b-exp-0827

    August 9, 2024#

    API updates:
    Added support for PDF processing.

    August 5, 2024#

    Model updates:
    Fine-tuning support released for Gemini 1.5 Flash.

    August 1, 2024#

    Model updates:
    Released gemini-1.5-pro-exp-0801, a new experimental version of Gemini 1.5 Pro.

    July 12, 2024#

    Model updates:
    Support for Gemini 1.0 Pro Vision removed from Google AI services and tools.

    June 27, 2024#

    Model updates:
    General availability release for Gemini 1.5 Pro's 2M context window.
    API updates:
    Added support for code execution.

    June 18, 2024#

    API updates:
    Added support for context caching.

    June 12, 2024#

    Model updates:
    Gemini 1.0 Pro Vision deprecated.

    May 23, 2024#

    Model updates:
    Gemini 1.5 Pro (gemini-1.5-pro-001) is generally available (GA).
    Gemini 1.5 Flash (gemini-1.5-flash-001) is generally available (GA).

    May 14, 2024#

    API updates:
    Introduced a 2M context window for Gemini 1.5 Pro (waitlist).
    Introduced pay-as-you-go billing for Gemini 1.0 Pro, with Gemini 1.5 Pro and Gemini 1.5 Flash billing coming soon.
    Introduced increased rate limits for the upcoming paid tier of Gemini 1.5 Pro.
    Added built-in video support to the File API.
    Added plain text support to the File API.
    Added support for parallel function calling, which returns more than one call at a time.

    May 10, 2024#

    Model updates:
    Released Gemini 1.5 Flash (gemini-1.5-flash-latest) in preview.

    April 9, 2024#

    Model updates:
    Released Gemini 1.5 Pro (gemini-1.5-pro-latest) in preview.
    Released a new text embedding model, text-embeddings-004, which supports elastic embedding sizes under 768.
    API updates:
    Released the File API for temporarily storing media files for use in prompting.
    Added support for prompting with text, image, and audio data, also known as multimodal prompting. To learn more, see Prompting with media.
    Released System instructions in beta.
    Added Function calling mode, which defines the execution behavior for function calling.
    Added support for the response_mime_type configuration option, which lets you request responses in JSON format.

    March 19, 2024#

    Model updates:
    Added support for tuning Gemini 1.0 Pro in Google AI Studio or with the Gemini API.

    December 13 2023#

    Model updates:
    gemini-pro: New text model for a wide variety of tasks. Balances capability and efficiency.
    gemini-pro-vision: New multimodal model for a wide variety of tasks. Balances capability and efficiency.
    embedding-001: New embeddings model.
    aqa: A new specially tuned model that is trained to answer questions using text passages for grounding generated answers.
    See Gemini models for more details.
    API version updates:
    v1: The stable API channel.
    v1beta: Beta channel. This channel has features that may be under development.
    See the API versions topic for more details.
    API updates:
    GenerateContent is a single unified endpoint for chat and text.
    Streaming available through the StreamGenerateContent method.
    Multimodal capability: Image is a new supported modality
    New beta features:
    Function Calling
    Semantic Retriever
    Attributed Question Answering (AQA)
    Updated candidate count: Gemini models only return 1 candidate.
    Different Safety Settings and SafetyRating categories. See safety settings for more details.
    Tuning models is not yet supported for Gemini models (Work in progress).
    Modified at 2025-04-24 09:10:50
    Previous
    Get API key
    Next
    Libraries
    Built with