Custom OpenAI Key
Enterprise Feature
This feature is only available in Enterprise plan. Learn More
You can configure your own OpenAI API key to power AI features in your project. This routes OpenAI-model requests through your own OpenAI account so:
- Billing — the underlying token cost is charged to your OpenAI account directly, not Unlayer's. Unlayer's percentage on top still applies — it covers routing, orchestration, and observability on top of the model call.
- Rate limits — your OpenAI account's rate limits apply, not Unlayer's shared pool.
Setting up your custom key
- Open your project in Console.
- Navigate to Premium Features.
- Paste your OpenAI API key into the OpenAI API Key input.
- Click Save Key.
The key is validated against OpenAI before being stored. Once saved, every AI feature that resolves to an OpenAI model uses this key instead of Unlayer's default.
What this affects
Your custom key powers OpenAI-routed AI requests. The AI Assistant uses your key whenever an OpenAI model is selected for the turn. Image generation does not route through OpenAI — it uses Google's Gemini, so configure a Custom Gemini Key if you want image generation billed to your own provider account too.
Related
- Custom Gemini Key — same flow for Google Gemini billing.
- Custom Claude Key — same flow for Anthropic billing.
- Pricing — how Unlayer prices AI usage.