Openai

AI

OpenAI

AI API provider for GPT-4, o1, embeddings, and other foundation models used in production AI applications worldwide.

What gets synced

Roiva writes these metric observations on each sync. Reference the key in a value formula to use this data in your ROI calculations.

API Usage

openai.usage.spend Total Spend currency
openai.usage.input_tokens Input Tokens count
openai.usage.output_tokens Output Tokens count
openai.usage.total_tokens Total Tokens count
openai.usage.request_count Request Count count
openai.usage.model_input_tokens Per-model input tokens (one row per model, the model in the row's dimensions) count
openai.usage.model_output_tokens Per-model output tokens (one row per model, the model in the row's dimensions) count
openai.usage.model_total_tokens Per-model total tokens (one row per model, the model in the row's dimensions) count
openai.usage.model_request_count Per-model request count (one row per model, the model in the row's dimensions) count
Common use cases
  • Track API spend per initiative to measure the cost side of AI ROI
  • Monitor token consumption across models to identify efficiency opportunities
  • Measure request volume growth as a proxy for AI feature adoption
  • Compare cost-per-task before and after model or prompt optimizations
How to connect
  1. In OpenAI: Sign in as an organization owner and go to platform.openai.com/settings/organization/admin-keys
  2. In OpenAI: Create an Admin key (starts with sk-admin-) — a regular project or user API key cannot read usage or cost
  3. Back in Roiva: Paste the Admin key here and save the connection
  4. Back in Roiva: The connection page checks each step and says what's missing. Once it's all ticked, click Test Connection
  5. Back in Roiva: After connecting, link this connection to an initiative on the Initiatives tab
Tips for capturing value
  • Usage data is available for the past 90 days via the API — older data requires exporting from the OpenAI dashboard
  • Spend comes straight from OpenAI's billing, so it matches your invoice rather than being estimated from token counts
  • Cost-per-unit (per document, per call, per user) is more meaningful than total cost for ROI measurement
  • Pairing OpenAI cost data with outcome data from HubSpot, Zendesk, or Stripe gives you a complete ROI picture
Openai
OpenAI

Start with the free AI ROI exposure assessment, then connect OpenAI once your workspace is set up.

Get your exposure report → Sign in