# BerriAI/litellm SLOC report

> BerriAI/litellm: 1,676,093 code lines at commit 2f3ccbe7c77d, counted with tokei-14.0.0 on 2026-10-14. Saved result 65bf9a7c0fe86c0154aae84691666b6a6b0327a9c0f7fc8914db62535d6c06a8.

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.

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.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 3,071 | 971,622 | 813,411 | 35,700 | 122,511 |
| TSX | 1,594 | 341,977 | 298,224 | 5,185 | 38,568 |
| JSON | 94 | 286,402 | 286,390 | 0 | 12 |
| TypeScript | 714 | 175,792 | 131,113 | 33,781 | 10,898 |
| Rust | 623 | 101,590 | 93,416 | 176 | 7,998 |
| Go | 104 | 22,853 | 19,925 | 426 | 2,502 |
| YAML | 157 | 14,294 | 11,869 | 1,775 | 650 |
| HCL | 39 | 6,460 | 4,756 | 775 | 929 |
| JavaScript | 187 | 3,648 | 3,479 | 27 | 142 |
| SQL | 227 | 3,730 | 2,349 | 800 | 581 |
| SVG | 281 | 2,331 | 2,279 | 25 | 27 |
| TOML | 79 | 2,671 | 2,247 | 224 | 200 |
| Shell | 23 | 2,469 | 1,840 | 371 | 258 |
| Jupyter Notebooks | 41 | 2,639 | 1,709 | 524 | 406 |
| Pan | 2 | 1,040 | 995 | 6 | 39 |
| PowerShell | 3 | 857 | 667 | 130 | 60 |
| CSS | 6 | 585 | 520 | 22 | 43 |
| Dockerfile | 8 | 667 | 409 | 123 | 135 |
| Makefile | 2 | 392 | 261 | 62 | 69 |
| HTML | 54 | 240 | 217 | 0 | 23 |
| Ruby | 1 | 33 | 17 | 12 | 4 |
| Markdown | 201 | 14,387 | 0 | 10,205 | 4,182 |
| Plain Text | 214 | 47,226 | 0 | 46,866 | 360 |

Top language (Python 48.5%). Generated at 2026-10-14T12:51:13.289798195Z. Canonical report: https://octocounts.com/github/BerriAI/litellm/commit/2f3ccbe7c77df16c5afdf38031d23c32a53a4c09?reportId=65bf9a7c0fe86c0154aae84691666b6a6b0327a9c0f7fc8914db62535d6c06a8&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/BerriAI/litellm/commit/2f3ccbe7c77df16c5afdf38031d23c32a53a4c09?reportId=65bf9a7c0fe86c0154aae84691666b6a6b0327a9c0f7fc8914db62535d6c06a8&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## 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.289798195Z.

## Similar repository reports

- [sgl-project/sglang](https://octocounts.com/github/sgl-project/sglang) — Python, 1,740,273 code lines
- [home-assistant/core](https://octocounts.com/github/home-assistant/core) — Python, 1,655,962 code lines
- [NousResearch/hermes-agent](https://octocounts.com/github/NousResearch/hermes-agent) — Python, 1,928,554 code lines
- [vllm-project/vllm](https://octocounts.com/github/vllm-project/vllm) — Python, 1,420,031 code lines
- [unslothai/unsloth](https://octocounts.com/github/unslothai/unsloth) — Python, 1,406,112 code lines
- [houmo-ai/postmo-quantflow](https://octocounts.com/github/houmo-ai/postmo-quantflow) — Python, 1,321,386 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
