Skip to content
Karyam

Cost Analytics

As AI adoption grows, understanding costs becomes just as important as understanding performance.

Organizations need visibility into:

  • Which AI flows generate the highest costs
  • Which models contribute most to spending
  • Which teams consume the largest budgets
  • How spending changes over time
  • Where optimization opportunities exist

Karyam provides cost visibility across AI flows, agents, models, and providers.


Individual execution costs can be viewed from:

OPERATE
└── Runs
└── Info
└── Usage

Example:

Cost
──────────────
Input Cost $0.0124
Output Cost $0.0042
System Cost $0.0011

Knowledge ingestion and retrieval costs are available from:

AI Infra
└── RAG Runs
└── Info
└── Usage

This includes:

  • Embedding costs
  • Retrieval costs
  • Completion costs

Cost generated by prompt tokens sent to the model.

Example:

Input Cost
$0.0124

Cost generated by tokens returned by the model.

Example:

Output Cost
$0.0042

Additional costs associated with execution.

Examples include:

  • Platform overhead
  • Infrastructure services
  • Future premium capabilities

Example:

System Cost
$0.0011

Karyam provides organization-wide financial visibility through dashboard widgets.

Identify AI flows generating the highest spending.

Useful for:

  • Cost optimization
  • AI flowredesign
  • Model tuning

Monitor how spending changes over time for each model.

Examples:

  • GPT-4o
  • Claude Sonnet
  • Gemini
  • Bedrock Models

Provides a consolidated cost view across all providers and models.

Useful for:

  • Budget forecasting
  • Provider analysis
  • Executive reporting

Track daily spending trends.

Useful for:

  • Detecting spikes
  • Budget monitoring
  • Usage forecasting

Model costs are calculated using pricing configured directly on each model.

Navigate to:

AI Infra
└── Models

Each model supports:

Cost per 1 million input tokens.

Example:

0.15

Cost per 1 million output tokens.

Example:

0.60

Defines the maximum spend allowed for the model.

Example:

100

Setting:

Spending Cap ($)
0

means:

Unlimited spending

Spending caps help organizations:

  • Prevent runaway costs
  • Control experimentation
  • Enforce budgets
  • Improve governance

Model:
gpt-4o-mini
Input Cost:
$0.0037
Output Cost:
$0.0010
System Cost:
$0.0004
Total Cost:
$0.0051

Not every task requires the largest model.


Regularly review AI flows appearing in:

  • Top Expensive AI flows
  • Monthly Cost Trends

Protect against unexpected spending by setting model limits.


Monitor spending distribution across providers to optimize costs and reduce dependency.


Cost Analytics works alongside:

  • Token Usage
  • Agent Logs
  • AI flow Logs
  • RAG Logs

Together they provide complete operational and financial visibility into AI systems.


Continue with:

➡️ Debugging

Learn how Karyam helps diagnose failures across agents, AI flows, retrieval systems, and integrations.