Learning resourcesReviewed · Lovable

Lovable built-in AI connector guide

This guide explains Lovable’s built-in AI connector for people adding AI features to Lovable apps, with deployed model calls charged to workspace credits. It covers feature setup, supported-model selection, backend credentials, streaming, activity logs and usage limits. Exact monetary rates and implementation quality are not established by this page.

Researched 23 Nov 2026

In short.

This guide explains Lovable’s built-in AI connector for app builders who want managed AI features, with workspace credit billing and supported-model restrictions as the main tradeoffs. Lovable documents automatic project credentials, generated backend functions, streaming and monitoring for features ranging from chat to live voice. The page also explains content logging, Enterprise model restrictions and failures caused by exhausted credits or rate limits. Exact prices, most capability-specific limits and real-world performance remain unknown; nothing was executed or tested.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete documentation page at [https://docs.lovable.dev/features/ai.md], captured on November 23, 2026, including its temporary-grant notice, retention controls, model restrictions, usage rules and FAQ. Linked documentation, provider references, pricing pages, terms and product dashboards are excluded. Their contents and subsequent changes are unknown. No application, backend function, model request, privacy control or billing behavior was executed or tested.

The overview

Identity

“AI features for your app” is Lovable’s documentation for its built-in AI connector [https://docs.lovable.dev/features/ai.md]. It teaches how to add AI capabilities inside apps built with Lovable.

The connector is separate from the Lovable agent that builds and edits projects. The models described on this page serve features in the resulting app; the page does not identify the models used by Lovable’s coding agent.

Assessment

The guide is useful for understanding how much provider setup Lovable handles and what responsibilities remain with the app builder. It connects a feature request in project chat with backend functions, deployment, credit charges and monitoring.

Its strongest practical detail concerns operation: request logs, content capture, workspace controls and payment or rate-limit failures. It is an overview rather than a complete implementation reference. It provides no generated application code, benchmark results or independent evidence of reliability.

Users

Beginners building a new or existing Lovable app can use the guide to request features without opening a model-provider account or supplying provider credentials. Examples include summaries, assistants, image generation and voice input.

Experienced developers can use it to assess credential handling, streaming, model restrictions, error responses and billing boundaries. Workspace administrators also need its controls: Business and Enterprise admins or owners can disable the connector across the workspace, stopping AI calls from already published apps.

Capabilities

The page lists chat, summaries, question answering, translation, analysis, image generation and editing, video clips, music, semantic search, classification, scoring, text-to-speech, transcription and live voice. Semantic search includes retrieval-augmented generation, where retrieved material supplies context for an answer.

Builders can name a supported model or let Lovable choose one. The page distinguishes generated text from typed decisions: Jev 1.13 returns categories, scores or yes/no probabilities, while chat models produce prose. Chatbot and assistant responses support streaming. Detailed formats, input limits and quality characteristics are delegated to capability-specific pages and remain unknown here.

Using it

Requirements

The documented route requires a Lovable project and access to its project chat. Lovable recommends using the connector with its built-in backend. Builders do not need a separate provider account, provider billing setup or manually supplied API key.

Workspace settings can prevent connector use. Enterprise workspaces restrict models to zero-data-retention options unless an administrator enables extended-retention models and accepts the relevant terms. EU inference further restricts requests to models that run in the European Union; other model requests fail.

Claude availability has an additional condition: the page specifies newer apps created from May 13, 2026, using TanStack Start. This condition should not be generalized to every model. Viewing the AI dashboard requires permission to view project AI logs.

Mechanism

Lovable says it generates and manages a LOVABLE_API_KEY for each project and creates a backend function to call the model. Remixed projects receive a fresh key. This project credential is separate from workspace API keys used to authenticate requests to the Lovable API.

Ordinary model calls go through the generated backend function, which the documentation says keeps credentials and prompts server-side. Live voice uses a different path: the server starts the call and retains the API key, while the browser streams audio directly to the voice model.

Streaming uses server-sent events, allowing responses to appear incrementally. The page describes this architecture but does not provide code or security validation for a generated project.

Setup

Describe the desired feature in project chat, optionally naming a supported model. The documented process applies to new projects and existing apps. Lovable then sets up the backend model call and project credential. Publish the changes to make the feature available in the published app.

The connector is enabled by default with “Always allow.” In Connectors, select AI to choose “Ask each time” or “Never allow,” or to browse available models by name, provider or capability. “Ask each time” requests approval when connector use is needed.

For a project with a backend, open More → AI to inspect usage and activity. The page does not provide complete setup code or troubleshooting instructions for each capability.

Example

An illustrative project-chat request is: “Add an assistant that summarizes pasted meeting notes using the built-in AI connector and streams the response.” This combines two documented capabilities: summarization and streamed assistant responses.

The documented implementation path is a generated backend model call using the managed project key, followed by publishing the app changes. More → AI can then show request status, model and credit cost. This example has not been implemented or tested; no summary output, measured latency or request cost is established.

Assessment & evidence

Limitations

The connector supports only models available to the workspace. Enterprise retention settings, EU inference restrictions and app compatibility can narrow that list. Workspace-wide disabling stops calls from published apps, and model retirement can affect continued availability.

Rate limits count model calls per minute at workspace level, but the page gives no numerical general request limit. Separate concurrency limits allow one video generation per project on Free and ten on paid plans, plus five simultaneous live voice calls per workspace on Free and twenty on paid plans.

Exceeding a rate limit returns 429 Too Many Requests without processing the request. Exhausted credits return 402 Payment Required. Activity history is limited to 24 hours on Free and 90 days on paid plans.

The page does not establish answer accuracy, output safety, measured latency, service availability guarantees or resistance to prompt injection. These properties were not tested.

Fit and tradeoffs

The documented benefit is less provider integration work: Lovable handles project credentials and backend calls while exposing model choice and request monitoring. This is a practical fit when a builder already uses Lovable and accepts workspace billing and its supported-model catalog.

The tradeoff is operational dependence on Lovable’s credits, workspace settings, model availability and limits. Privacy decisions also require attention because full request capture is enabled by default on Free and Pro.

The page’s starter-model table offers recommendations, not measured comparisons. It does not establish which model gives the best quality or cost for a particular workload.

Alternatives

For a provider outside the supported catalog, or for billing through a personal provider account, the page describes direct API calls from a backend edge function with the API key stored as a secret. This changes who bills model usage and requires a separate provider integration.

The page also distinguishes app connectors for Perplexity’s cited web answers, Firecrawl’s website scraping, Parallel’s research and ElevenLabs’ voices. These are separate integrations rather than interchangeable modes of the built-in connector.

For an audio feature that only reads text or transcribes speech, the page recommends dedicated text-to-speech or speech-to-text models as lower-cost options than live voice. Exact savings and the separate connectors’ terms or capabilities are not established here.

Evidence

The source is the complete Lovable documentation page “AI features for your app” [https://docs.lovable.dev/features/ai.md]. It directly supports the descriptions of intended setup, credential handling, monitoring, billing rules and workspace controls.

This is vendor documentation. It supplies no independent benchmarks, executed examples, security audit results or observed billing receipts. Linked capability, pricing, privacy and provider pages are not included, so their additional details cannot be established from this evidence. Nothing was executed or tested.

Access & freshness

Costs

AI features in deployed apps consume workspace credits as AI gateway usage, separately from the Lovable agent’s project-building activity. Charges depend on the model and its usage measure, such as tokens, images, generated video, music tracks, processed audio or connected voice time. Exact monetary rates, subscription prices and total operating costs are unknown from this page.

The page describes a temporary monthly grant of four AI credits for Free, Pro and Business workspaces. It does not roll over. Free grants reset on the first day of the calendar month at 00:00 UTC; Pro and Business grants refresh with the subscription billing cycle. Usage draws from this grant before general credits where available. The page does not establish an Enterprise grant.

Live voice charges include silence and time spent waiting for the backend, with a 15-second minimum when a call connects. Priority chat processing costs more than standard processing. Canceling a running request can still incur charges.

The built-in connector cannot bill a builder’s own provider API key. Direct provider calls from a backend edge function are a separate option: the provider bills model usage, and Lovable Cloud usage still applies to running the function.

Rights and data handling

The page does not establish a documentation redistribution license, ownership of generated outputs or commercial-use permissions. Provider-specific output terms and rights for generated images, video, music or voices remain unknown.

AI app context retains full requests and responses for debugging when enabled, with automatic secret removal claimed by Lovable and a 90-day retention period. It is on by default for Free and Pro and off by default for Business and Enterprise. Editing the setting requires project-edit permission.

When AI app context is off, request summaries remain visible but full content cannot be opened. The page says EU inference prevents content capture even when the setting is on. Provider zero-data-retention eligibility and Lovable’s own content-capture setting are separate controls; one should not be treated as proof of the other.

Freshness

The supplied page was captured on November 23, 2026, at 06:36:15.945 UTC. A publication date and last-updated date are not established.

The monthly AI grant is explicitly temporary and subject to change. Model availability, retirement dates, pricing and workspace capacity can also change. The page directs users to the workspace’s available-model list and a separate deprecated-models page; their current contents are unknown here.

Practical next steps

Check the workspace’s available models and applicable retention or EU inference restrictions before requesting a feature. Confirm current credit rates and grant terms because the page alone cannot establish a monetary budget.

Start with a narrow feature, such as summarizing pasted text, and request it through project chat. Decide whether full request-and-response capture suits the app’s data before publishing.

Validate the resulting app’s outputs and failure behavior, including 402 and 429 responses. Use More → AI to inspect model choice, credit charges, failures and response time. For voice, account for silence and backend waiting time; for video or concurrent voice use, check the documented capacity limits.

Evidence for this report

selected-page.txtselected · checked 2026-11-23