Gemini 2.5 models will shut down in October 2026. To avoid service disruptions, update to a newer model (like gemini-3.6-flash or gemini-3.1-flash-image). Any stable Gemini Live API 2.5 models are not impacted. Learn more.
Stream generated text responses using the Gemini API
Stay organized with collections
Save and categorize content based on your preferences.
Firebase AI Logic supports basic streaming of text responses using
generateContentStream or sendMessageStream (for chat).
You can achieve faster interactions by not waiting for the entire result from
the model generation, and instead use streaming to handle partial results.
Check out the documentation to stream generated text responses for the
following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-30 UTC."],[],[]]