Platform

AI FinOps

Every token spent is attributed to the agent, workflow, and workspace that spent it. Real-time cost dashboards, anomaly alerts, and savings attribution — so your finance team can see exactly where AI budget goes.

Attribution model

Tag any call with an agentId or workflowId and cost is automatically attributed in the dashboard.

import OpenAI from 'openai';
import { AzothClient, wrapOpenAI } from '@azoth/sdk';

const azoth  = new AzothClient({ apiKey: process.env.AZOTH_API_KEY });
const openai = wrapOpenAI(new OpenAI(), azoth, {
  provider:   'openai',
  model:      'gpt-4o',
  agentId:    'support-bot',     // attributed to this agent's spend line
  workflowId: 'ticket-triage',   // further breakdown by workflow
});

Dashboard views

Spend Attribution
Total cost by agent, model, and provider. Export to CSV.
Economic Impact
Capital reclaimed through routing and cache optimization.
Anomaly Detection
Spike alerts, budget thresholds, unusual model usage.

Ingest API

Already using a different SDK or calling providers directly? Push events to the ingest endpoint and get full attribution without changing your model client.

await fetch('https://www.azothos.ai/api/ingest', {
  method: 'POST',
  headers: {
    'X-Azoth-API-Key': process.env.AZOTH_API_KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    events: [{
      provider: 'openai',
      model:    'gpt-4o',
      inputTokens:  1240,
      outputTokens: 128,
      costUsd:      0.0082,
      latencyMs:    340,
      agentId:      'my-agent',
    }],
  }),
});
← Prompt IntelligenceSDK reference →