Loading…
LLM.swift is a simple and readable Swift library that allows you to interact with large language models locally on Apple devices (macOS, iOS, watchOS, tvOS, and visionOS). It supports running models locally, with features including chain-of-thought thinking output separation, embeddings support with cosine similarity, and integration via llama.cpp through an xcframework. It is MIT-licensed and open-source, hosted on GitHub under eastriverlee/LLM.swift.
AI named LLM.swift from January 2026 to February 2026.