Bring Your Own Key (BYOK)
Use your own API keys with VULK instead of purchasing credits
Overview
VULK supports Bring Your Own Key (BYOK), allowing you to connect your own AI provider API keys instead of purchasing credits. This gives you full control over costs and usage.
How It Works
1. Platform Usage (Building with VULK)
Connect your own API keys to use when generating and editing projects in VULK:
- OpenAI - GPT-4, GPT-4o
- Anthropic - Claude Sonnet, Claude Opus
- Google - Gemini Pro, Gemini Flash
When BYOK is enabled, requests are billed directly to your API provider account instead of consuming VULK credits.
2. Generated Project Usage
Your generated projects can also use AI capabilities:
| Option | How It Works |
|---|---|
| Your Keys | Add your API keys as environment variables in your project |
| VULK API | Use our managed API endpoint (billed per request) |
Setting Up BYOK
- Go to Settings → API Keys
- Enter your provider API key
- Select which operations should use your key
- Save changes
Security
All API keys are encrypted and stored securely in Cloudflare's infrastructure. Keys are never exposed in logs or transmitted insecurely.
Key Storage
- Encrypted at rest using AES-256
- Transmitted only over HTTPS
- Never stored in plain text
- Automatically rotated if compromised
Cost Comparison
| Method | Pros | Cons |
|---|---|---|
| VULK Credits | Simple, no setup required | Fixed credit packages |
| BYOK | Pay-as-you-go, existing billing | Manage your own keys |
FAQ
Can I use different keys for different projects?
Not currently. BYOK applies account-wide. Individual project API keys should be added as environment variables.
What happens if my key has no balance?
Generations will fail with an error from your provider. Ensure your API account has sufficient balance or limits.
Is BYOK available on Free plans?
BYOK is available on Builder plans and above.