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.
BerriAI/litellm: 1,749,068 code lines at commit f2118fc7670b, counted with tokei-14.0.0 on 2026-10-22. Saved result e87523caf835863d9f4c2b6ab6c615e812d14473324fd9b12ac3953002b0c46c.
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 |
| TOML | 79 | 2703 | 2276 | 225 | 202 |
| Jupyter Notebooks | 41 | 2639 | 1709 | 524 | 406 |
| PowerShell | 3 | 1536 | 1246 | 187 | 103 |
| Pan | 2 | 1223 | 1194 | 6 | 23 |
| CSS | 8 | 785 | 696 | 22 | 67 |
| Dockerfile | 8 | 759 | 470 | 129 | 160 |
| Makefile | 2 | 392 | 261 | 62 | 69 |
| HTML | 60 | 249 | 226 | 0 | 23 |
| Ruby | 1 | 33 | 17 | 12 | 4 |
| Markdown | 203 | 14511 | 0 | 10304 | 4207 |
| Plain Text | 238 | 48389 | 0 | 48029 | 360 |
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.094237281Z.
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 23 languages, counted by tokei.