AI Gateway: User Apps for Personal API Keys

AI Gateway now includes User Apps. A User App is the way people, rather than software, call your AI Gateway: everyone with access to the project calls one shared URL with their own personal API key. The gateway knows who made each request, applies that person’s budget, and reports their usage.

Before, giving an engineer Claude Code or Codex access through the gateway meant creating an app for that person. Now each person creates their own key, and an Admin sets one budget that applies to everyone separately.

  • One URL for everyone: Each AI Gateway project has one User App, created for you, with a URL under /u/
  • Personal API keys: Each person creates and names their own keys
  • Per-person budgets: Set a daily or monthly allowance that each person gets in full, and override it for individual people
  • Access follows project membership: When someone loses access to the project, their personal keys stop working

Apps for software, the User App for people

An app is still the right choice for software, such as a support chatbot or a nightly batch job. It has its own API key and belongs to a pool. The User App is for people using AI in their everyday tools. It doesn’t belong to a pool, so pool budgets and policy templates don’t apply to it. Gateway-wide usage limits apply to both.

New projects get the User App right away. Existing projects get it on their next production deployment.

Personal API keys

Each person opens the AI Gateway project’s My Keys tab in the Zuplo Portal, creates a key under My API keys, and copies the Gateway URL. The key replaces the provider’s API key, and the Gateway URL replaces the provider’s base URL:

Terminalbash
curl https://my-gateway-main-2e18f50.zuplo.app/u/741d375d631b429293481d6d0458bb64/v1/chat/completions \
  -H "Authorization: Bearer $ZUPLO_PERSONAL_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-5",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

The User App serves the same Chat Completions, Responses, and Messages endpoints as an app. A personal key works only on the User App URL, and an app’s API key doesn’t work there.

When someone loses access to the AI Gateway project, or is removed from the Zuplo account, their personal keys for that project are deleted and stop working within seconds. There are no shared keys to rotate.

Per-person budgets and usage

Admins manage the User App on the project’s Users tab. Budgets sets how much each person can spend per day and per month, such as $50 and $100. Each person gets the full amount, counted separately. To give one person a different amount, such as a higher limit for a heavy user, an Admin sets a custom budget on that person’s row in People.

People lists everyone on the project, how many personal keys each person has, and what each person spent today and this month. Each person sees their own allowance and spend on the My Keys tab. Once a person reaches their allowance, the gateway returns 429 Too Many Requests until the period resets or an Admin raises their budget.

The User App starts with no budget. Until you set one, the gateway tracks each person’s spend but doesn’t limit it.

The User App also has its own policy chain, so Admins can control which models people can use with the same policies available to apps.

Access for AI users only

With the role-based access control (RBAC) add-on, the new AI User project role gives someone access to the User App and nothing else. An AI User can call the User App and see their own keys and usage, but not the rest of the project’s configuration or anyone else’s usage. Admins, Developers, and Members can also use the User App with their own personal keys.

See Role Permissions for what each role can do.

Getting started

Read the User Apps documentation to set a budget and give people access. To route a coding tool through the User App, follow the integration guide for Claude Code, Codex, Claude Desktop, GitHub Copilot, or goose. Each guide starts from your Gateway URL and personal key.