SDKs are in very early alpha: We’re working as hard as we can to get them into a stable state. Please bear with us as we iterate rapidly.
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