# flashinfer-ai/flashinfer SLOC report

> flashinfer-ai/flashinfer: 14,215,604 code lines at commit a2e3d1e7075e, counted with tokei-15.0.0 on 2026-11-16. Saved result 3f1e28856bd9bebf1238a7279a599a4f22861efbddcf3fa60d2e8425751cc639.

flashinfer-ai/flashinfer has 14,215,604 source lines of code out of 15,322,213 total lines across 16,183 files, counted with tokei from the main ref at commit a2e3d1e7075e on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving flashinfer-ai/flashinfer to commit a2e3d1e7075e, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

flashinfer-ai/flashinfer: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 92.8% of all lines, comments represent 3.4%, and the repository averages 878 code lines per file. CUDA accounts for 74.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| CUDA | 10,965 | 11,262,626 | 10,640,765 | 294,220 | 327,641 |
| Python | 4,260 | 3,398,003 | 3,002,542 | 164,164 | 231,297 |
| JSON | 118 | 448,384 | 448,378 | 0 | 6 |
| C Header | 378 | 102,590 | 67,118 | 21,206 | 14,266 |
| C++ Header | 66 | 31,670 | 23,251 | 4,226 | 4,193 |
| Shell | 72 | 13,575 | 10,053 | 2,197 | 1,325 |
| Lean | 46 | 11,429 | 8,827 | 1,437 | 1,165 |
| Autoconf | 28 | 5,300 | 4,953 | 48 | 299 |
| C | 9 | 3,621 | 3,428 | 83 | 110 |
| Jinja2 | 56 | 3,827 | 3,253 | 8 | 566 |
| C++ | 14 | 3,285 | 2,493 | 457 | 335 |
| TOML | 7 | 541 | 376 | 144 | 21 |
| Bitbake | 3 | 168 | 159 | 2 | 7 |
| INI | 1 | 13 | 5 | 8 | 0 |
| YAML | 1 | 3 | 3 | 0 | 0 |
| Markdown | 132 | 35,084 | 0 | 30,883 | 4,201 |
| Plain Text | 27 | 2,094 | 0 | 1,933 | 161 |

Top language: CUDA 74.9%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/flashinfer-ai/flashinfer/commit/a2e3d1e7075edf57c87248c63f206c3a3b87a185?reportId=3f1e28856bd9bebf1238a7279a599a4f22861efbddcf3fa60d2e8425751cc639&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/flashinfer-ai/flashinfer/commit/a2e3d1e7075edf57c87248c63f206c3a3b87a185?reportId=3f1e28856bd9bebf1238a7279a599a4f22861efbddcf3fa60d2e8425751cc639&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 flashinfer-ai/flashinfer have?

flashinfer-ai/flashinfer has 14,215,604 lines of code, plus 521,016 comment lines and 585,593 blank lines, for 15,322,213 total lines at commit a2e3d1e7075e on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the flashinfer-ai/flashinfer line count measured?

OctoCounts resolved the public GitHub repository to commit a2e3d1e7075e, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for flashinfer-ai/flashinfer?

This OctoCounts report was generated from main at commit a2e3d1e7075e on November 16, 2026.

## Similar repository reports

- [matyas-brabec/2025-icooolps-cellato](https://octocounts.com/github/matyas-brabec/2025-icooolps-cellato) — CUDA, 10,368 code lines
- [DeusData/codebase-memory-mcp](https://octocounts.com/github/DeusData/codebase-memory-mcp) — C, 14,326,096 code lines
- [avifenesh/memra](https://octocounts.com/github/avifenesh/memra) — JSON, 14,758,115 code lines
- [elastic/kibana](https://octocounts.com/github/elastic/kibana) — TypeScript, 13,546,903 code lines
- [ravynsoft/ravynos](https://octocounts.com/github/ravynsoft/ravynos) — C++, 12,835,604 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
