Source: https://seerepo.com/compare/BerriAI/litellm/vs/diesel-rs/diesel
Markdown source: https://seerepo.com/compare/BerriAI/litellm/vs/diesel-rs/diesel.md
Description: litellm and diesel share 7 technologies: rusqlite, sqlx, Postgres, SQLite, Tokio, tracing, and tracing-subscriber. litellm is written in Python and diesel in Rust.

# litellm vs diesel

litellm and diesel share 7 technologies: rusqlite, sqlx, Postgres, SQLite, Tokio, tracing, and tracing-subscriber. litellm is written in Python and diesel in Rust.

- [BerriAI/litellm](https://seerepo.com/r/BerriAI/litellm): The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
- [diesel-rs/diesel](https://seerepo.com/r/diesel-rs/diesel): A safe, extensible ORM and Query Builder for Rust

## What they share and what sets them apart

- In common: rusqlite, sqlx, Postgres, SQLite, Tokio, tracing, tracing-subscriber
- Only in litellm: FastAPI, Flask, axum, tower, aws-sdk-s3, psycopg, sqlx-postgres, moka, Redis, azure_storage_blob, OpenAI, Claude, Qdrant, anyio, AIOHTTP, React, Next.js, Anthropic, jsonwebtoken, aws-sdk-sts, azure_identity, gcp_auth, litellm, rmcp, tokenizers, tiktoken, tiktoken-rs, jinja2, zip, Pydantic, schemars, jsonschema, boto3, azure_core, aws-sdk-secretsmanager, Tailwind CSS, class-variance-authority, next-themes, tanstack, React Hook Form, Base UI, react-syntax-highlighter, recharts, react-copy-to-clipboard, react-hotkeys-hook, usehooks-ts, @shadcn/react, cmdk, sonner, ProseMirror, prosemirror-state, prosemirror-view, react-json-view-lite, react-resizable-panels, Lucide, @heroicons/react, jwt-decode, react-markdown, papaparse, remark-gfm, Zod, @hookform/resolvers
- Only in diesel: pq-sys, tokio-postgres, libsqlite3-sys, sqlite-wasm-rs, MySQL, r2d2, sea-orm, diesel-async

## Side by side

| | litellm | diesel |
|---|---|---|
| Size | 4,586,231 lines written, 5,606 code files | 192,214 lines written, 407 code files |
| Who writes it | 20.1% of its commits signed by AI. With Claude Code, Devin, Cursor, GitHub Copilot, OpenHands, Codex, Aider, and Gemini CLI | 0.3% of its commits signed by AI. With Claude Code and Codex |
| Activity | Last push November 5, 2026, 46,240 commits, 62,741 stars | Last push November 7, 2026, 6,187 commits, 14,227 stars |
| Tests | 6,918 test files. 22% of its code files have a test that imports them | 378 test files. 4.2% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, litellm or diesel?

litellm, with 4,586,231 lines written; diesel has 192,214.

The proof: [BerriAI/litellm's code at commit 7e4ad6e](https://github.com/BerriAI/litellm/tree/7e4ad6eb333071d67c2eb03ce6468f89a0855027)

### Which has more GitHub stars, litellm or diesel?

litellm, with 62,741 stars; diesel has 14,227.

The proof: [BerriAI/litellm on GitHub](https://github.com/BerriAI/litellm)

### Which has more tests, litellm or diesel?

litellm, with 6,918 test files; diesel has 378.

The proof: [BerriAI/litellm's code at commit 7e4ad6e](https://github.com/BerriAI/litellm/tree/7e4ad6eb333071d67c2eb03ce6468f89a0855027)

### Which was updated more recently, litellm or diesel?

diesel: its last push was on November 7, 2026, and litellm's on November 5, 2026.

The proof: [diesel-rs/diesel's commits on GitHub](https://github.com/diesel-rs/diesel/commits)

### Which has more commits signed by AI, litellm or diesel?

litellm: an AI signed 20.1% of its commits, with Claude Code, Devin, Cursor, GitHub Copilot, OpenHands, Codex, Aider, and Gemini CLI; in diesel, 0.3%.

The proof: [the commits each tool signed in BerriAI/litellm](https://seerepo.com/r/BerriAI/litellm/ai)

## Sources

- BerriAI/litellm: Read on November 5, 2026, at commit 7e4ad6e (https://github.com/BerriAI/litellm/tree/7e4ad6eb333071d67c2eb03ce6468f89a0855027)
- diesel-rs/diesel: Read on November 9, 2026, at commit 545b6a1 (https://github.com/diesel-rs/diesel/tree/545b6a19533b25100c82d8e2a787cb0874b9d3cf)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
