Skip to main content
MetrixLLM is a drop-in replacement for your existing AI provider SDK. You change your baseURL and API key — nothing else.
1

Create an account

Sign up at app.metrixllm.com and create your first Workspace.A workspace is an isolated environment with its own API keys, logs, and routing rules. A common setup is one workspace per environment: Production, Staging, Development.
2

Add a provider key

MetrixLLM uses Bring Your Own Key (BYOK) — you connect your own OpenAI, Anthropic, or other provider credentials.
  1. In your workspace, go to Settings → Providers
  2. Click Add Provider
  3. Select the provider and paste your API key
  4. Click Save
Your key is encrypted at rest immediately.
3

Create a MetrixLLM API key

  1. In your workspace, click API Keys in the sidebar
  2. Click Create API Key
  3. Name it (e.g. Backend - Production)
  4. Copy the key — it starts with mtx_ and is shown only once
Store your key in an environment variable. Never commit it to source control.
4

Point your SDK to MetrixLLM

Change only the base_url and api_key in your existing code. Everything else stays the same.
5

Verify in the dashboard

Run your code. Then open the Request Logs page in your MetrixLLM dashboard.Your request will appear instantly with the full breakdown: provider, model, token count, cost, and latency.

Explore Request Logs →

Learn how to filter, inspect, and debug requests in the dashboard.

Next steps

Routing & Fallbacks

Configure automatic provider failover

Guardrails

Add content safety rules

Cost Analytics

Monitor and attribute spend