- Gemini 3.8 Flash is the current default model for AI features inside apps you build with Lovable.
- Gemini 2.5 Flash was scheduled for retirement on 20 October 2026, with requests routed to 3.8 Flash after that.
- You never hand over a Google API key. Lovable manages a project key for you and runs calls through a backend function.
- Billing is one credit balance covering building, Lovable Cloud and AI usage in your deployed app.
- Free, Pro and Business workspaces each get 4 monthly AI credits. That is a grant, not unlimited usage.
- The connector now covers more than text, including images, video, speech, live voice, music and embeddings.
Does Lovable Use Gemini?
/ Updated / 10 min read
TL;DR
Lovable uses Google Gemini by default for AI features in deployed apps, specifically Gemini 3.8 Flash as of September 2026, but the platform now supports multiple AI providers including Claude and specialized models for images, video, and voice without requiring you to manage API keys or billing separately.
Key takeaways
On this page
- The short version
- Gemini is the default, but "Lovable's AI" means two different things
- How the connector works without you touching a key
- It's not Gemini-only any more
- How you pay for Gemini usage now
- Retirement dates you should write down
- Where this setup falls short
- Read this next
- Frequently asked questions
Yes. If you add AI features to an app you build in Lovable, those features run on Google Gemini by default. The part that trips people up is which Gemini, because the model named in most older articles has already been retired.
The short version
Lovable has a built-in AI connector. You switch it on, write a prompt in your app, and Lovable handles the rest. Google Gemini is the default engine behind it. As of September 2026 the default chat model is Gemini 3.8 Flash, not the gemini-2.5-flash model that older guides mention. You don't supply an API key, you don't set up a Google billing account, and you pay with Lovable credits out of one shared balance. Gemini is no longer the only option either, since Claude models and several image, video and voice models now sit behind the same connector.
Gemini is the default, but "Lovable's AI" means two different things
People ask this question for two different reasons, and the answers aren't the same.
The first meaning is the AI that writes your code when you type instructions into the Lovable editor. Lovable doesn't give you a model picker for that, and the company has published its reasoning for keeping it that way. Routing happens behind the scenes. If that side is what you care about, our piece on whether Lovable uses Claude goes into more detail.
The second meaning, and the one this article is really about, is the AI that runs inside the app you ship. Say you build a support chatbot, a document summariser or a tool that writes product descriptions. Something has to answer those prompts for your users after the app is live. That is the built-in AI connector, and it runs on Gemini by default.
Gemini 3.8 Flash became the default chat model on 8 September 2026. If your app code doesn't name a specific model, that's what you get. Flash models are built for speed and low cost rather than heavy reasoning, which suits most of what people actually build. Chat replies, summaries, classification, short content generation. For deep multi-step reasoning, you'd want to name a stronger model explicitly.
How the connector works without you touching a key
This is the bit that makes Lovable genuinely easy for non-technical builders. Normally, adding AI to an app means signing up with Google, generating an API key, storing it somewhere safe, setting up billing, and handling errors when a quota runs out. An API key is just a long password that proves your app is allowed to use a paid service.
Lovable skips all of that. When you enable AI features, it creates and manages a project key automatically. Your prompts travel through a secure backend function, which is a small piece of server code that runs away from the user's browser. That matters more than it sounds. Anything sitting in the browser can be read by anyone who opens the developer tools, so a key stored there is a key anyone can steal and spend.
If you ever see advice telling you to store an AI provider key in browser localStorage, ignore it. That pattern exposes your key to every visitor on your site. Lovable's documented approach keeps the key server side in a backend function, and that's the only approach you should copy.
There's a practical upside beyond security. Because Lovable owns the key and the billing relationship, you get one bill instead of three, and you don't wake up to a suspended Google project because a card expired. The trade-off is that you're inside Lovable's pricing, which we'll get to.
It's not Gemini-only any more
Through late 2026 Lovable kept stacking capabilities behind the same connector, and a fair few of them aren't Google models at all.
For images, Nano Banana 2 Lite arrived in July 2026 as a cheaper option for generating and editing pictures. In August, GPT Image 2 and GPT Image 1 Mini gained editing capability, so you can feed in an existing image and ask for changes rather than starting from scratch every time. For video, Veo 3.1 models landed in August 2026, and Gemini Omni video generation and editing followed in the autumn. Between September and early October, Lovable also added speech transcription, live voice, music generation, typed-decision models and Claude models.
Embeddings got a quiet but useful upgrade too. Gemini Embedding 2 became the default embedding model on 20 August 2026. An embedding turns text into numbers so a computer can judge how similar two pieces of writing are. That's what powers search that understands meaning rather than exact keywords, plus recommendations and the retrieval step in apps that answer questions from your own documents.
Video is the one to watch on cost. Lovable charges per second of a successful clip, so a feature that generates ten second videos on demand burns credits far faster than a chatbot. Test it with a hard cap on clip length before you put it in front of real users.
How you pay for Gemini usage now
Billing changed twice in 2026, and both changes simplified things.
On 18 June 2026, Lovable merged separate dollar balances into one credit balance. Building your app, running Lovable Cloud and running AI features inside your deployed app all draw from the same pot. Lovable said its underlying costs didn't change with that move. A per-project usage dashboard arrived at the same time, so you can see what your app's AI calls are consuming rather than guessing.
Then in October 2026, Lovable announced a further simplification. Workspaces move to a single balance covering both building and running apps, with a redesigned usage dashboard. Plan prices stayed the same, and so did the cost of Cloud and AI services.
The published credit table gives Free, Pro and Business workspaces 4 monthly AI credits each. Read that carefully, because it's a usage grant rather than a promise that all AI usage in your app is covered. If your app gets traffic, you'll go past the grant and consume from your balance. Older articles claiming two weeks of free AI access, including the earlier version of this page, don't match the current documentation.
Before you launch anything with AI in it, run twenty realistic sessions yourself and check the AI usage dashboard. Multiply the result by the number of users you expect. That five minute exercise has saved plenty of people from an unpleasant surprise in week one.
Retirement dates you should write down
Models get retired, and Lovable publishes the dates. This is the part most tutorials never mention, and it's the thing most likely to break an app you built months ago and forgot about.
Gemini 3.6 Flash and 3.7 Flash were deprecated for new app AI features on 6 and 7 October 2026. Existing apps keep working until the stated retirement dates, which are 19 November 2026 for 3.6 Flash and 28 January 2027 for 3.7 Flash. Gemini 2.5 Flash was scheduled for retirement on 20 October 2026, and the documentation says requests get routed to Gemini 3.8 Flash after that.
The lesson is simple. If you hard code a model name in your app, know where that line lives. If you don't name a model at all, you inherit whatever the current default is, which means your app quietly changes behaviour when Lovable moves the default. Neither option is wrong. Just pick one on purpose.
Where this setup falls short
The built-in connector is the right choice for most people, and it still has real limits.
You can't use your own Gemini API key to dodge Lovable credits. The connector doesn't support it. If your app does heavy AI volume and you've negotiated better rates directly with a provider, the built-in path won't let you take advantage of that.
Defaults move under you. Three different Gemini Flash versions became the default inside roughly two months in 2026. That cadence is good for quality and bad for anyone who tuned prompts carefully against one specific model. Prompts that worked beautifully last quarter sometimes need a tweak after a default change.
The monthly credit grant is small relative to real usage. Four AI credits covers testing and a trickle of early users. It does not cover a popular app. Plan for the balance, not the grant.
And Flash models are the default for a reason. They're quick and cheap. For tasks needing careful multi-step reasoning, long document analysis or precise code output inside your app, you'll want to name a stronger model and accept the higher cost per call.
Using a provider key anyway
There is a documented route if you need it. You write a backend edge function that calls the provider directly, then store your key as a secret in the project. An edge function is a small server script Lovable runs for you, and a secret is a value stored securely outside your app's visible code. This gives you full control over the provider relationship. It also means you own the error handling, the retries and the rate limits that the built-in connector was handling quietly on your behalf. For most small business apps, that extra work isn't worth it.
Read this next
If you want the other half of the picture, read Does Lovable use Claude? next. It covers the model question from the editor side, which is the part that determines how well Lovable writes your code rather than how your app behaves once it's live.
Related articles worth your time:
- How does an AI website generator work
- How to build a CRM in Lovable
- AI app builder for small businesses
- Lovable vs Airtable Interfaces
Frequently asked questions
What is the default AI model that Lovable uses?
Gemini 3.8 Flash is the current default chat model for AI features in apps built with Lovable as of September 2026. Flash models are optimized for speed and low cost rather than heavy reasoning, making them suitable for most common use cases like chat replies, summaries, classification, and short content generation.
Do I need to provide a Google API key to use Lovable's AI features?
No. Lovable creates and manages a project key automatically when you enable AI features. Your prompts travel through a secure backend function, so you never handle or expose an API key. This eliminates the need to sign up with Google, generate keys, or manage billing separately.
How much does AI usage cost in Lovable?
AI usage is billed through Lovable credits drawn from a single shared balance that covers building, Lovable Cloud, and AI features in deployed apps. Free, Pro, and Business workspaces each receive 4 monthly AI credits as a grant, not unlimited usage. The specific cost per AI call depends on the model and type of content generated.
Can I use models other than Gemini with Lovable?
Yes. While Gemini is the default, Lovable's connector now supports Claude models, image models like GPT Image 2 and Nano Banana 2 Lite, video models including Veo 3.1, speech transcription, live voice, music generation, and embeddings. You can name a specific model explicitly in your app code if you want alternatives.
What happened to the older Gemini 2.5 Flash model?
Gemini 2.5 Flash was scheduled for retirement on 20 October 2026. After that date, requests using that model were automatically routed to Gemini 3.8 Flash instead. If your app code doesn't name a specific model, it uses the current default.
Does Lovable's AI connector work for production apps with real users?
Yes. The built-in connector is designed for deployed apps serving real users. Lovable handles key management server-side through secure backend functions, eliminating security risks from browser exposure. Video generation does require careful testing with hard caps on clip length due to higher per-second credit consumption.
Share this article
Keep reading
Can Lovable Support Complex Business Logic?
Lovable handles conditional rules, permissions, pricing tiers and payment flows well. Here's where business logic gets too complex for AI generation, and what the 2026 updates changed.
When the side project becomes the product
Built something in Lovable that a business now depends on?
A Lovable app often starts as a quick experiment and ends up carrying real work. Black Badger turns it into a production system your company owns, with its own data, access control and support. If you built the app, read how that works. If someone built it for the company you run, book a strategy call and bring the app. A written scope follows the call.
How a Lovable app becomes a production systemBook a strategy call
Who wrote this

David Verneuille
Founder, Black Badger Software Solutions
David Verneuille founded Black Badger after 18 years as a project manager and years implementing Smartsheet, monday.com, Wrike and Zoho for clients. He now builds custom systems that clients own outright, which is why the writing here is specific about where each platform fits and where it stops fitting.
