Developer Documentation & API Reference
Technical guide for Flixil Lunar Personal: AI usage observability, token telemetry, cryptographic credential vault, and multi-currency cost governance.
1. Overview
Flixil Lunar Personal is a developer observability platform and gateway for multi-provider AI workloads. It solves the challenge of fragmented LLM billing and opaque token usage by providing a unified proxy, live telemetry stream, cryptographic credential storage, and granular cost analytics.
Universal AI Gateway
OpenAI-compatible /v1/chat/completions endpoint routing across OpenAI, Anthropic, Gemini, Groq, Mistral, and DeepSeek.
Precise Token Telemetry
Tracks prompt tokens, completion tokens, cached tokens, and reasoning tokens per request and session.
Canonical USD Cost Tracking
Real-time cost calculation based on 1M token rate cards with multi-currency presentation layer.
Personal Credential Vault
Client-side AES-256-GCM envelope encryption protecting upstream API secrets with zero plaintext storage.
Session & Repo Attribution
Tag AI requests by repository name, developer branch, and session ID to audit cost per feature.
Forecasting & Optimization
Monthly spend projections, prompt caching efficiency, and actionable model tier recommendations.