# openai/openai-cli SLOC report

> openai/openai-cli: 292,149 code lines at commit a74037654d66, counted with tokei-14.0.0 on 2026-10-22. Saved result c1bd806b32136a61845528c87c80fa51347fe546379fe034e9a602d24d20d106.

openai/openai-cli has 292,149 source lines of code out of 315,818 total lines across 1,216 files, counted from the main ref at commit a74037654d66 by the OctoCounts tokei engine on 2026-10-22. 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 openai/openai-cli to commit a74037654d66, 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 92.5% of all lines, comments represent 3.1%, and the repository averages 240 code lines per file. Go accounts for 53.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,007 | 172,214 | 156,975 | 5,782 | 9,457 |
| YAML | 1 | 108,900 | 107,720 | 17 | 1,163 |
| Python | 74 | 19,617 | 17,616 | 285 | 1,716 |
| Shell | 52 | 5,176 | 4,845 | 182 | 149 |
| JSON | 9 | 1,789 | 1,789 | 0 | 0 |
| BASH | 19 | 1,332 | 1,116 | 79 | 137 |
| Fish | 6 | 765 | 683 | 53 | 29 |
| JavaScript | 11 | 737 | 639 | 58 | 40 |
| Zsh | 6 | 673 | 587 | 50 | 36 |
| PowerShell | 2 | 213 | 179 | 26 | 8 |
| Markdown | 26 | 4,015 | 0 | 3,003 | 1,012 |
| Plain Text | 3 | 387 | 0 | 300 | 87 |

Top language (Go 53.7%). Generated at 2026-10-22T07:54:07.547922788Z. Canonical report: https://octocounts.com/github/openai/openai-cli/commit/a74037654d66266e566a7a34730c27f7e5e1419c?reportId=c1bd806b32136a61845528c87c80fa51347fe546379fe034e9a602d24d20d106&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/openai/openai-cli/commit/a74037654d66266e566a7a34730c27f7e5e1419c?reportId=c1bd806b32136a61845528c87c80fa51347fe546379fe034e9a602d24d20d106&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 openai/openai-cli have?

openai/openai-cli has 315,818 total lines, including 292,149 code lines, 9,835 comment lines, and 13,834 blank lines.

### How was the openai/openai-cli line count measured?

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

### What commit was counted for openai/openai-cli?

This OctoCounts report was generated from main at commit a74037654d66 on 2026-10-22T07:54:07.547922788Z.

## Similar repository reports

- [NVIDIA/NVSentinel](https://octocounts.com/github/NVIDIA/NVSentinel) — Go, 289,504 code lines
- [lalitadithya/NVSentinel](https://octocounts.com/github/lalitadithya/NVSentinel) — Go, 289,484 code lines
- [chaitin/agent-compose](https://octocounts.com/github/chaitin/agent-compose) — Go, 285,677 code lines
- [krahets/hello-algo](https://octocounts.com/github/krahets/hello-algo) — Go, 300,648 code lines
- [huanglizhuo/magpie](https://octocounts.com/github/huanglizhuo/magpie) — Go, 278,223 code lines
- [Sakayori-Iroha-168/Software_Teamwork](https://octocounts.com/github/Sakayori-Iroha-168/Software_Teamwork) — Go, 308,189 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
