API keys & billing
MergeRef never sits between you and the model provider. You bring your own key, the provider bills you directly, and MergeRef takes no cut.
Where to get each key
| Provider | Models in MergeRef | Where to create a key |
|---|---|---|
| Nano Banana Pro, Nano Banana 2.1, Nano Banana 2, Nano Banana 2 Lite, Gemini Omni Flash, Veo 3.1 (Agent Platform only) | Google AI Studio, or Gemini Enterprise Agent Platform (formerly Vertex AI) (Google sign-in + your Cloud project) | |
| Black Forest Labs | FLUX 3 Image, FLUX.2 Max, FLUX 3 Video | BFL API dashboard (credit based, 1 credit = $0.01) |
| OpenAI | GPT Image 2.6 Sunburst, GPT Image 2.5 Sunburst, GPT Image 2.5 Flare | OpenAI Platform → API keys |
| ByteDance | Seedream 5.0 Flash / Pro / Lite / 4.5 / 4.0, Seedance 2.5 | BytePlus ModelArk console |
| Kling | Kling Image 3.0, Kling Image 3.0 Omni, Kling 3.0 / Omni / Turbo / Motion Control | Kling developer console (prepaid resource packages) |
Step-by-step sign-up and key guides with screenshots are on each provider's page: Google · FLUX · OpenAI · ByteDance · Kling.
How keys are stored
Keys are encrypted and stored on your own device. Where Windows secure storage is not available, keys are saved in base64 form, which is not encryption. They are only sent to the provider you chose for a generation. MergeRef has no server in the middle, which is why cloud usage never appears on your MergeRef invoice. The one step that passes through mergeref.com is Google Drive sign-in for backups, and it does not store the sign-in token.
Agent Platform (Vertex AI) for studios
If your studio has data-handling policies, connect Agent Platform (Vertex AI) instead of an AI Studio key. You sign in with Google in MergeRef and pick a Google Cloud project; requests then run inside that project, under its quotas and billing account. No service-account file is needed. Steps: Google — Gemini.
Official name for company/IT requests: Google Cloud — Gemini Enterprise Agent Platform (formerly Vertex AI), API aiplatform.googleapis.com
Keeping costs predictable
- Draft cheap, finish expensive. Explore with lower resolution or a faster model, then re-run the chosen result on a premium model.
- Watch the reference count. Several providers bill reference images as input. More references means a slightly higher cost per generation.
- Resolution matters. FLUX.2 bills per megapixel and Nano Banana Pro charges more for 4K. Use 1K–2K until you need print or hero quality.
- Set a spending limit in each provider's console. MergeRef respects whatever limits the provider enforces.