API key management

Manage every API key with more control

As teams, environments and providers grow, API keys spread across code, scripts and chats. Centralized key management reduces security and cost risk.

Project separation

Use different keys for test, production and business lines.

Usage tracking

Connect API calls with credit consumption to find abnormal sources.

Reduced blast radius

Rotate or disable one key without breaking every integration.

Why API keys need governance

AI API keys are directly tied to spend. A leaked key can create real billing loss, so even small teams should separate keys by environment and project.

Recommended practices

Do not expose keys in frontend code or public repositories. Store keys server-side, split them by project, and review call records for abnormal usage.

FAQ

How many API keys should one project use?

At minimum, separate development and production. Larger teams can split further by product, customer or environment.

What should I do if a key leaks?

Disable or rotate the key immediately, review recent calls and check for abnormal spending.