LLM clients
Client libraries for the APIs of LLM providers.
Start here
The Featured projects with the most downloads.
-
async-openai
Rust library for OpenAI
1.3M downloads (30 days) Latest release: 0.43.0, 1 Nov 2026
-
rust-genai
Multi-AI Providers Library for Rust. (OpenAI, Gemini, Anthropic, DeepSeek, Ollama, OMLX, AWS Bedrock, Vertex, Xai, Groq, Kimi, GLM and many more)
119k downloads (30 days) Latest release: 0.7.3, 3 Nov 2026
-
ollama-rs
A Rust library for interacting with the Ollama API
46k downloads (30 days) Latest release: 0.3.6, 24 Jul 2026
All projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days.
What do the tiers mean?
- Featured
- Shown first. It passes every Featured gate.
- Listed
- Shown in the normal listing. No other tier applies.
- New
- A project whose first release is recent.
- Archived
- No longer maintained, or ended by its author.
Tiers come from published rules over raw signals. Stars alone never qualify a project.
Active dependents: crates from other owners that depend on this project in a current release. One owner counts at most once.
Movement needs more history.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
| Featured 5 projects | |||||||
|
async-openai Featured
Rust library for OpenAI |
1,302,033 downloads over 30 days | 275 | 2,031 | 0.43.0 | GPU support unknown | No native code found | MIT |
|
rust-genai Featured
Multi-AI Providers Library for Rust. (OpenAI, Gemini, Anthropic, DeepSeek, Ollama, OMLX, AWS Bedrock, Vertex, Xai, Groq, Kimi, GLM and many more) |
118,643 downloads over 30 days | 81 | 938 | 0.7.3 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
|
ollama-rs Featured
A Rust library for interacting with the Ollama API |
45,579 downloads over 30 days | 68 | 1,061 | 0.3.6 | GPU support unknown | No native code found | MIT |
|
All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI Tools & Agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more. |
28,422 binary downloads per release | Not applicable | 10,556 | 0.30.0 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
|
llm Featured
A Rust library unifying multiple LLM backends. |
7,669 downloads over 30 days | 34 | 365 | 1.3.8 | GPU support unknown | Binds native code: alsa-sys (feature audio-example) | MIT |
| Listed 32 projects | |||||||
|
❄️ ChatGPT Desktop Application (Mac, Windows and Linux) |
1,411,000 binary downloads per release | Not applicable | 54,663 | Not measured | Not measured | None stated | |
|
harmony Listed
OpenAI's response format for its open-weight model series gpt-oss Python bindings |
489,508 downloads over 30 days | 9 | 4,539 | 0.0.8 | GPU support unknown | No native code found | Apache-2.0 |
|
openai-api-rs Listed
OpenAI API client library for Rust (unofficial) |
46,400 downloads over 30 days | 33 | 485 | 10.0.2 | GPU support unknown | No native code found | MIT |
|
aisdk Listed
An open-source Rust library for building AI-powered applications, inspired by the Vercel AI SDK. It provides a robust, type-safe, and easy-to-use interface for interacting with various Large Language Models (LLMs). |
36,877 downloads over 30 days | 4 | 263 | 0.6.1 | GPU support unknown | No native code found | MIT |
|
liter-llm Listed
Universal LLM API client — 174 providers, streaming, tool calling. Rust-powered, type-safe, compiled. |
13,151 downloads over 30 days | 8 | 264 | 2.7.0 | GPU support unknown | Binds native code: libmimalloc-sys (feature mimalloc), tikv-jemalloc-sys (feature jemalloc) | MIT |
|
openai Listed
An unofficial Rust library for the OpenAI API. |
10,846 downloads over 30 days | 13 | 128 | 1.1.1 | GPU support unknown | No native code found | MIT |
|
Unofficial ChatGPT desktop app for Mac & Windows menubar using Tauri & Rust |
9,949 binary downloads per release | Not applicable | 1,997 | Not measured | Not measured | MIT | |
|
openrouter-rs Listed
A type-safe OpenRouter Rust SDK |
8,599 downloads over 30 days | 3 | 98 | 0.24.0 | GPU support unknown | No native code found | MIT |
|
gemini-rust Listed
Rust client for Google Gemini API |
6,041 downloads over 30 days | 5 | 79 | 2.1.0 | GPU support unknown | No native code found | MIT |
|
Terminal UI to chat with large language models (LLM) using different model backends, and integrations with your favourite editors! |
5,642 binary downloads per release | Not applicable | 772 | 0.13.0 | GPU support unknown | No native code found | MIT |
|
edgequake-llm Listed
Multi-provider LLM abstraction library with caching, rate limiting, and cost tracking |
5,446 downloads over 30 days | 15 | 44 | 0.10.10 | GPU support unknown | No native code found | Apache-2.0 |
|
gemini-client Listed
A Rust SDK for the Google Gemini API |
2,207 downloads over 30 days | 2 | 13 | 0.10.0 | GPU support unknown | No native code found | MIT |
|
anthropic-sdk-rs Listed
An unofficial Rust SDK for Anthropic's Claude AI API |
2,116 downloads over 30 days | 4 | 18 | 0.2.27 | GPU support unknown | No native code found | MIT |
|
Anthropic Rust SDK. |
1,949 downloads over 30 days | 6 | Not measured | 0.0.8 | GPU support unknown | No native code found | MIT |
|
rstructor Listed
Get structured, validated data out of LLMs as native Rust structs and enums. Derive a type and rstructor generates the JSON Schema, prompts the model, parses the reply, and retries on validation errors — across OpenAI, Anthropic Claude, Google Gemini, and xAI Grok. |
1,269 downloads over 30 days | 3 | 34 | 0.6.0 | GPU support unknown | No native code found | MIT |
|
Anthropic Rust SDK. |
723 downloads over 30 days | 3 | 38 | 0.1.5 | GPU support unknown | No native code found | MIT |
|
llm_providers Listed
A unified source of truth for LLM providers, models, pricing, and capabilities. |
604 downloads over 30 days | 4 | 2 | 0.14.4 | GPU support unknown | No native code found | MIT |
|
TUI interface for LLMs written in Rust |
569 binary downloads per release | Not applicable | 686 | 0.11.3 | GPU support unknown | No native code found | GPL-3.0-or-later |
|
Mistral AI API client library for Rust (unofficial). |
518 downloads over 30 days | 4 | 48 | 0.14.0 | GPU support unknown | No native code found | Apache-2.0 |
|
Putting a brain behind `cat`🐈⬛ Integrating language models in the Unix commands ecosystem through text streams. |
232 binary downloads per release | Not applicable | 580 | 2.2.0 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
|
Plano is an AI-native proxy server and data plane for agentic apps. Smart LLM routing, observability, agent orchestration, and guardrails so you stay focused on your agents core logic. |
211 binary downloads per release | Not applicable | 7,111 | Not measured | Not measured | Apache-2.0 | |
|
allms Listed
One Library to rule them aLLMs |
178 downloads over 30 days | 0 | 110 | 0.45.0 | GPU support unknown | No native code found | MIT |
|
elastic inference for your agentic workloads, on your terms |
145 binary downloads per release | Not applicable | 239 | 0.33.0 | GPU support unknown | Binds native code: secp256k1-sys, aws-lc-rs (feature payments-tempo) | Apache-2.0 |
|
High-performance model-routing gateway for large-scale LLM deployments |
116 downloads over 30 days | Not applicable | 703 | 1.14.0 | GPU support unknown | Binds native code: k8s-openapi, odpic-sys, openssl-sys, tikv-jemalloc-sys, nixl-sys (feature nixl). Build uses a native toolchain: cc, pkg-config | Apache-2.0 |
|
A protocol and modular application suite for language models. |
78 downloads over 30 days | 0 | 105 | 0.1.1 | GPU support unknown | No native code found | MPL-2.0 |
|
rllm Listed
Unifies multiple LLM backends in Rust. |
60 downloads over 30 days | 0 | 137 | 1.1.9 | GPU support unknown | No native code found | MIT |
|
A Rust-based terminal coding agent with modular architecture supporting multiple LLM providers |
56 binary downloads per release | Not applicable | 903 | 0.181.5 | GPU support unknown | Binds native code: ring, tree-sitter, vtcode-ghostty-vt-sys, libdbus-sys, libmimalloc-sys and 4 more | Apache-2.0 OR MIT |
|
llm_client: The easiest Rust interface for local LLMs |
43 downloads over 30 days | 1 | 254 | 0.0.7 | Metal | Binds native code: nvml-wrapper-sys | MIT |
|
A high-performance AI Gateway written in Rust, providing OpenAI-compatible APIs with intelligent routing, load balancing, and enterprise features |
34 binary downloads per release | Not applicable | 123 | 0.10.1 | GPU support unknown | No native code found | MIT |
|
Run, Build, Share your AI Packs |
21 downloads over 30 days | Not applicable | 224 | 0.8.37 | GPU support unknown | Binds native code: libsqlite3-sys, mlua-sys | Apache-2.0 OR MIT |
|
icebreaker Listed
A local AI chat app powered by 🦀Rust, 🧊iced, 🤗Hugging Face, and 🦙llama.cpp |
12 downloads over 30 days | 0 | 468 | 2026.2.0 | GPU support unknown | No native code found | MIT |
|
High-performance LLM backends proxy with per-user fair-share queuing, round-robin scheduling, and a real-time TUI dashboard. Built in Rust. |
8 downloads over 30 days | Not applicable | 133 | 0.5.0 | GPU support unknown | No native code found | MIT |
| New 3 projects | |||||||
|
switchyard New
Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization. Python bindings |
6,019 downloads over 30 days | 2 | 3,501 | 0.3.0 | GPU support unknown | No native code found | Apache-2.0 |
|
llm-kernel New
Foundation library for Rust AI-native apps — provider catalog, LLM client, MCP server, search, telemetry, and safety |
791 downloads over 30 days | 8 | 3 | 0.33.1 | GPU support unknown | Binds native code: libsqlite3-sys (feature store), mach-sys (feature embedding-mlx), mlx-sys (feature embedding-mlx), openssl-sys (feature graph-pg-tls), ort-sys (feature embedding-fastembed-coreml) | Apache-2.0 |
|
An LLM gateway with a neutral core and compiled-in plugins. |
36 binary downloads per release | Not applicable | 630 | 0.3.0 | GPU support unknown | No native code found | Apache-2.0 OR MIT |