Skip to main content
Use a Gateway API key to send model requests from your application through Edgee. Edgee-billed tokens consume your organization’s credits; add credits in Org. Settings → Credits. With BYOK, provider usage is billed by your provider.
1

Select your organization

Sign in to the console, or accept your team’s invitation using the invited email. Select the organization that should own the application’s keys and usage.
2

Create an API key

Follow Create an API key. Store the key in your application’s environment or secret manager. Keep it out of browser-side code.
3

Connect your client

Use the OpenAI SDK, Anthropic SDK, LangChain, or an Edgee SDK. Follow Integrate your stack for code examples.
4

Verify the request

Send a short prompt. Confirm a model response, then find the request in Logs for the same organization and key. Check the model and provider served, since routing settings can change them.
If the request fails, inspect its error and the organization’s credit balance and model access settings. Next, restrict your key and add usage tracking and request tags.