Your own AI keys for the AI inside your app

In General Settings, AI Providers for Application connects your own OpenAI, Anthropic, Gemini, DeepSeek or xAI key, so the AI features inside your app run through it.

Some apps use AI themselves: a chat on your website, a summary of a form, a suggested reply. By default those features run on the system AI. If you have your own account with an AI provider, you can connect its key to one app, and every AI call that app makes (InvokeLLM) goes through your provider instead. This setting is per app and does not touch the builder that edits your app in the Studio.

1. Open the section: In the Studio open Settings, choose General Settings and open AI Providers for Application. At the top it shows the current state: System AI (default) or Active: and the provider.

2. Paste a key: Next to the provider, paste the key in Enter API Key.... You can also type a model; the field shows the default one. Press the save button (💾).

3. Make it active: Press the dot (●) next to the provider, Set as active provider. From now on the app's AI calls go through it. Pressing it again (Active provider - click to deactivate) returns to the system AI.

4. Change or remove: A saved key shows Key exists - enter new to update. Type a new one to replace it, or press Remove key.

Provider | Default model shown

OpenAI | gpt-4o

Anthropic (Claude) | claude-sonnet-4-6

Google Gemini | gemini-2.0-flash

DeepSeek | deepseek-chat

xAI (Grok) | grok-3

Why, and where to get a key

Keys are private: Paste the key only here, never in the chat. For other outside services use Secrets.

Questions

Q: The AI features of my app stopped working after I added a key.

A: Check the key was copied whole, that your provider account has billing turned on, and that the model name is right. To go back at once, press the dot again to return to the system AI.

Q: Does this change the AI that builds my app?

A: No. It affects only the AI calls inside the app. Building in the Studio works as before.

Q: Can I keep keys of several providers?

A: Yes. Save each one; only the active provider is used.

Q: What happens if no provider is active?

A: The app uses the system AI.

Q: Is the setting copied to my other apps?

A: No. It belongs to this app only.

Related: Studio settings, section by section, Secrets: keys for outside services, Connect AI tools: Claude, ChatGPT, Cursor and more, Credits basics