The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

When working with an Xcode project:

When working with a Swift Package Manager manifest:

Select a package version:

1.3.2

main


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.

Kevin Hermawan welcomes support for LLMChatOpenAI through GitHub Sponsors and buymeacoffee.com. If you find this package useful, please consider supporting it.


Compatibility

Full Build Results