[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115561":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":27,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":31,"discoverSource":32},115561,"cursor-byok","hainuoli\u002Fcursor-byok","hainuoli","cursor-byok is a local implementation of Cursor's backend","",null,"Rust",67,25,55,5,0,2,9,6,53.64,"MIT License",false,"main",[25,26],"cursor","cursor-cli","2026-11-23 01:15:35","2026-11-23 10:25:38","\u003Cdiv align=\"center\">\n\n# cursor-byok\n\nBring your own model APIs to Cursor.\n\n[Download](https:\u002F\u002Fgithub.com\u002Fleehainuo\u002Fcursor-byok\u002Freleases) · [Report an Issue](https:\u002F\u002Fgithub.com\u002Fleehainuo\u002Fcursor-byok\u002Fissues) · [中文说明](.\u002FREADME-CN.md)\n\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fleehainuo\u002Fcursor-byok?style=flat-square)](https:\u002F\u002Fgithub.com\u002Fleehainuo\u002Fcursor-byok\u002Freleases)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue?style=flat-square)](.\u002FLICENSE)\n![Platforms](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-macOS%20%7C%20Windows%20%7C%20Linux-lightgrey?style=flat-square)\n\n\u003C\u002Fdiv>\n\n![Connect cursor-byok to a wide range of model APIs](.\u002Fimages\u002Fen-brand-1.png)\n\n![cursor-byok dashboard](.\u002Fimages\u002Fen-home-1.png)\n\n## About\n\ncursor-byok is an open-source local model gateway for Cursor. Connect your own OpenAI- and Anthropic-compatible APIs while keeping Agent capabilities such as tool calling, Skills, MCP, and multi-turn conversations.\n\n## Features\n\n- **Your own models:** Configure API endpoints, keys, model IDs, and request parameters.\n- **Model management:** Add, edit, reorder, and batch-test model configurations.\n- **Connection benchmarks:** Measure response latency and generation speed.\n- **Session metrics:** Track token usage, cache hits, and conversation activity.\n- **Cross-platform:** Available for macOS, Windows, and Linux.\n\n![cursor-byok model settings](.\u002Fimages\u002Fen-model-1.png)\n\n## How It Works\n\n```text\nCursor client\n    │\n    │ Agent requests and tool results\n    ▼\ncursor-byok local service\n    │\n    │ OpenAI- \u002F Anthropic-compatible requests\n    ▼\nYour model API\n```\n\ncursor-byok handles protocol adaptation, model request forwarding, tool-call coordination, and conversation state on your machine. API keys and application settings are stored locally; requests are still sent to the model provider you configure.\n\n## Why This Project\n\nMany Agent products bundle their tool capabilities with a fixed set of models, subscriptions, and billing options, leaving users limited to the channels offered by the platform.\n\ncursor-byok is built to return model choice to the user. Developers can make full use of the APIs and credits they already have, choose the models and providers that fit their needs, and self-host related services when required.\n\n## Acknowledgements\n\nBased on [leookun\u002Fcursor-byok](https:\u002F\u002Fgithub.com\u002Fleookun\u002Fcursor-byok), independently maintained by [leehainuo](https:\u002F\u002Fgithub.com\u002Fleehainuo). Thanks to the original author and all contributors.\n\nReleased under the [MIT License](.\u002FLICENSE). Upstream copyright and license notices are preserved in [Third-Party Licenses](.\u002FTHIRD-PARTY-LICENSES.md).\n","cursor-byok 是一个本地运行的开源模型网关，用于将 Cursor 编辑器连接至用户自选的大语言模型 API。它支持 OpenAI 和 Anthropic 兼容接口，提供模型配置管理、工具调用协调、多轮对话状态维护及会话指标监控等核心功能，所有配置与密钥均本地存储。项目采用 Rust 实现，跨平台支持 macOS、Windows 和 Linux，适用于希望自主选择模型提供商、复用现有 API 配额、或需在本地环境集成私有\u002F合规模型服务的开发者场景。","2026-11-24 04:51:21","CREATED_QUERY"]