Using your own OpenAI or Anthropic key
Store your provider key as a secret and your app's AI features run through your account with no credits charged.
Last updated September 17, 2026
On this page
Open Secrets
In the app's dashboard, press Add secret.
Name it exactly
OPENAI_API_KEY or ANTHROPIC_API_KEY, with your key as the value.
Done
AI calls from the app route through your key from then on, and no credits are charged for them.
Switching back
Delete the secret and calls return to being billed in credits.
Was this page helpful?
Still need help? Contact support