Skip to main content

Model Permission Management

Platform Governance Capabilities​

TokenPlus provides enterprise-grade governance, including per-team and per-project API Key isolation and tiered model permissions — meeting large-organization requirements for cost attribution, security compliance, and workload separation. Governance operates at two levels:

Per-team API Keys

  • Dedicated keys: Assign a dedicated API Key to each team or project, keeping business lines fully isolated.
  • Independent control: Each key supports permission isolation, quota limits, and one-click enable/disable without interference.
  • Accurate billing: Finance can pull per-team bills at month end for precise cost accounting and chargeback.

Tiered model authorization

  • Allowlist mechanism: Configure a dedicated list of available models for each team; teams can only call authorized models.
  • Tiered control: Limit some teams to lightweight models while reserving premium models for core teams.
  • Cost and compliance: Prevent misuse of premium resources and cross-team mixing while meeting security, compliance, and cost-control requirements.

Issuing a Dedicated API Key per Team​

Avoid Sharing Keys

Sharing one API Key among multiple members is not recommended. We recommend a dedicated API Key per team or project for finer-grained permission and resource management. When multiple people share a key, you can't attribute calls to individuals, apply per-member quotas, or revoke access selectively.

With per-team keys, you can:

  1. Control independently: Enable or disable one team's key without affecting others.
  2. Bill accurately: See exactly what each team consumes, with no ambiguity.
  3. Isolate securely: When team membership changes, simply reset or disable the key — no need to update every member's code configuration.

If you need to distinguish individual users, combine this with the platform's member management features to issue a separate key per person: shared tooling with independent credentials for each member, ensuring no interference.

Unauthorized Model Requests and Troubleshooting​

Blocking Behavior

Unauthorized model requests are rejected with HTTP 403 Forbidden. When an API Key attempts to call a model outside its allowlist, the request is denied immediately and the response body contains an explicit error message, for example:

{"error": {"message": "Model 'xxx' is not authorized for this API Key."}}

Troubleshooting steps:

  1. Check the error: Confirm the status code is 403 and note the model name in the message.
  2. Review the allowlist: Sign in to the console, open API Key management, and check the key's list of available models to confirm the target model is included.
  3. Check model status: Verify the model is currently available on the platform and has not been retired or taken down for maintenance.
  4. Contact support: If your configuration looks correct but the error persists, contact technical support with the full Request ID so we can investigate quickly.

Setting Quotas​

Set a budget ceiling when creating or editing an API Key. Path: Console → API Key Management → select the key → Edit → configure Quota Limit.

  1. Quota limit: Set a maximum daily or monthly spend for the key. Service stops automatically once the limit is reached, keeping budgets under control.

These settings can be changed multiple times per day, which is more than enough for routine operational adjustments. Enterprise customers can also reserve dedicated capacity so critical workloads are never crowded out by other teams.

Dynamic Permission Adjustments​

All permission changes take effect in real time from the console — no need to regenerate the key.

Online Service