API Relay Billing & Performance Audit
Audits token usage, actual billing rates, CNY costs, and latency performance across AI model API relay services.
API Relay Billing & Performance Audit provides a rigorous verification framework for AI proxy and relay services (such as OpenAI and Anthropic API relays) by reconciling raw request logs, token consumption, base model pricing, caching multipliers, and real top-up discounts. It exposes billing anomalies, verifies whether advertised discount rates actually applied to historical requests, and benchmarks streaming latency (TTFT) and provider uptime to help developers select the most cost-effective and reliable primary and backup API endpoints.
Key Features
01Audits token usage, group multipliers, and actual debit records against raw API logs
02Converts internal site quotas and credits into true CNY cost based on top-up discounts
03Performs ledger reconciliation to identify balance drift, unlogged fees, or overbilling
04Enforces strict privacy by redacting sensitive API keys, session cookies, and payment IDs
05Benchmarks streaming performance including time-to-first-token (TTFT P50/P95) and error rates
060 GitHub stars
Use Cases
01Investigating unexpected balance drops or billing discrepancies in relay provider consoles
02Comparing multi-relay pricing under identical token workloads and real fiat payment terms
03Benchmarking provider latency and availability to select primary and fallback API endpoints