Skip to main content
When using Prime Inference with a team account, you must explicitly pass your team ID to charge against team credits instead of your personal account.

Finding Your Team ID

You can find your team ID in two ways: Via CLI:
Via Web: Visit your Team Profile page

Setting Team ID

The prime config set-team-id command only affects CLI operations. For direct API usage (OpenAI client or HTTP requests), you must explicitly pass the X-Prime-Team-ID header.

CLI Usage

When using the Prime CLI, configure your team ID once:

API Usage

For direct API access, include the X-Prime-Team-ID header in your requests. Set the header once when creating the client:

Option 2: Set Per Request

For occasional team usage or switching between accounts:
Python