A privacy-first AI cost optimization platform that tracks every token across Claude, ChatGPT, and Gemini - without ever receiving your API keys or seeing your prompts. Here's exactly how it works, end to end.
From API call to dashboard - four hops, zero prompts transmitted.
SDK wrapper captures response.usage after each call. Computes token counts, model, latency, cost. Prompt content never reaches Tokeven.
Events flush to /ingest asynchronously (default: every 5s or 50 events). Authenticated by write-only ingest token.
Server recomputes cost_usd (cache-aware, authoritative). Idempotent on (org_id, event_id) - duplicates are silently dropped.
Five pre-built views query usage_events and usage_summaries. Sub-2-second load. Export to CSV/JSON anytime.
Tokeven ships as a lightweight Python wrapper around the Anthropic SDK. You wrap your existing client in a single function call - no code changes to your prompts, no new dependencies in your hot path.
After each API call, the wrapper reads response.usage and captures: input/output tokens, cache read/write tokens, model name, latency, and a local character count of the prompt. It never reads or transmits the prompt content itself.
You made 63 calls to claude-opus-4-8 with avg prompt length under 200 chars. Sonnet handles these at 40% lower cost with comparable quality.
Your 4,200-token system prompt repeats 8x/day across sessions. Adding cache_control would cut 90% off cached input tokens.
3 workflows re-send full conversation history on every call. Summarizing prior turns before re-sending would cut input tokens by ~60%.
Every Monday, each developer receives a digest built from their actual usage patterns. Not generic best practices - specific, actionable optimizations with exact dollar amounts attached.
Purpose-built for AI cost visibility. Each dashboard loads in under 2 seconds and answers a specific question your CFO, CTO, or engineering lead is asking.
Total cost, YTD trend, cost by model, daily/weekly bar charts. Your landing page.
Distribution across Opus/Sonnet/Haiku. Cost per call by model. Top 10 most expensive calls.
Input vs output split. Avg prompt length over time. Tokens per day. Cache efficiency donut.
Calls per day. Tool usage breakdown. Peak usage heatmap (day x hour). Prompt length histogram.
Period comparison, 30-day forecast, CSV/JSON export. The board-ready view.
Individual contributor breakdowns. Team rollups. The view that turns cost data into coaching.
Each phase earns the right to the next. We ship what we can prove works.
The free developer tool is available now. Install in 2 minutes, get your first insights by Monday.
Get Early Access