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
- Typed request models generated from the OpenAPI spec.
- Built-in helpers for chat, responses, messages, images, audio, embeddings, moderations, files, batches, generations, and async video jobs.
- Streaming helpers for text, responses, and messages (
stream_*iterators). - Control-plane helpers such as models, endpoints, organisations, pricing discovery/calculation, API-key lifecycle, workspace lifecycle, current-key inspection, health, providers, credits, activity, and analytics.
Quick example
What’s included
AIStatsclientchat.completions.create(...)andresponses.create(...)compatibility helpers- Resource helpers such as
client.batches,client.videos,client.files, andclient.async_jobs - Async-job websocket URL helpers for batch and video lifecycle streams
- Model lifecycle helpers such as
get_model_deprecation_info(...)andvalidate_model(...) - Streaming iterators for text, responses, and messages
- Generated request/response models in
ai_stats.models