QuantumNous/new-api has 551,875 source lines of code out of 644,718 total lines across 2,520 files, counted with tokei from the main ref at commit f36c460f0e86 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit f36c460f0e86), QuantumNous/new-api contains 644,718 total lines: 551,875 code, 49,957 comments, 42,886 blank, across 2,520 files in 16 languages (top language: Go 49.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving QuantumNous/new-api to commit f36c460f0e86, 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.
This is a large codebase by counted code lines. Code represents 85.6% of all lines, comments represent 7.7%, and the repository averages 219 code lines per file. Go accounts for 49.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 1132 | 311771 | 271785 | 14474 | 25512 |
| TSX | 824 | 179582 | 151995 | 17397 | 10190 |
| JSON | 40 | 62732 | 62727 | 0 | 5 |
| TypeScript | 455 | 71460 | 52326 | 13794 | 5340 |
| JavaScript | 24 | 12213 | 10910 | 807 | 496 |
| CSS | 4 | 1880 | 1475 | 242 | 163 |
| YAML | 6 | 514 | 381 | 104 | 29 |
| Shell | 2 | 82 | 66 | 2 | 14 |
| Makefile | 1 | 75 | 63 | 1 | 11 |
| SVG | 9 | 44 | 44 | 0 | 0 |
| Dockerfile | 1 | 42 | 31 | 2 | 9 |
| Lua | 1 | 44 | 25 | 12 | 7 |
Top language: Go 49.2%. Generated on .
QuantumNous/new-api: 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.
QuantumNous/new-api has 551,875 lines of code, plus 49,957 comment lines and 42,886 blank lines, for 644,718 total lines at commit f36c460f0e86 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit f36c460f0e86, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit f36c460f0e86 on November 16, 2026.
Play the growth animation for QuantumNous/new-api on this page — 551,875 code lines across 16 languages, counted by tokei.