OpenAI¶
Connect the OpenAI API to track token usage and spend in CloudVerse AI alongside your cloud AI workloads.
What you get¶
- Token-level usage data (prompt tokens, completion tokens, total tokens)
- Cost per million tokens by model
- Spend trends by model, organization, and project
- Unified view alongside AWS Bedrock, Azure OpenAI, and GCP Vertex AI in AI Economics
Prerequisites¶
- OpenAI account with an active API key
- Optional: Organization ID if your account belongs to multiple organizations
Connect OpenAI¶
- Go to Settings > Integrations.
- Select OpenAI.
- Enter a connection name.
- Enter your OpenAI API Key.
- Optionally enter your Organization ID.
- Finish the flow and wait for initial data ingestion.
Verify the connection¶
- Open the OpenAI connection detail page in Settings > Integrations.
- Open Cost Management > AI Economics and filter by AI Provider: OpenAI to confirm token and spend data appears.
Data expected¶
| Data | Used for |
|---|---|
| Model usage | Token trends and model-level cost analysis. |
| Prompt, completion, and total tokens | Cost-per-output and unit economics calculations. |
| Organization or project context, when available | Filtering and ownership review. |
Best practices¶
- Use a read-only API key scoped to usage data access where possible.
- Rotate the API key on schedule and update it in CloudVerse promptly.
- Do not paste API keys into tickets, chat messages, screenshots, or documentation.
Troubleshooting¶
See Integration setup issues if data does not appear after setup.