QuantumNous/new-api SLOC report
As of 2026-08-17 (commit e2c7aa7b102c), QuantumNous/new-api contains 404,874 total lines: 337,085 code, 35,140 comments, 32,649 blank, across 1,898 files in 16 languages (top: Go 39.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving QuantumNous/new-api to commit e2c7aa7b102c, 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 large codebase by counted code lines. Code represents 83.3% of all lines, comments represent 8.7%, and the repository averages 178 code lines per file. Go accounts for 39.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Go | 786 | 156105 | 132285 | 6721 | 17099 |
| TSX | 674 | 145416 | 121515 | 14275 | 9626 |
| JSON | 51 | 45145 | 45140 | 0 | 5 |
| TypeScript | 346 | 49783 | 34618 | 10761 | 4404 |
| CSS | 3 | 1687 | 1326 | 222 | 139 |
| JavaScript | 6 | 1442 | 1147 | 116 | 179 |
| YAML | 6 | 1071 | 816 | 166 | 89 |
| Shell | 2 | 82 | 66 | 2 | 14 |
| Makefile | 1 | 73 | 61 | 1 | 11 |
| Dockerfile | 1 | 41 | 30 | 2 | 9 |
| Lua | 1 | 44 | 25 | 12 | 7 |
| SQL | 2 | 23 | 23 | 0 | 0 |
Top language (Go 39.2%). Generated at 2026-08-17T01:51:50.416627886+00:00.
Report FAQ
How many lines of code does QuantumNous/new-api have?
QuantumNous/new-api has 404,874 total lines, including 337,085 code lines, 35,140 comment lines, and 32,649 blank lines.
How was the QuantumNous/new-api line count measured?
OctoCounts resolved the public GitHub repository to commit e2c7aa7b102c, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for QuantumNous/new-api?
This OctoCounts report was generated from main at commit e2c7aa7b102c on 2026-08-17T01:51:50.416627886+00:00.