#104 · Primary category: LLM Application Frameworks

OpenAI

ai openai openai-api spm swift swiftpackagemanager

Swift community driven package for OpenAI public API

Project last updated:07/21/26

GitHub Stars

2.9K

Forks

517

Contributors

81

License

MIT

Why we included this project

Swift teams building Apple or server-side apps can skip hand-rolling URLSession plumbing and call OpenAI through this package instead. It wraps the public API in typed Swift calls covering chat and responses, function calling, image generation and editing, audio speech and transcription, embeddings, and the assistants and threads APIs. The bundled MCP tool integration is a nice extra, letting models reach external tools from inside a Swift app. Because the project is community maintained, it tends to track new OpenAI endpoints quickly, and you can configure it to work with providers other than OpenAI. If your app needs structured LLM features rather than a thin HTTP client, this is a practical fit.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category