LLM Router and SDKs
Connect an application to Edgee using an existing client, an Edgee SDK, or HTTP.
Use Edgee as an LLM router when your application sends model requests directly through an API client, an SDK, or HTTP. Configure a Gateway API key and a client, then inspect the resulting requests in the console.
If you want to run Claude Code, Codex, Cursor, or another coding assistant through Edgee, start with the coding assistant quickstart.
Choose your integration
| Your starting point | Guide |
|---|---|
| Existing OpenAI client | OpenAI SDK |
| Existing Anthropic client | Anthropic SDK |
| LangChain application | LangChain |
| OpenClaw configuration | OpenClaw |
| New application using an Edgee SDK | TypeScript, Python, Go, or Rust |
| Direct HTTP requests | First API request and Gateway API reference |
Send your first request
- Sign in to the console, or accept your team’s invitation.
- Create a Gateway API key and store it in your application's secret environment.
- Choose a client above and configure the appropriate base URL. OpenAI clients usually use
https://edgee.io/v1; follow the integration guide for your client. - Send a model request, then open Logs in the same organization to verify the key, served model, provider, and usage.
For the complete sequence, follow the application quickstart.
Configure application usage
| Task | Guide |
|---|---|
| Restrict or rotate application credentials | Gateway API keys |
| Track tokens, costs, and request tags in code | Application observability |
| Use your own provider account | BYOK |
| Allow models and provider routes | Model access |
| Configure routing and backups | Routing strategies |
| Cap application spending | Usage limits |
Organization settings also apply to application traffic. Review inherited settings before changing an individual key.
Gateway API versus Console API
The Gateway API serves model requests and uses Gateway API keys. The Console API manages organization resources and uses personal API tokens. To automate key management or export usage, use the separate Console API section.