leookun/cursor-byok

cursor-byok is a local implementation of Cursor's backend

View on GitHub ↗Jump to charts ↓Open shareable report →

leookun/cursor-byok has 3k+ stars and 500+ forks on GitHub, is written in Rust, and was last pushed on Oct 12, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on September 22nd, 2026
Created on April 12th, 2026
Open Issues & Pull Requests: 160 (+0)
GitHub issues: Enabled
Number of forks: 526
Total Stargazers: 3,233 (+1)
Total Subscribers: 12 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.0 hours
Mean response time: 4.5 days
90th percentile: 9.0 days
Tracked items: 289

How this project is maintained

About 15% of issues opened in the past year have never received a reply. 84% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 24% of tracked open issues have had no activity in three months. 69% of issues opened in the past year have been closed, leaving a working backlog. Three people close 87% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 106
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 46 days
Stale 30+ days: 79
Stale 90+ days: 24

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 2
Events in 7 days: 6

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

cursor-byok is a local model gateway that lets you connect Cursor to custom model APIs you configure and manage.

The tool solves the problem of being locked into Cursor's built-in model options by running a local service that intercepts Cursor's requests and routes them through your own API endpoints. It supports OpenAI- and Anthropic-compatible services, allowing you to specify custom endpoints, model IDs, API keys, and request parameters. The gateway preserves Cursor's agent capabilities including tool calling, Skills, and MCP support, handling protocol adaptation and conversation state management on your machine while API keys remain stored locally.

You should adopt this tool if you want to use alternative model providers with Cursor beyond what the platform natively supports, or if you need fine-grained control over model configuration and request parameters. It suits projects where you have access to specific model APIs through your own accounts or organizational arrangements. The tool is cross-platform, running on macOS, Windows, and Linux. The README emphasizes that cursor-byok is independent and not affiliated with Cursor, and that while the tool itself is free and open source, the model APIs you connect may charge for usage.

The project shows active development with regular updates to support new features and maintain compatibility. The maintainers provide comprehensive documentation including a user guide and Chinese-language documentation. The tool includes a dashboard for model management, connection benchmarking to measure performance metrics like time to first token and generation speed, and session tracking for token usage and cache hit rates. The codebase is written in Rust and distributed as prebuilt binaries for multiple platforms, reducing setup friction for end users.