Available to everyone · Bring your own key
Your models.
Your keys. One gateway.
Connect your OpenRouter or DeepInfra API key and route eligible models through an OpenAI-compatible API. Manage project keys, rotate provider credentials, and inspect your usage in one console.
Get startedRead the docs →Bring your key
Create an account, then open API Keys → BYOK and register your OpenRouter or DeepInfra key. Credentials are encrypted and write-only.
Pay your provider
DragonLayer accepts no payments. There is no wallet top-up or paid plan. Your provider bills any inference usage directly on your own account.
Control every request
Public requests require a usable key owned by your project. Missing, revoked or unavailable keys fail closed without platform-funded fallback.
Start with your existing SDK
Use your DragonLayer project API key for gateway authentication. Add the provider key separately in the console; never put it in frontend source.
from openai import OpenAI
import os
client = OpenAI(
base_url="https://dragonlayer.ai/v1",
api_key=os.environ["DRAGONLAYER_API_KEY"],
)
# GET /v1/models lists the models executable with your BYOK connection.
models = client.models.list()Public release scope
OpenRouter and DeepInfra BYOK routing, project API keys, credential rotation and revocation, usage and routing controls are available. Subscription connections, platform-funded inference, payments and autonomous delivery are unavailable to public accounts.
The source is being prepared for an open-source release. It remains private until a separate publication decision.