# flashinfer-ai/flashinfer SLOC report

> flashinfer-ai/flashinfer: 13,414,765 code lines at commit 15482962a1f6, counted with tokei-15.0.0 on 2026-11-08. Saved result 7e15d2155caeb9dd879cc2c696807719408d1efbfd4870943ed037956a957fa1.

flashinfer-ai/flashinfer has 13,414,765 source lines of code out of 14,464,833 total lines across 15,228 files, counted with tokei from the main ref at commit 15482962a1f6 on November 8, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving flashinfer-ai/flashinfer to commit 15482962a1f6, 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.7% of all lines, comments represent 3.4%, and the repository averages 881 code lines per file. CUDA accounts for 74.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| CUDA | 10,168 | 10,548,473 | 9,965,472 | 276,267 | 306,734 |
| Python | 4,139 | 3,277,886 | 2,895,271 | 158,176 | 224,439 |
| JSON | 117 | 435,601 | 435,595 | 0 | 6 |
| C Header | 376 | 102,462 | 67,029 | 21,176 | 14,257 |
| C++ Header | 66 | 31,670 | 23,251 | 4,226 | 4,193 |
| Shell | 70 | 13,190 | 9,777 | 2,119 | 1,294 |
| Autoconf | 28 | 5,264 | 4,919 | 48 | 297 |
| Lean | 20 | 5,389 | 3,738 | 950 | 701 |
| 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 | 537 | 372 | 144 | 21 |
| Bitbake | 3 | 168 | 159 | 2 | 7 |
| INI | 1 | 13 | 5 | 8 | 0 |
| YAML | 1 | 3 | 3 | 0 | 0 |
| Markdown | 127 | 31,395 | 0 | 27,448 | 3,947 |
| Plain Text | 26 | 2,049 | 0 | 1,895 | 154 |

Top language: CUDA 74.3%. Generated on November 8, 2026. Canonical report: https://octocounts.com/github/flashinfer-ai/flashinfer/commit/15482962a1f607944dc412f56523afadbbc72507?reportId=7e15d2155caeb9dd879cc2c696807719408d1efbfd4870943ed037956a957fa1&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/15482962a1f607944dc412f56523afadbbc72507?reportId=7e15d2155caeb9dd879cc2c696807719408d1efbfd4870943ed037956a957fa1&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 13,414,765 lines of code, plus 493,007 comment lines and 557,061 blank lines, for 14,464,833 total lines at commit 15482962a1f6 on November 8, 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 15482962a1f6, 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 15482962a1f6 on November 8, 2026.

## Similar repository reports

- [harry7557558/spirula-studio](https://octocounts.com/github/harry7557558/spirula-studio) — CUDA, 692,507 code lines
- [matyas-brabec/2025-icooolps-cellato](https://octocounts.com/github/matyas-brabec/2025-icooolps-cellato) — CUDA, 10,368 code lines
- [JetBrains/intellij-community](https://octocounts.com/github/JetBrains/intellij-community) — Java, 10,940,431 code lines
- [nodejs/node](https://octocounts.com/github/nodejs/node) — C Header, 10,576,844 code lines
- [gcc-mirror/gcc](https://octocounts.com/github/gcc-mirror/gcc) — C, 11,442,067 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)
