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.
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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 3476 | 1147169 | 962223 | 33930 | 151016 |
| JSON | 95 | 378050 | 378042 | 0 | 8 |
| TSX | 1788 | 392579 | 345855 | 5021 | 41703 |
| Rust | 930 | 191021 | 175314 | 639 | 15068 |
| TypeScript | 858 | 205602 | 156031 | 36817 | 12754 |
| Go | 102 | 24670 | 21646 | 397 | 2627 |
| YAML | 132 | 12224 | 10204 | 1467 | 553 |
| HCL | 39 | 6232 | 4629 | 701 | 902 |
| JavaScript | 203 | 4852 | 4570 | 27 | 255 |
| SQL | 272 | 4613 | 3125 | 822 | 666 |
| TOML | 93 | 3211 | 2875 | 99 | 237 |
| SVG | 332 | 2773 | 2636 | 104 | 33 |
Top language: Python 46.4%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit 76e45df333c0 on November 16, 2026.
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.