rust_llm
One API for chat, tools, agents, structured output, streaming, embeddings, images, audio, video, moderation, batches, files, MCP, and judgments across OpenAI, Anthropic, Gemini, DeepSeek, Mistral, OpenRouter, xAI, Perplexity, Ollama, Ollama Cloud, GPUStack, Hetzner, and TypeSafe.
# async
- Examples and overview: https://github.com/cole-robertson/rust-llm
- Guides: https://github.com/cole-robertson/rust-llm/tree/main/docs
- API docs: https://docs.rs/rust_llm
- Persistence for Loco/SeaORM:
rust_llm_loco - Generators:
rust_llm_cli
MIT licensed. RustLLM is a port of Carmine Paolino's RubyLLM; see LICENSE.