Status: [LIVE] Endpoints found: https://docs.together.ai/docs/chat https://docs.together.ai/docs/chat-models https://api.elevenlabs.io/v1/voices Source: https://github.com/lzell/AIProxySwift # About Use this library to adopt AI APIs in your app. Swift clients for the following providers are included: - OpenAI - Gemini - Anthropic - Stability AI - DeepL - Together AI - Replicate - ElevenLabs - Fal - Groq - Perplexity - Mistral - EachAI - OpenRouter - DeepSeek - Fireworks AI - Brave Your initialization code determines whether requests go straight to the provider or are protected through the [AIProxy](https://www.aiproxy.com) backend. We only recommend making requests straight to the provider during prototyping and for BYOK use-cases. Requests that are protected through AIProxy have five levels of security applied to keep your API key secure and your AI bill predictable: - Certificate pinning - DeviceCheck verification - Split key encryption - Per user rate limits - Per IP rate limits # Installation ## Installation using Xcode 1. From within your Xcode project, select `File > Add Package Dependencies` Add package dependencies 2. Punch `github.com/lzell/aiproxyswift` into the package URL bar, and select the 'main' branch as the dependency rule. Alternatively, you can choose specific releases if you'd like to have finer control of when your dependency gets updated. Set package rule ## Installation using cocoapods Add to your podfile: pod "AIProxy" Then, from shell: pod install ## How to configure the package for use with AIProxy We recommend using the AIProxy option `useStableID` to rate limit usage across an app store user's account on multiple devices. To enable this, please first add support for iCloud's key-value storage: 1. Tap on your project in Xcode's project tree 2. Select your target in the secondary sidebar 3. Tap on Signing & Capabilities > Add Capability > iCloud 4. Check the