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.

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.
Frequently asked
- What is 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.
- Is AIProxySwift open source?
- Yes — lzell/AIProxySwift is open source, released under the MIT license.
- What language is AIProxySwift written in?
- lzell/AIProxySwift is primarily written in Swift.
- How popular is AIProxySwift?
- lzell/AIProxySwift has 438 stars on GitHub.
- Where can I find AIProxySwift?
- lzell/AIProxySwift is on GitHub at https://github.com/lzell/AIProxySwift.