Source: https://seerepo.com/compare/BerriAI/litellm/vs/cube-js/cube
Markdown source: https://seerepo.com/compare/BerriAI/litellm/vs/cube-js/cube.md
Description: litellm and cube share 12 technologies: axum, Postgres, moka, SQLite, Tokio, React, jsonwebtoken, tracing, recharts, react-hotkeys-hook, jwt-decode, and Zod. litellm is written in Python and cube in Rust.

# litellm vs cube

litellm and cube share 12 technologies: axum, Postgres, moka, SQLite, Tokio, React, jsonwebtoken, tracing, recharts, react-hotkeys-hook, jwt-decode, and Zod. litellm is written in Python and cube 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]
- [cube-js/cube](https://seerepo.com/r/cube-js/cube): 📊 Cube Core is open-source semantic layer for AI, BI and embedded analytics

## What they share and what sets them apart

- In common: axum, Postgres, moka, SQLite, Tokio, React, jsonwebtoken, tracing, recharts, react-hotkeys-hook, jwt-decode, Zod
- Only in litellm: FastAPI, Flask, tower, aws-sdk-s3, psycopg, rusqlite, sqlx-postgres, sqlx, Redis, azure_storage_blob, OpenAI, Claude, Qdrant, anyio, AIOHTTP, Next.js, Anthropic, aws-sdk-sts, azure_identity, gcp_auth, litellm, rmcp, tokenizers, tiktoken, tiktoken-rs, jinja2, zip, Pydantic, schemars, jsonschema, boto3, azure_core, aws-sdk-secretsmanager, tracing-subscriber, Tailwind CSS, class-variance-authority, next-themes, tanstack, React Hook Form, Base UI, react-syntax-highlighter, react-copy-to-clipboard, usehooks-ts, @shadcn/react, cmdk, sonner, ProseMirror, prosemirror-state, prosemirror-view, react-json-view-lite, react-resizable-panels, Lucide, @heroicons/react, react-markdown, papaparse, remark-gfm, @hookform/resolvers
- Only in cube: arrow, Express, graphql-scalars, nexus, datafusion, lru-cache, @aws-sdk/s3-request-presigner, @azure/storage-blob, Google Cloud, AWS S3, ClickHouse, Vue, sqlstring, DuckDB, Kafka, MySQL, mssql, react-router-dom, history, Vite, @aws-sdk/client-redshift, Snowflake, postgres-types, lru, rdkafka, rust-s3, rocksdb, object_store, GitHub, warp, inquire, rpassword, minijinja, log, env_logger, js-yaml, joi, @aws-sdk/credential-providers, xmlbuilder2, simple_logger, cli-progress, @azure/identity, Ajv, styled-components, antd, react-beautiful-dnd, @graphiql/toolkit, react-responsive, Ant Design, html-entities, prismjs, cron-validator, monaco-editor, react-monaco-editor, Chart.js, react-chartjs-2, yaml, comfy-table, elkjs, reactflow, http-auth-basic, csv, tracing-futures, opentelemetry, tracing-opentelemetry

## Side by side

| | litellm | cube |
|---|---|---|
| Size | 4,586,231 lines written, 5,606 code files | 753,209 lines written, 1,833 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 | 5.4% of its commits signed by AI. With Claude Code, Cursor, and GitHub Copilot |
| Activity | Last push November 5, 2026, 46,240 commits, 62,741 stars | Last push November 5, 2026, 11,756 commits, 21,173 stars |
| Tests | 6,918 test files. 22% of its code files have a test that imports them | 773 test files. 18.3% 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 cube?

litellm, with 4,586,231 lines written; cube has 753,209.

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

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

litellm, with 62,741 stars; cube has 21,173.

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

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

litellm, with 6,918 test files; cube has 773.

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

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

Both got their last push on November 5, 2026.

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

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

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

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)
- cube-js/cube: Read on November 5, 2026, at commit f2412e3 (https://github.com/cube-js/cube/tree/f2412e3dcbc04779d03d3437bcde8ed7410fd4d8)

## 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.
