BerriAI/litellm

BerriAI/litellm has 1,676,093 source lines of code out of 2,003,905 total lines across 7,725 files, counted from the main ref at commit 2f3ccbe7c77d by the OctoCounts tokei engine on 2026-10-14. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

As of 2026-10-14 (commit 2f3ccbe7c77d), BerriAI/litellm contains 2,003,905 total lines: 1,676,093 code, 137,215 comments, 190,597 blank, across 7,725 files in 23 languages (top: Python 48.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-14 (commit 2f3ccbe7c77d), BerriAI/litellm contains 2,003,905 total lines: 1,676,093 code, 137,215 comments, 190,597 blank, across 7,725 files in 23 languages (top: Python 48.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving BerriAI/litellm to commit 2f3ccbe7c77d, 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.6% of all lines, comments represent 6.8%, and the repository averages 217 code lines per file. Python accounts for 48.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python307197162281341135700122511
TSX1594341977298224518538568
JSON94286402286390012
TypeScript7141757921311133378110898
Rust623101590934161767998
Go10422853199254262502
YAML15714294118691775650
HCL3964604756775929
JavaScript1873648347927142
SQL22737302349800581
SVG281233122792527
TOML7926712247224200

Top language (Python 48.5%). 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,003,905 total lines, including 1,676,093 code lines, 137,215 comment lines, and 190,597 blank lines.

How was the BerriAI/litellm line count measured?

OctoCounts resolved the public GitHub repository to commit 2f3ccbe7c77d, 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 2f3ccbe7c77d on 2026-10-14T12:51:13.289798195+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,676,093 code lines across 12 languages, counted by tokei.