adamrushy/OpenAISwift
This is a wrapper library around the ChatGPT and OpenAI HTTP API observed · 2026-08-28
Health v2 · maintenance only
25/100
- Activity 6
- Release rhythm 8
- Longevity 97
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1366
- days_rel: n/a
- days_push: 567
- n_releases_24m: 0
Adoption not part of the score
1703 stars · 252 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A community-maintained Swift wrapper library around the OpenAI and ChatGPT HTTP APIs. It supports Swift Package Manager and CocoaPods, and offers async/await and completion-handler variants for completions and chat endpoints.
Use cases
- call the OpenAI API from an iOS app
- add ChatGPT chat completions to a SwiftUI app
- send text completion requests in Swift
- integrate GPT models into a macOS application
- wrap OpenAI endpoints with async/await in Swift
When to choose
- you are building an iOS, macOS, or other Swift app that needs OpenAI API access
- you want a lightweight Swift-native wrapper with async/await support
- you prefer SPM or CocoaPods integration
When to avoid
- you need a multi-platform SDK outside the Apple/Swift ecosystem
- you require exhaustive coverage of every OpenAI endpoint or streaming features not supported by the wrapper
- you need a server-side SDK in another language
Facets
library · maturity active
http-client sdk chatbot large-language-models artificial-intelligence apis mobile-development cross-platform openai chatgpt swift-package-manager cocoapods api-wrapper swift ios macos
1 source
- readme: https://github.com/adamrushy/OpenAISwift · fetched 2026-08-28 · d3ab968651df
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| adamrushy/OpenAISwift | main | 25 |
For agents
markdown · JSON · MCP: product_card(name="adamrushy/OpenAISwift")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem