Cursor 接入 / Cursor API gateway
Cursor 怎么接入 Routin?用 OpenAI 兼容 API 跑 Cursor
Use Cursor with Routin: OpenAI-compatible Cursor API setup
把 Cursor 的自定义模型指向 Routin 的 OpenAI 兼容网关,即可用 GPT、Claude、Gemini、DeepSeek 等目录模型写代码,并按 token 计费。
Point Cursor at Routin’s OpenAI-compatible gateway to use GPT, Claude, Gemini, DeepSeek and other catalog models, with token billing and usage analytics.
接入要点 / Setup facts
- 协议 / Protocol: OpenAI-compatible /v1
- Base URL:
https://api.routin.ai/v1 - Cursor 走 OpenAI 兼容协议。Base URL 填 https://api.routin.ai/v1,不要用 Anthropic 根地址。 / Cursor uses the OpenAI-compatible protocol. Set the base URL to https://api.routin.ai/v1, not the Anthropic root.
- API Key 用 Routin 控制台创建的密钥;模型名必须和公开目录里的 id 一致。 / Use a Routin API key. The model id must match a name in the public catalog.
- Cursor 用量会出现在 /agents 与排行榜的 Coding Agent 统计里(验证流量)。 / Verified Cursor traffic shows up on /agents and the coding-agent rankings.