Skip to content

Caveman Cloud· HostedGovernance & Billing

Import keys, budgets, and teams from LiteLLM or Kong

Move governance from LiteLLM Proxy or Kong AI Gateway into Caveman by importing providers, model allowlists, limits, budgets, projects, and keys.

If you already govern AI traffic with LiteLLM Proxy or Kong AI Gateway, Governance → Switch imports that configuration into Caveman Cloud so you do not rebuild keys, budgets, and teams by hand. Importing requires the Owner, Platform admin, or Developer role.

Supported sources#

SourceWhat to paste
LiteLLM ProxyYour config.yaml: model_list, router_settings, litellm_settings, general_settings, and guardrails. Optionally connect a running LiteLLM server to pull keys, teams, and users live.
Kong AI GatewayThe output of deck gateway dump -o kong.yaml: services, routes, ai-* plugins, consumers, and consumer groups.

What gets created#

Caveman objectComes from
ProvidersUpstream providers referenced in the config
Allowed modelsThe model list
Limits and budgetRate limits and budgets in the config
ProjectsLiteLLM teams or Kong consumer groups, one project each
API keysExisting keys, re-issued with fresh secrets
MembersUsers, invited by email

Run an import#

  1. Choose the source format

    Open Governance → Switch and pick LiteLLM Proxy or Kong AI Gateway.

  2. Paste the configuration

    Paste the YAML. For LiteLLM, you can also enter the server URL and master key to read keys, teams, users, budgets, and guardrails. Caveman only reads from the server; it never changes it.

  3. Review the plan

    The What Caveman will create panel lists every provider, model, limit, project, key, and member before anything is written.

  4. Add provider secrets

    Config files reference provider keys through environment variables such as os.environ/OPENAI_API_KEY. Paste the secret for each variable so Caveman can store it as a provider connection.

  5. Apply and copy new keys

    Apply the import. New key secrets are shown once: copy them and update your apps.

Re-running an import is idempotent, so you can safely re-apply a partial run.

After the import#

  • Check Governance → Budgets and Governance → Keys to confirm caps and per-key limits match what you expect.
  • Add team and cost-center tags to imported keys for cost allocation.
  • Point your apps at the Caveman gateway URL with their new keys. See Authentication.

Next steps#

Esc

Start here