BerriAI/litellm

BerriAI/litellm has 2,074,295 source lines of code out of 2,447,295 total lines across 8,870 files, counted with tokei from the main ref at commit 76e45df333c0 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit 76e45df333c0), BerriAI/litellm contains 2,447,295 total lines: 2,074,295 code, 142,736 comments, 230,264 blank, across 8,870 files in 23 languages (top language: Python 46.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit 76e45df333c0), BerriAI/litellm contains 2,447,295 total lines: 2,074,295 code, 142,736 comments, 230,264 blank, across 8,870 files in 23 languages (top language: Python 46.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving BerriAI/litellm to commit 76e45df333c0, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a very large codebase by counted code lines. Code represents 84.8% of all lines, comments represent 5.8%, and the repository averages 234 code lines per file. Python accounts for 46.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python3476114716996222333930151016
JSON9537805037804208
TSX1788392579345855502141703
Rust93019102117531463915068
TypeScript8582056021560313681712754
Go10224670216463972627
YAML13212224102041467553
HCL3962324629701902
JavaScript2034852457027255
SQL27246133125822666
TOML933211287599237
SVG3322773263610433

Top language: Python 46.4%. Generated on .

Counting rules and retention

BerriAI/litellm: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does BerriAI/litellm have?

BerriAI/litellm has 2,074,295 lines of code, plus 142,736 comment lines and 230,264 blank lines, for 2,447,295 total lines at commit 76e45df333c0 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the BerriAI/litellm line count measured?

OctoCounts resolved the public GitHub repository to commit 76e45df333c0, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for BerriAI/litellm?

This OctoCounts report was generated from main at commit 76e45df333c0 on November 16, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for BerriAI/litellm on this page — 2,074,295 code lines across 23 languages, counted by tokei.