Home/Compare/repobench vs code2prompt

Comparison

repobench vs code2prompt

Verdict

Pick repobench when repobench is primarily Python; code2prompt is Rust; pick code2prompt when code2prompt is primarily Rust; repobench is Python.

Markdown twin · repobench alternatives · code2prompt alternatives

GraphCanon updated Oct 8, 2026

repobench logo

repobench

Leolty/repobench

★ 213pushed Aug 16, 2024
vs
code2prompt logo

code2prompt

mufeedvh/code2prompt

★ 7.7kpushed Sep 18, 2026

Trust & integrity

Signalrepobenchcode2prompt
Maintenance
Dormant (782d since push)
As of Oct 8, 2026 · github_public_v1
Very active (1d since push)
As of Sep 20, 2026 · github_public_v1
Provenance
Not a fork · Personal account
As of Oct 8, 2026 · github_public_v1
Not a fork · Personal account
As of Sep 20, 2026 · github_public_v1
OSV dependency advisories
No published findings from this source as of 2026-07-11
As of Jul 11, 2026 · osv@v1
No lockfile (source not queried)
As of Jul 11, 2026 · osv@v1
deps.dev advisories
Not queried
deps.dev@v1
Not queried
deps.dev@v1
OpenSSF Scorecard
Not queried
openssf-scorecard@v1
Not queried
openssf-scorecard@v1

Tagline

repobench
Benchmarking Repository-Level Code Auto-Completion Systems
code2prompt
CLI tool to convert codebase into LLM prompt

Stars

repobench
213
code2prompt
7.7k

Forks

repobench
13
code2prompt
446

Open issues

repobench
12
code2prompt
16

Language

repobench
Python
code2prompt
Rust

Adopt for

repobench
RepoBench assesses repository-level code auto-completion systems, offering benchmarks crucial for researchers and developers working on similar systems.
code2prompt
-

Persona

repobench
-
code2prompt
-

Runtime

repobench
-
code2prompt
-

License

repobench
CC-BY-4.0
code2prompt
MIT

Last pushed

repobench
Aug 16, 2024
code2prompt
Sep 18, 2026

Categories

repobench
Developer Tools
code2prompt
Developer Tools, LLM Frameworks

Trust and health

Maintenance

repobench
Dormant (18%)
code2prompt
Very active (96%)

Days since push

repobench
782d
code2prompt
1d

Open issues (now)

repobench
12
code2prompt
16

Stars delta

repobench
+1 (30d)
code2prompt
+169 (30d)

Open issues delta

repobench
0 (30d)
code2prompt
-4 (30d)

OSV dependency advisories

repobench
No published findings from this source as of 2026-07-11
code2prompt
No lockfile (source not queried)

Full report

repobench
Trust report
code2prompt
Trust report

Choose repobench if…

  • repobench is primarily Python; code2prompt is Rust.
  • License: repobench is CC-BY-4.0, code2prompt is MIT.
  • Tags unique to repobench: benchmarking, code-completion, iclr 2024.
  • Use RepoBench if you are evaluating the performance of your own repository-level code completion system against established benchmarks.

When NOT to use repobench

  • Do not use RepoBench if your focus is on line-level or function-level code completions as opposed to repository-wide assessments.
  • Avoid RepoBench in scenarios where you require real-time analytics rather than benchmarking against static datasets and predefined criteria.

Choose code2prompt if…

  • code2prompt is primarily Rust; repobench is Python.
  • License: code2prompt is MIT, repobench is CC-BY-4.0.
  • code2prompt operates as a self-hosted CLI tool, allowing for local data processing that is important for users with confidentiality requirements or those who wish to avoid cloud dependency.
  • Pricing: The code2prompt tool is available under MIT license free of monetary charge. However, premium support or advanced features might incur costs if provided by the development team in future updates..
  • Tags unique to code2prompt: ai, chatgpt, claude, cli.
  • Also covers LLM Frameworks.
  • When you aim to structure and deliver your entire codebase into an LLM for comprehensive documentation or refactoring guidance.

When NOT to use code2prompt

  • In situations requiring real-time interaction or analysis of codebases due to the static nature of its prompt generation process, as this might not cater to agile or evolving project requirements.
  • If you are in need of a tool beyond simple CLI operation and desire an integrated development environment (IDE) plugin for more interactive and continuous assistance.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: repobench 213 · code2prompt 7.7k (synced Oct 8, 2026).

Common questions

What is the difference between repobench and code2prompt?
repobench: Benchmarking Repository-Level Code Auto-Completion Systems. code2prompt: CLI tool to convert codebase into LLM prompt. See the comparison table for live GitHub stats and shared categories.
When should I choose repobench over code2prompt?
Choose repobench over code2prompt when repobench is primarily Python; code2prompt is Rust; License: repobench is CC-BY-4.0, code2prompt is MIT; Tags unique to repobench: benchmarking, code-completion, iclr 2024; Use RepoBench if you are evaluating the performance of your own repository-level code completion system against established benchmarks.
When should I choose code2prompt over repobench?
Choose code2prompt over repobench when code2prompt is primarily Rust; repobench is Python; License: code2prompt is MIT, repobench is CC-BY-4.0; code2prompt operates as a self-hosted CLI tool, allowing for local data processing that is important for users with confidentiality requirements or those who wish to avoid cloud dependency; Pricing: The code2prompt tool is available under MIT license free of monetary charge. However, premium support or advanced features might incur costs if provided by the development team in future updates.; Tags unique to code2prompt: ai, chatgpt, claude, cli; Also covers LLM Frameworks; When you aim to structure and deliver your entire codebase into an LLM for comprehensive documentation or refactoring guidance.
When should I avoid repobench?
Do not use RepoBench if your focus is on line-level or function-level code completions as opposed to repository-wide assessments. Avoid RepoBench in scenarios where you require real-time analytics rather than benchmarking against static datasets and predefined criteria.
When should I avoid code2prompt?
In situations requiring real-time interaction or analysis of codebases due to the static nature of its prompt generation process, as this might not cater to agile or evolving project requirements. If you are in need of a tool beyond simple CLI operation and desire an integrated development environment (IDE) plugin for more interactive and continuous assistance.
Is repobench or code2prompt more popular on GitHub?
code2prompt has more GitHub stars (7,678 vs 213). Stars measure visibility, not whether either tool fits your constraints.
Are repobench and code2prompt open source?
Yes - both are open-source projects on GitHub (repobench: CC-BY-4.0, code2prompt: MIT).
Where can I find alternatives to repobench or code2prompt?
GraphCanon lists graph-backed alternatives at repobench alternatives and code2prompt alternatives (repobench markdown twin, code2prompt markdown twin), ranked by typed relationship edges rather than popularity votes.
Is there a machine-readable version of this comparison?
Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
Which is better maintained, repobench or code2prompt?
repobench: Dormant. code2prompt: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
Where are the full trust reports for repobench and code2prompt?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: repobench trust report; code2prompt trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.