Connecting LLM Providers

Last updated February 8, 2026

Connecting LLM Providers

Administrate.dev can track your AI spending by connecting directly to LLM provider APIs.

Supported Providers

Provider What's Tracked Company Attribution
OpenAI Projects, usage, costs Via OpenAI Projects
Anthropic Usage and costs Via Default Company
OpenRouter Projects, usage, costs via API keys Via API Keys
Azure AI All Azure costs by Resource Group Via Resource Groups

Prerequisites

  • An account with the LLM provider
  • An API key with billing/usage access
  • For some providers, an Organization ID

Adding a Provider

  1. Go to LLM Providers in the sidebar
  2. Click Add Provider
  3. Select the provider type
  4. Enter your credentials:
    • Name - A descriptive name (e.g., "OpenAI Production")
    • API Key - Your provider API key
    • Organization ID - If required by the provider
    • Default Company - Which company to attribute costs to
  5. Click Create Provider

Add LLM Provider form

API Key Validation

When you add a provider, we immediately:

  1. Validate the API key works
  2. Sync any projects/API keys
  3. Pull recent usage data

If validation fails, you'll see an error explaining what's wrong.

Default Company Assignment

When you set a Default Company, any usage that isn't explicitly assigned to a project will be attributed to that company.

This is useful when:

  • You have one API key per company
  • You want a catch-all for unassigned costs

Initial Sync

After adding a provider, data syncs automatically. The first sync may take a few minutes depending on how much historical data exists.

Supported Features by Provider

Feature OpenAI Anthropic OpenRouter Azure
Projects Yes (OpenAI Projects) No Yes (API Keys) Yes (Resource Groups)
Per-company costs Yes Via separate accounts Yes Yes
Model breakdown Yes Yes Yes Yes (Meter Categories)
Daily trends Yes Yes Yes Yes

Still need help?

Can't find what you're looking for? Get in touch with our support team.