back to projects

Token Ledger

Unit economics for the LLM stack

Monthly LLM Spend
AnthropicAzure OpenAISelf-hosted
Spend by Workflow
RAG SearchCode AssistDoc SummaryAgentsOther
$112K
MAR-25
Cost per 1K Tokens · By Model
OpusSonnetHaikuBlended (platform)
Cost Per Request · By Workflow (Mar 2025)
Anomaly Feed · Last 14 Days
3
Critical
7
Warning
RAG Search· output tokens 3.1× baseline
+$8.2K
Code Assist· daily spend >2σ
+$1.4K
Agents· context window growth
+18%
Doc Summary· cost/req down after Haiku swap
−$3.1K
Overview

Built a cost-allocation pipeline that ingests AWS CUR, Azure Cost Management exports, and the Anthropic and OpenAI usage APIs into a single Snowflake fact table, then surfaces unit economics to engineers, product, and finance through a BI dashboard.

Tools
  • AWS CUR
  • Azure Cost Management
  • Snowflake
  • dbt
  • Python
  • Anthropic API
  • OpenAI API