← all repositories

lzell/AIProxySwift

Swift SDK enabling iOS/macOS apps to make API requests to OpenAI, Gemini, Anthropic, and other AI providers with optional proxy routing for key protection and rate limiting.

438 stars Swift Inference · Serving
AIProxySwift
Velocity · 7d
+0.6
★ / day
Trend
steady
star history

AIProxySwift is a Swift package that wraps client libraries for over a dozen AI providers including OpenAI, Gemini, Anthropic, Stability AI, and Replicate. It can route requests directly to providers or through the AIProxy backend for added security via certificate pinning, split-key encryption, and per-user/ip rate limiting. The library integrates with iCloud key-value storage for cross-device rate limiting and supports BYOK use cases.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.