[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"article-firebase-ai-logic-gemini-3-1-model-support-en":3,"article-related-firebase-ai-logic-gemini-3-1-model-support-en":30,"series-tools-5ad25fbf-e383-4cb3-8d0a-8faf6fc129d3":83},{"id":4,"slug":5,"title":6,"content":7,"summary":8,"source":9,"source_url":10,"author":11,"image_url":12,"cover_image":12,"category":13,"language":14,"translated_content":11,"related_article_id":15,"keywords":16,"key_takeaways":22,"views":26,"created_at":27,"published_at":28,"topic_cluster_id":29},"5ad25fbf-e383-4cb3-8d0a-8faf6fc129d3","firebase-ai-logic-gemini-3-1-model-support-en","Firebase AI Logic adds Gemini 3.1 model support","\u003Cp data-speakable=\"summary\">Firebase AI Logic now supports \u003Ca href=\"\u002Ftag\u002Fgemini\">Gemini\u003C\u002Fa> 3.1 models and sets clear retirement dates for older model families.\u003C\u002Fp>\u003Cp>Firebase has updated its \u003Ca href=\"https:\u002F\u002Ffirebase.google.com\u002Fdocs\u002Fai-logic\u002Fmodels\" target=\"_blank\" rel=\"noopener\">AI Logic model list\u003C\u002Fa> with Gemini 3.1 options, including Pro, Flash, and Flash-Lite. The same page also warns developers that \u003Ca href=\"https:\u002F\u002Ffirebase.google.com\u002Fdocs\u002Fai-logic\u002Fmodels\" target=\"_blank\" rel=\"noopener\">Gemini 2.0 Flash\u003C\u002Fa> and \u003Ca href=\"https:\u002F\u002Ffirebase.google.com\u002Fdocs\u002Fai-logic\u002Fmodels\" target=\"_blank\" rel=\"noopener\">Gemini 2.0 Flash-Lite\u003C\u002Fa> will shut down on June 1, 2026, while all \u003Ca href=\"https:\u002F\u002Ffirebase.google.com\u002Fdocs\u002Fai-logic\u002Fmodels\" target=\"_blank\" rel=\"noopener\">Imagen\u003C\u002Fa> models end on June 24, 2026.\u003C\u002Fp>\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Model family\u003C\u002Fth>\u003Cth>Current status\u003C\u002Fth>\u003Cth>Key date\u003C\u002Fth>\u003Cth>Developer note\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Gemini 3.1 Pro\u003C\u002Ftd>\u003Ctd>Supported\u003C\u002Ftd>\u003Ctd>Preview naming\u003C\u002Ftd>\u003Ctd>Advanced thinking and agentic tasks\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Gemini 3.1 Flash\u003C\u002Ftd>\u003Ctd>Supported\u003C\u002Ftd>\u003Ctd>Preview naming\u003C\u002Ftd>\u003Ctd>Fast, higher-volume use cases\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Gemini 3.1 Flash-Lite\u003C\u002Ftd>\u003Ctd>Supported\u003C\u002Ftd>\u003Ctd>Preview naming\u003C\u002Ftd>\u003Ctd>Low-cost, high-throughput work\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Gemini 2.0 Flash \u002F Flash-Lite\u003C\u002Ftd>\u003Ctd>Supported for now\u003C\u002Ftd>\u003Ctd>June 1, 2026\u003C\u002Ftd>\u003Ctd>Needs migration before shutdown\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>Imagen models\u003C\u002Ftd>\u003Ctd>Deprecated\u003C\u002Ftd>\u003Ctd>June 24, 2026\u003C\u002Ftd>\u003Ctd>Move to Gemini image models\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003Ch2>What Firebase is actually telling developers\u003C\u002Fh2>\u003Cp>The practical message is simple: if your app uses Firebase AI Logic, the supported model set has moved forward, and the old defaults are on a timer. Firebase now points developers toward Gemini 3.1 Pro for heavier reasoning, Gemini 3.5 Flash for fast general work, and Gemini 3.1 Flash-Lite for budget-sensitive traffic.\u003C\u002Fp>\n\u003Cfigure class=\"my-6\">\u003Cimg src=\"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1779560180661-zjv7.png\" alt=\"Firebase AI Logic adds Gemini 3.1 model support\" class=\"rounded-xl w-full\" loading=\"lazy\" \u002F>\u003C\u002Ffigure>\n\u003Cp>That matters because Firebase AI Logic is the path many mobile and web teams use to call Gemini models from client apps without building a separate server integration first. The docs also keep the model naming rules in plain sight: stable Gemini 2.5 names do not use a three-digit suffix, and they do not have an auto-updated alias.\u003C\u002Fp>\u003Cul>\u003Cli>Gemini 3.1 Pro: advanced intelligence and complex problem-solving\u003C\u002Fli>\u003Cli>Gemini 3.5 Flash: fast performance with lower cost pressure\u003C\u002Fli>\u003Cli>Gemini 3.1 Flash-Lite: high-volume workhorse for tighter budgets\u003C\u002Fli>\u003Cli>Gemini 2.5 Pro, Flash, and Flash-Lite: still listed for current use\u003C\u002Fli>\u003C\u002Ful>\u003Ch2>The naming rules matter more than they look\u003C\u002Fh2>\u003Cp>Model names are where teams often trip up during migrations. Firebase is explicit that stable Gemini 2.5 model names do not include a three-digit suffix, and they do not get an auto-updated alias. If you hard-code the wrong string, you can end up pinned to an outdated preview or a model that no longer matches your expectations.\u003C\u002Fp>\u003Cp>That warning is especially relevant for teams that rely on remote config, feature flags, or client-side model selection. A small naming mistake can turn into a production issue when a model family changes behavior, pricing, or availability.\u003C\u002Fp>\u003Cblockquote>“The current generation of Gemini models is the most capable and useful family we’ve ever built.” — Demis Hassabis, Google DeepMind, Google I\u002FO 2025 keynote\u003C\u002Fblockquote>\u003Cp>The quote matters because it matches the direction Firebase is taking here. \u003Ca href=\"\u002Ftag\u002Fgoogle\">Google\u003C\u002Fa> is concentrating support around newer Gemini families, while older image and chat lines are being phased out on a fixed schedule. If you are shipping apps that depend on model stability, that means your migration work should happen now, not in the last quarter before shutdown.\u003C\u002Fp>\u003Ch2>How the new lineup compares\u003C\u002Fh2>\u003Cp>Firebase’s list makes the tradeoffs easy to read. The 3.1 models are aimed at the newest capabilities, while the 2.5 line still covers a wide set of text, reasoning, and multimodal tasks. The 3.5 Flash model is the interesting middle ground: it is described as frontier-class performance at lower cost, which gives teams a faster option without jumping straight to the most expensive tier.\u003C\u002Fp>\n\u003Cfigure class=\"my-6\">\u003Cimg src=\"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1779560181515-zpqy.png\" alt=\"Firebase AI Logic adds Gemini 3.1 model support\" class=\"rounded-xl w-full\" loading=\"lazy\" \u002F>\u003C\u002Ffigure>\n\u003Cp>For image generation, the direction is even clearer. Firebase now points developers to Gemini image models, including Gemini 3 Pro Image, Gemini 3.1 Flash Image, and Gemini 2.5 Flash Image. At the same time, all Imagen models are marked deprecated and scheduled for shutdown on June 24, 2026.\u003C\u002Fp>\u003Cul>\u003Cli>Gemini 3 Pro Image: built for professional asset production\u003C\u002Fli>\u003Cli>Gemini 3.1 Flash Image: tuned for speed and high-volume use\u003C\u002Fli>\u003Cli>Gemini 2.5 Flash Image: optimized for efficient image generation\u003C\u002Fli>\u003Cli>Imagen: deprecated, with migration guidance already in the docs\u003C\u002Fli>\u003C\u002Ful>\u003Cp>That split tells you where Firebase wants developers to go next. If your app uses image generation, the migration path is no longer optional planning work; it is a calendar item. If your app uses text or multimodal chat, the bigger question is whether you need the reasoning depth of Pro, the balance of Flash, or the cost profile of Flash-Lite.\u003C\u002Fp>\u003Ch2>What teams should do before the deadlines hit\u003C\u002Fh2>\u003Cp>The smartest move is to audit every model string in your app, then map each one to a supported replacement. Start with any Gemini 2.0 usage, then check image generation flows that still depend on Imagen. After that, verify whether your app depends on preview names or aliases that could change under you.\u003C\u002Fp>\u003Cp>If you want a practical order of operations, use this checklist:\u003C\u002Fp>\u003Cul>\u003Cli>Inventory every Firebase AI Logic call in mobile, web, and backend code\u003C\u002Fli>\u003Cli>Replace Gemini 2.0 Flash and Flash-Lite before June 1, 2026\u003C\u002Fli>\u003Cli>Move Imagen workloads to Gemini image models before June 24, 2026\u003C\u002Fli>\u003Cli>Test latency, output quality, and billing impact after each swap\u003C\u002Fli>\u003C\u002Ful>\u003Cp>One more detail is worth noting: Firebase also calls out that Gemini 2.5 and later preview models released after June 2025 are only available through the Vertex AI Gemini \u003Ca href=\"\u002Ftag\u002Fapi\">API\u003C\u002Fa>, with exceptions for Gemini Live API models. That is a sign that Google is tightening the distribution path for newer previews, so app teams should pay close attention to which API surface they are actually using.\u003C\u002Fp>\u003Cp>For developers, the takeaway is straightforward. Firebase AI Logic is moving to newer Gemini families, older models have fixed end dates, and the safest codebase is the one that treats model names like versioned dependencies. The next step is simple: search your app for model strings this week, not after the first shutdown notice forces the issue.\u003C\u002Fp>","Firebase AI Logic now supports Gemini 3.1 models, while older Gemini 2.0 and Imagen lines have clear shutdown dates.","firebase.google.com","https:\u002F\u002Ffirebase.google.com\u002Fdocs\u002Fai-logic\u002Fmodels",null,"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1779560180661-zjv7.png","tools","en","12513f1c-ea2f-4003-85fe-b00f74df9f76",[17,18,19,20,21],"Firebase AI Logic","Gemini 3.1","Imagen migration","Gemini 2.5","model support",[23,24,25],"Firebase AI Logic now lists Gemini 3.1 Pro, Flash, and Flash-Lite for app developers.","Google has set June 1, 2026 for Gemini 2.0 Flash and Flash-Lite shutdown.","All Imagen models are deprecated and will shut down on June 24, 2026.",2,"2026-05-23T18:15:58.115705+00:00","2026-05-23T18:15:58.11+00:00","2de8b786-cc85-4e7b-89c9-ec8cbaf8fa2f",{"tags":31,"relatedLang":42,"relatedPosts":46},[32,34,36,38,40],{"name":18,"slug":33},"gemini-31",{"name":19,"slug":35},"imagen-migration",{"name":20,"slug":37},"gemini-25",{"name":17,"slug":39},"firebase-ai-logic",{"name":21,"slug":41},"model-support",{"id":15,"slug":43,"title":44,"language":45},"firebase-ai-logic-gemini-3-1-model-support-zh","Firebase AI Logic 新增 Gemini 3.1 支援","zh",[47,53,59,65,71,77],{"id":48,"slug":49,"title":50,"cover_image":51,"image_url":51,"created_at":52,"category":13},"6c73d853-b09f-4d14-ab64-549e19726135","cursors-latest-update-ide-workflow-tools-en","Cursor’s latest update proves IDEs must become workflow tools","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1781491673281-ub6v.png","2026-06-15T02:47:20.88317+00:00",{"id":54,"slug":55,"title":56,"cover_image":57,"image_url":57,"created_at":58,"category":13},"33220b48-098e-4417-90f2-681787bbb128","cursor-bugbot-before-push-not-pr-en","Cursor’s Bugbot belongs before the push, not in the PR","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1781490763751-pnh5.png","2026-06-15T02:32:16.801116+00:00",{"id":60,"slug":61,"title":62,"cover_image":63,"image_url":63,"created_at":64,"category":13},"6997fa46-16f8-48bd-80dc-fe20f08815a2","prompt-engineering-writing-skill-not-magic-trick-en","Prompt engineering is a writing skill, not a magic trick","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1781470978720-rxo2.png","2026-06-14T21:02:28.362525+00:00",{"id":66,"slug":67,"title":68,"cover_image":69,"image_url":69,"created_at":70,"category":13},"50c2cc6b-fdf4-425a-aa80-05be0dee9815","open-notebook-turns-notebooklm-into-open-source-en","Open-Notebook turns NotebookLM into open source","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1781450301942-cx4t.png","2026-06-14T15:17:50.526134+00:00",{"id":72,"slug":73,"title":74,"cover_image":75,"image_url":75,"created_at":76,"category":13},"1871beaf-fb67-4bc8-bffc-0b2cca267767","gpu-mag-list-turns-gpu-tests-into-workflow-en","GPU Mag’s list turns GPU tests into a workflow","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1781440408229-5thl.png","2026-06-14T12:33:00.989747+00:00",{"id":78,"slug":79,"title":80,"cover_image":81,"image_url":81,"created_at":82,"category":13},"aad700b5-14b0-4350-83d9-33610b119087","openai-pricing-turns-token-math-into-budgets-en","OpenAI pricing turns token math into budgets","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1781436806476-wy8s.png","2026-06-14T11:32:54.284793+00:00",[84,89,94,99,104,109,114,119,124,129],{"id":85,"slug":86,"title":87,"created_at":88},"8008f1a9-7a00-4bad-88c9-3eedc9c6b4b1","surepath-ai-mcp-policy-controls-en","SurePath AI's New MCP Policy Controls Enhance AI Security","2026-03-26T01:26:52.222015+00:00",{"id":90,"slug":91,"title":92,"created_at":93},"27e39a8f-b65d-4f7b-a875-859e2b210156","mcp-standard-ai-tools-2026-en","MCP Standard in 2026: Integrating AI Tools","2026-03-26T01:27:43.127519+00:00",{"id":95,"slug":96,"title":97,"created_at":98},"165f9a19-c92d-46ba-b3f0-7125f662921d","rag-2026-transforming-enterprise-ai-en","How RAG in 2026 is Transforming Enterprise AI","2026-03-26T01:28:11.485236+00:00",{"id":100,"slug":101,"title":102,"created_at":103},"6a2a8e6e-b956-49d8-be12-cc47bdc132b2","mastering-ai-prompts-2026-guide-en","Mastering AI Prompts: A 2026 Guide for Developers","2026-03-26T01:29:07.835148+00:00",{"id":105,"slug":106,"title":107,"created_at":108},"3ab2c67e-4664-4c67-a013-687a2f605814","garry-tan-open-sources-claude-code-toolkit-en","Garry Tan Open-Sources a Claude Code Toolkit","2026-03-26T08:26:20.245934+00:00",{"id":110,"slug":111,"title":112,"created_at":113},"66a7cbf8-7e76-41d4-9bbf-eaca9761bf69","github-ai-projects-to-watch-in-2026-en","20 GitHub AI Projects to Watch in 2026","2026-03-26T08:28:09.752027+00:00",{"id":115,"slug":116,"title":117,"created_at":118},"9f332fda-eace-448a-a292-2283951eee71","practical-github-guide-learning-ml-2026-en","A Practical GitHub Guide to Learning ML in 2026","2026-03-27T01:16:50.125678+00:00",{"id":120,"slug":121,"title":122,"created_at":123},"1b1f637d-0f4d-42bd-974b-07b53829144d","aiml-2026-student-ai-ml-lab-repo-review-en","AIML-2026 Is a Bare-Bones Student Lab Repo","2026-03-27T01:21:51.661231+00:00",{"id":125,"slug":126,"title":127,"created_at":128},"6d1bf3f6-e191-4d30-b55b-8a0722fa6afe","ai-trending-github-repos-and-research-feeds-en","AI Trending Tracks Repos and Research Feeds","2026-03-27T01:31:35.709532+00:00",{"id":130,"slug":131,"title":132,"created_at":133},"010539a1-4c3a-4bd3-937a-26616422ee0d","awesome-ai-for-science-research-tools-map-en","Awesome AI for Science Is Becoming a Real Research Map","2026-03-27T01:46:50.89513+00:00"]