llmkit
Unified multi-provider async LLM client for Rust — OpenAI, Anthropic, and local
Ollama behind one LlmProvider trait, one streaming API, and a Tower middleware
stack (retry, rate limiting, cost tracking, tracing, fallback).
use *;
async
See the repository for the full guide, examples, and the per-provider crates.
Cargo features
openai,anthropic,ollama— provider adapters (all enabled by default)
License
Apache-2.0 OR MIT.