Skip to main content

GenAI Lens

For each AI model that you connect to DoiT, the GenAI Lens helps you identify and track your AI cost and usage in a single lens, and make decisions about how and when to optimize costs, monitor performance, and more.

DoiT enables you to integrate the following AI models:

  • Anthropic

  • OpenAI

    Note

    OpenAI cost data reflects final charges while usage data is for monitoring activity. This means that the costs shown in reports may not always match your actual usage. If you need more details, check the OpenAI API Usage Dashboard.

Required permission

To access the GenAI Lens, your DoiT account needs the Cloud Analytics User permission.

GenAI Lens dashboard

The GenAI Lens dashboard consists of some preset report widgets that highlight various aspects of your generative AI spend and usage. It's automatically populated when your generative AI data has been imported into the DoiT console. See Connections.

To access the GenAI Lens dashboard, select Dashboard from the top navigation bar, and then select GenAI Lens under Preset dashboards.

GenAI Lens dashboard

Note

Widgets on the dashboard are updated independently of each other. See Refresh report data for more information.

You can Open full report to check the report configuration, or customize the preset report to create your own one.

Spend history by GenAI provider

Shows your total monthly AI expenditure by provider. This is useful for managing costs, optimizing usage, and making informed decisions about your applications and projects.

GenAI total monthly spend report widget

Report configuration:

  • Metric: Cost
  • Time Range: Last 6 months w. current
  • Time Interval: Month
  • Group by:
    • Provider:
      • Anthropic
      • OpenAI

Cost by model family

Shows your total cost by AI model for the last 14 days. This allows you to spot any unexpected cost spikes or changes in spending patterns, helping you identify issues before they escalate. In addition, it provides immediate feedback on the financial impact of recent model usage or configuration changes.

GenAI monthly cost by project report widget

Report configuration:

  • Metric: Cost
  • Time Range: Last 14 days w. current
  • Time Interval: days
  • Group by:
    • Model Family

Cost by API key

Shows your total cost by AI API key for the last 14 days. This highlights which APIs are driving your recent spend, helping you detect cost anomalies and make informed decisions about which APIs to optimize.

GenAI monthly cost by model report widget

Report configuration:

  • Metric: Cost
  • Time Range: Last 14 days w. current
  • Time Interval: Day
  • Group by:
    • Api Key Name

Token breakdown by model

Shows your total token usage by AI model for the last 30 days. Token usage is the primary driver of AI API costs, so this report allows you to identify trends and justify spending. It also helps you identify opportunities to optimize prompts and model outputs to reduce token count and reduce costs.

GenAI monthly cost by usage type report widget

Report configuration:

  • Metric: Usage
  • Time Range: Last 30 days
  • Time Interval: Day
  • Group by:
    • Model
    • Provider:
      • Anthropic
      • OpenAI
    • organization_name
    • Project/Account ID
    • Operation

Token usage by model

Shows your daily AI token usage by model. This allows you to see the models that are driving your current spending, helping you make decisions about using the most cost-effective model for each task. It also helps identify your consumption trends within the current billing cycle.

GenAI daily total spend by project report widget

Report configuration:

  • Metric: Usage
  • Time Range: Current month
  • Time Interval: Day
  • Group by:
    • Model

Token usage by GenAI provider

Shows your hourly AI token usage by provider for the last 2 days. This granular view allows you to spot spikes in consumption, identify the exact hour a problem occurred, and correlate usage with specific events or application changes. This provides the immediate context to investigate and resolve issues.

GenAI trending usage by services, model and token types report widget

Report configuration:

  • Metric: Usage
  • Time Range: Last 2 days w. current
  • Time Interval: Hour
  • Group by:
    • Provider:
      • Anthropic
      • OpenAI