Packages for keyword “openai”
These packages are available as a package collection, usable in Xcode or SwiftPM.
NRouter
nRouter SDK — one API key for models across six provider clouds (Alibaba US, OpenAI, AWS Bedrock, Azure Foundry, Google Vertex AI, Anthropic). Speaks the OpenAI and Anthropic wire formats natively, plus embeddings, audio, images and video.
ContextCore
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers
LLMChatOpenAI
Interact with OpenAI and OpenAI-compatible chat completion APIs in a simple and elegant way. Supports Cohere V2, Groq, Ollama, OpenRouter, Together AI, Perplexity, and more.
GPTSwift
An OpenAI GPT interface written in Swift
LLMKit
Unified LLM client library for Swift - one API, 36 providers (Anthropic, OpenAI, Google Gemini, AWS Bedrock, Mistral, Groq, DeepSeek, +29 more), zero external dependencies (Foundation + CryptoKit).
SwiftOpenAIProxy
Reverse proxy for OpenAI and Anthropic written in server-side Swift
OpenAI
Swift package to interact with OpenAI API
DeepSwiftSeek
DeepSwiftSeek 🚀 | Swift Client for DeepSeek LLM Models | Lightweight and efficient communication to the core functionality of DeepSeek
OpenAIKit
A comprehensive Swift SDK for the OpenAI API.
swift-embeddings
Text embeddings and reranking for Swift — one protocol, providers for Voyage, Jina, Cohere, OpenAI and on-device NaturalLanguage. Back-deploys to iOS 15.
SwiftyGPT
SwiftyGPT is an unofficial, lightweight and user-friendly Swift wrapper for accessing OpenAI API
Arbiter
Framework to talk to AI models and intelligently route
OpenAIStructure
Swift Macro for OpenAI API Structured Outputs.
swift-chatgpt-auth
Swift library that signs apps in to ChatGPT and Codex over the device-authorization OAuth flow and keeps a fresh bearer token, refreshing before expiry. Pluggable HTTP and token storage, typed errors, no third-party runtime dependencies. iOS, macOS, tvOS, watchOS, visionOS, Linux.
swift-image-generation
Image generation for Swift with a unified API across providers. Lightweight, back-deploys to iOS 18.
SwiftLLM
Swift Package — 3-line LLM integration for iOS/macOS · Claude + OpenAI · async/await · zero dependencies
CodexAgentSDK
Unofficial Swift client for the OpenAI Codex App Server protocol (JSON-RPC over stdio)
OpenAIImageClient
Generate and edit images using gpt-image-1 model
swift-ai
A provider-agnostic Swift API for chat, embeddings, image generation, agents, and retrieval.