Repolode

#chat-completion

Best open-source chat completion client libraries (2026)

These libraries give a program one API for chat completions across model providers, hiding the differences between their request formats. When picking one, check that it matches your language and the providers you need, and whether you need streaming or tool calling. rust-genai uses each provider's native protocol, which suits Rust projects that talk to several models. ollama4j wraps the REST API of a local Ollama server, including chat, embeddings and model management. ai-dial-core is a Java HTTP proxy that puts multiple models, assistants and applications behind one endpoint.

6 repositories