LocalAI provides an API that mirrors the OpenAI specification while running models on your own hardware, so existing code can be repointed at it by changing a base URL. It covers text generation, embeddings, image generation, transcription and text to speech behind one interface, and runs on CPU as well as GPU. It suits teams that want to move an existing integration off a hosted API without rewriting the application.
Pricing: Free