May 1, 2026May 1, 2026 · 6 min read · 41 viewsTracking AI costs across providers: Anthropic and OpenAI Admin APIs in one Next.js pageBoth expose usage and cost endpoints. Both have gotchas. Here's the wiring that actually worked.6 min read · 41 views