SDKs
Official client libraries for AIProxyGuard. Both SDKs work with the self-hosted proxy and the cloud API.
| SDK | Package | Description |
|---|---|---|
| Python | aiproxyguard-python-sdk |
Sync/async, decorators, batch operations |
| JavaScript | @ainvirion/aiproxyguard-npm-sdk |
TypeScript, Express middleware, native fetch |
Which to Use?
Both options are free:
- Self-hosted proxy: Deploy your own proxy and point your existing OpenAI/Anthropic SDK at it. No API key required. Use our SDKs for direct
/checkcalls or advanced features. - Cloud API: Sign up free for an API key and use our SDKs — no proxy deployment needed. When creating your API key, enable the
checkscope in permissions.