# openai/openai-cli SLOC report

> openai/openai-cli: 439,824 code lines at commit 7758d0617bba, counted with tokei-15.0.0 on 2026-11-14. Saved result 74d045ff09a92ead3405490d587353ed3bbf15416c274eee96a7f99b3e08bb8b.

openai/openai-cli has 439,824 source lines of code out of 475,335 total lines across 1,950 files, counted with tokei from the main ref at commit 7758d0617bba on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving openai/openai-cli to commit 7758d0617bba, 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

openai/openai-cli: 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 large codebase by counted code lines. Code represents 92.5% of all lines, comments represent 2.9%, and the repository averages 226 code lines per file. Go accounts for 64.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,612 | 309,401 | 285,343 | 8,318 | 15,740 |
| YAML | 1 | 110,404 | 109,216 | 17 | 1,171 |
| Python | 135 | 31,761 | 28,478 | 462 | 2,821 |
| Shell | 85 | 7,747 | 7,252 | 298 | 197 |
| JSON | 10 | 2,504 | 2,504 | 0 | 0 |
| JavaScript | 16 | 2,142 | 1,975 | 69 | 98 |
| PowerShell | 8 | 2,012 | 1,917 | 74 | 21 |
| BASH | 21 | 1,748 | 1,510 | 100 | 138 |
| Zsh | 7 | 909 | 800 | 65 | 44 |
| Fish | 8 | 861 | 770 | 61 | 30 |
| HTML | 1 | 37 | 37 | 0 | 0 |
| Batch | 1 | 19 | 19 | 0 | 0 |
| CSS | 1 | 3 | 3 | 0 | 0 |
| Markdown | 41 | 5,361 | 0 | 3,948 | 1,413 |
| Plain Text | 3 | 426 | 0 | 329 | 97 |

Top language: Go 64.9%. Generated on November 14, 2026. Canonical report: https://octocounts.com/github/openai/openai-cli/commit/7758d0617bbabbc32c3921c796c73b95d2c02e36?reportId=74d045ff09a92ead3405490d587353ed3bbf15416c274eee96a7f99b3e08bb8b&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/7758d0617bbabbc32c3921c796c73b95d2c02e36?reportId=74d045ff09a92ead3405490d587353ed3bbf15416c274eee96a7f99b3e08bb8b&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 439,824 lines of code, plus 13,741 comment lines and 21,770 blank lines, for 475,335 total lines at commit 7758d0617bba on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 7758d0617bba, 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 7758d0617bba on November 14, 2026.

## Similar repository reports

- [trufflesecurity/trufflehog](https://octocounts.com/github/trufflesecurity/trufflehog) — Go, 438,952 code lines
- [lxc/incus](https://octocounts.com/github/lxc/incus) — Go, 447,069 code lines
- [0xJacky/nginx-ui](https://octocounts.com/github/0xJacky/nginx-ui) — Go, 452,290 code lines
- [Tencent/LoopForge](https://octocounts.com/github/Tencent/LoopForge) — Go, 452,618 code lines
- [gastownhall/gastown](https://octocounts.com/github/gastownhall/gastown) — Go, 421,107 code lines
- [ZenGeekLabs/DJOneHub](https://octocounts.com/github/ZenGeekLabs/DJOneHub) — Go, 459,492 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)
- [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)
