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.
BerriAI/litellm: 2,074,295 code lines at commit 76e45df333c0, counted with tokei-15.0.0 on 2026-11-16. Saved result 5d5c3dc7ee671da1b89c11a3e01859883baa1f51b899ec8fdd2f113210571c41.
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 |
| Shell | 18 | 3086 | 2370 | 431 | 285 |
| CSS | 11 | 1605 | 1476 | 24 | 105 |
| Pan | 2 | 1303 | 1264 | 0 | 39 |
| PowerShell | 3 | 1536 | 1246 | 187 | 103 |
| Makefile | 2 | 396 | 265 | 62 | 69 |
| Dockerfile | 4 | 340 | 249 | 31 | 60 |
| HTML | 60 | 235 | 215 | 0 | 20 |
| BASH | 1 | 75 | 43 | 19 | 13 |
| Ruby | 1 | 33 | 17 | 12 | 4 |
| Markdown | 215 | 12931 | 0 | 9240 | 3691 |
| Plain Text | 233 | 52759 | 0 | 52706 | 53 |
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.