BerriAI/litellm has 1,749,068 source lines of code out of 2,089,078 total lines across 7,977 files, counted from the main ref at commit f2118fc7670b by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-22 (commit f2118fc7670b), BerriAI/litellm contains 2,089,078 total lines: 1,749,068 code, 138,825 comments, 201,185 blank, across 7,977 files in 23 languages (top: Python 49.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving BerriAI/litellm to commit f2118fc7670b, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 83.7% of all lines, comments represent 6.6%, and the repository averages 219 code lines per file. Python accounts for 49.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 3169 | 1028457 | 861799 | 35316 | 131342 |
| TSX | 1632 | 352414 | 307680 | 5166 | 39568 |
| JSON | 94 | 295160 | 295148 | 0 | 12 |
| TypeScript | 736 | 180445 | 134685 | 34418 | 11342 |
| Rust | 620 | 100133 | 92061 | 146 | 7926 |
| Go | 105 | 24612 | 21553 | 434 | 2625 |
| YAML | 157 | 14422 | 11971 | 1801 | 650 |
| HCL | 39 | 6498 | 4793 | 769 | 936 |
| JavaScript | 197 | 4213 | 3947 | 27 | 239 |
| SVG | 327 | 2682 | 2623 | 26 | 33 |
| SQL | 232 | 3767 | 2377 | 803 | 587 |
| Shell | 24 | 3056 | 2336 | 419 | 301 |
Top language (Python 49.3%). Generated at .
BerriAI/litellm has 2,089,078 total lines, including 1,749,068 code lines, 138,825 comment lines, and 201,185 blank lines.
OctoCounts resolved the public GitHub repository to commit f2118fc7670b, 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 f2118fc7670b on 2026-10-22T06:09:59.094237281+00:00.
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 — 1,749,068 code lines across 12 languages, counted by tokei.