BerriAI/litellm

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Python3169102845786179935316131342
TSX1632352414307680516639568
JSON94295160295148012
TypeScript7361804451346853441811342
Rust620100133920611467926
Go10524612215534342625
YAML15714422119711801650
HCL3964984793769936
JavaScript1974213394727239
SVG327268226232633
SQL23237672377803587
Shell2430562336419301

Top language (Python 49.3%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does BerriAI/litellm have?

BerriAI/litellm has 2,089,078 total lines, including 1,749,068 code lines, 138,825 comment lines, and 201,185 blank lines.

How was the BerriAI/litellm line count measured?

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.

What commit was counted for BerriAI/litellm?

This OctoCounts report was generated from main at commit f2118fc7670b on 2026-10-22T06:09:59.094237281+00:00.

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 — 1,749,068 code lines across 12 languages, counted by tokei.