Workspaces, projects and teams
Separate environments, assign team roles, and scope every API key to one project.
Recommended structure
- Use one workspace for one customer account and funding boundary.
- Create separate projects for development, staging and production, each with a clear budget.
- Issue a different key for each deployed service and limit its model allowlist, budget, RPM and expiry.
Role permissions
- owner
- Workspace management, keys, billing and read access.
- admin
- Workspace management, keys, billing and read access.
- developer
- Key operations and workspace read access.
- billing
- Billing and workspace read access.
- viewer
- Workspace and usage read access.
Environment isolation
- Keep production, local development and browser clients on separate credentials.
- Use independent budgets and idempotency keys for each project.
- Rotate a deployed secret deliberately. If overlap is required, create a second key, deploy it, verify its model list, then revoke the old key.