Features
- Async-first: Built with
asyncioandhttpxfor high performance - Type-safe: Full type hints for modern Python editors and IDEs
- Dual interface: Both async (
AIStats) and sync (AIStatsSync) clients - Streaming support: Built-in streaming helpers for real-time responses
- Comprehensive: Covers all Gateway API endpoints
Quick Example
What’s Included
AIStatsasync client for high-performance applicationsAIStatsSyncsync client for simpler use cases- Streaming helpers for real-time responses
- Rich type hints and error handling
- Full API coverage including chat completions, models, credits, and more