Developer Documentation
Everything you need to integrate Bear Lumen into your AI application. Track costs across providers with one line of code.
Core Concepts
Cost Tracking
Track AI provider costs per request. Auto-detects OpenAI, Anthropic, Bedrock, Gemini, and more.
Cost Attribution
Attribute costs to features, users, and custom dimensions. Break down costs at any granularity.
Cost Queries
Query costs by model, provider, feature, or time period. Export data programmatically.
Security
API key authentication, TLS 1.3 encryption, no raw prompts collected.
Quick Start Guide
Install the SDK, wrap your first AI call, and see cost data in under 10 minutes.
Start Tracking →API Reference
Complete API documentation with request/response examples for every endpoint.
View API Docs →