Skip to content
Skip to main content
CONTACT SALESSTART BUILDING

AI usage for published apps

Builder Code

If the app you publish with Builder Cloud uses AI, such as a chat assistant or content generation, you decide who pays for those AI requests. Builder asks the first time you publish, and you can change your choice later in Project settings.

AI payment options

Choose one of the following options:

OptionWho paysNotes

Use Builder AI credits

Your Space, from its AI credits.

The free plan includes 15 free credits per day. Not available on some older Project framework versions.

Use Your Own Anthropic or OpenAI Key

You, directly to your AI provider.

Builder doesn't apply a daily limit.

Users Bring Their Own AI Key

Each visitor to your app.

Visitors connect their own AI key in your app.

Builder Cloud hosting itself always uses Builder credits, whichever option you choose for AI usage.

Choose an option when you first publish

  1. Click Publish in the editor.
  2. Under Choose how your app's AI usage (if any) is paid for, select an option.
  3. If you chose your own key, select Anthropic or OpenAI and paste your API key.
  4. Click Publish now.

You can't publish until you choose an option. Builder doesn't ask again for later publishes.

Use your own API key

  • Anthropic keys start with sk-ant-.
  • OpenAI keys start with sk-, unless you enter a Base URL.
  • For an OpenAI key, you can route requests through a compatible proxy or gateway. Open Advanced and enter a Base URL, including https://. For example, https://api.openai.com/v1.

If no provider key is set, the published site behaves as if AI usage were skipped. Add your key to restore AI features.

Change AI usage later

You need publish access to the Project to change AI usage.

  1. Open Project settings and go to the Hosting tab.
  2. In the AI usage section, click Update.
  3. Choose a new option and click Apply.
  4. Publish the Project again to apply the change to your live site.

Revoke the site AI token

When your site uses Builder AI credits, Builder issues a site AI token. The Site AI token panel in the AI usage section shows whether the token is active and when it was last used.

To stop AI usage immediately, such as when usage is higher than you expect, click Revoke token and confirm. AI features on your published site stop right away.

To restore AI features after revoking, select Use Builder AI credits again to issue a new token, then republish.

Was this article helpful?