Configure Cursor to use LLM Router as your AI coding assistant with intelligent routing, Skills, Zero Data Retention, and cost optimization.
Documentation Index
Fetch the complete documentation index at:
https://docs.llmrouter.app/llms.txtUse this file to discover all available models, tags, and features.
Cursor Integration
You can easily connect Cursor to LLM Router using the OpenAI-compatible API. This gives you access to intelligent routing, Skills, context optimization, Zero Data Retention, and more — all powered by your configured settings.
Note: Custom provider configuration is only supported in Cursor Pro
and higher versions.
1. Install Cursor
Download and install the latest version of Cursor from the official website.
2. Add LLM Router as a Custom Model
Open Cursor and navigate to Settings → Models.
Click Add Custom Model (or Add OpenAI API Key).
Configure the following:
Protocol: Select OpenAI
OpenAI API Key: Paste your LLM Router API key (sk_llmr_...)
Override OpenAI Base URL: Set it to
https://api.llmrouter.app/v1
Model Name: Enter any supported model, for example:
anthropic/claude-opus-4.6
openai/gpt-5.4
google/gemini-3.1-pro
xai/grok-4.20
3. Configure Routing Settings via Dashboard (Recommended)
Routing behavior, tags, Skills, Zero Data Retention (ZDR), and other preferences are configured in the LLM Router Dashboard.
Log into your LLM Router Dashboard.
Go to your API keys section.
Set default routing rules, assign tags (e.g. coding, ui design, testing, copywriting), enable Skills, turn on ZDR, and define other optimizations.
These settings will automatically apply to all requests made with that API key when using Cursor.
This centralized approach ensures consistent behavior across all your tools and applications without needing to modify requests manually.
4. Save and Start Coding
After saving the model in Cursor, select your new LLM Router provider.You’re now ready to code with the full power of LLM Router:
google/gemini-3.1-pro — Great for multimodal and long-context tasks
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LLM Router","description":"Comprehensive documentation for Saasio, the intelligent AI gateway. Reduce API costs and latency with smart prompt routing, context compression, and seamless model fallbacks.","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/llmrouter/fmzcB0C0hZ8TxqoJ/logo/llmr-light.svg?fit=max\u0026auto=format\u0026n=fmzcB0C0hZ8TxqoJ\u0026q=85\u0026s=97bc60d4ed101a355191a7baaebd8a1c","dark":"https://mintcdn.com/llmrouter/fmzcB0C0hZ8TxqoJ/logo/llmr-dark.svg?fit=max\u0026auto=format\u0026n=fmzcB0C0hZ8TxqoJ\u0026q=85\u0026s=340765a1ce35e8f74a12232225eb42f7"},"favicon":"https://mintcdn.com/llmrouter/DRv49vI19q9DHhUZ/favicon.ico?fit=max\u0026auto=format\u0026n=DRv49vI19q9DHhUZ\u0026q=85\u0026s=eba667155b546fa4c1e9f7876cd7e7ad","navbar":{"links":[{"href":"mailto:contact@llmrouter.app","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://llmrouter.app/dashboard"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"llms.txt","icon":"book-open-cover","href":"https://docs.llmrouter.app/llms.txt"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"llmrouter","hasAudioNarration":false,"actualSubdomain":"llmrouter","customDomains":["docs.llmrouter.app"],"gitSource":{"type":"github","owner":"ussef083","repo":"llm-router","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94af2d5a6abdcaff3bbca:success","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Guides","count":31},{"language":"default","tag":"AI tools","count":18},{"language":"default","tag":"API reference","count":9},{"language":"default","tag":"Getting started","count":9},{"language":"default","tag":"SDKs","count":4},{"language":"default","tag":"Chat","count":2},{"language":"default","tag":"Models","count":2},{"language":"default","tag":"API documentation","count":1},{"language":"default","tag":"Blog","count":1},{"language":"default","tag":"Embeddings","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"ai-tools/cursor","slug":"/ai-tools/cursor","pageMetadata":{"title":"Cursor","description":"Configure Cursor to use LLM Router as your AI coding assistant with intelligent routing, Skills, Zero Data Retention, and cost optimization.","href":"/ai-tools/cursor"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure Cursor to use LLM Router as your AI coding assistant with intelligent routing, Skills, Zero Data Retention, and cost optimization.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`documentation-index`,children:`Documentation Index`}),`\n`,_jsxs(_components.p,{children:[`Fetch the complete documentation index at:\n`,_jsx(_components.strong,{children:_jsx(_components.a,{href:`https://docs.llmrouter.app/llms.txt`,children:`https://docs.llmrouter.app/llms.txt`})})]}),`\n`,_jsx(_components.p,{children:`Use this file to discover all available models, tags, and features.`}),`\n`,_jsx(Heading,{level:`1`,id:`cursor-integration`,children:`Cursor Integration`}),`\n`,_jsxs(_components.p,{children:[`You can easily connect `,_jsx(_components.strong,{children:`Cursor`}),` to `,_jsx(_components.strong,{children:`LLM Router`}),` using the OpenAI-compatible API. This gives you access to intelligent routing, Skills, context optimization, Zero Data Retention, and more — all powered by your configured settings.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` Custom provider configuration is only supported in `,_jsx(_components.strong,{children:`Cursor Pro`}),`\nand higher versions.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`1-install-cursor`,children:`1. Install Cursor`}),`\n`,_jsx(_components.p,{children:`Download and install the latest version of Cursor from the official website.`}),`\n`,_jsx(Heading,{level:`3`,id:`2-add-llm-router-as-a-custom-model`,children:`2. Add LLM Router as a Custom Model`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open Cursor and navigate to `,_jsx(_components.strong,{children:`Settings → Models`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Add Custom Model`}),` (or `,_jsx(_components.strong,{children:`Add OpenAI API Key`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Configure the following:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Protocol`}),`: Select `,_jsx(_components.strong,{children:`OpenAI`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`OpenAI API Key`}),`: Paste your LLM Router API key (`,_jsx(_components.code,{children:`sk_llmr_...`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Override OpenAI Base URL`}),`: Set it to\n`,_jsx(_components.code,{children:`https://api.llmrouter.app/v1`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Model Name`}),`: Enter any supported model, for example:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`anthropic/claude-opus-4.6`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`openai/gpt-5.4`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`google/gemini-3.1-pro`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`xai/grok-4.20`})}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-configure-routing-settings-via-dashboard-recommended`,children:`3. Configure Routing Settings via Dashboard (Recommended)`}),`\n`,_jsxs(_components.p,{children:[`Routing behavior, tags, Skills, Zero Data Retention (ZDR), and other preferences are configured in the `,_jsx(_components.strong,{children:`LLM Router Dashboard`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Log into your LLM Router Dashboard.`}),`\n`,_jsx(_components.li,{children:`Go to your API keys section.`}),`\n`,_jsxs(_components.li,{children:[`Set default routing rules, assign tags (e.g. `,_jsx(_components.code,{children:`coding`}),`, `,_jsx(_components.code,{children:`ui design`}),`, `,_jsx(_components.code,{children:`testing`}),`, `,_jsx(_components.code,{children:`copywriting`}),`), enable Skills, turn on ZDR, and define other optimizations.`]}),`\n`,_jsx(_components.li,{children:`These settings will automatically apply to all requests made with that API key when using Cursor.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`This centralized approach ensures consistent behavior across all your tools and applications without needing to modify requests manually.`}),`\n`,_jsx(Heading,{level:`3`,id:`4-save-and-start-coding`,children:`4. Save and Start Coding`}),`\n`,_jsxs(_components.p,{children:[`After saving the model in Cursor, select your new `,_jsx(_components.strong,{children:`LLM Router`}),` provider.`]}),`\n`,_jsx(_components.p,{children:`You’re now ready to code with the full power of LLM Router:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Intelligent tag-based model routing`}),`\n`,_jsxs(_components.li,{children:[`Automatic relevant Skill injection (`,_jsx(_components.code,{children:`enableAutoSearch`}),`)`]}),`\n`,_jsx(_components.li,{children:`Aggressive context pruning and optimization`}),`\n`,_jsx(_components.li,{children:`Zero Data Retention for sensitive work`}),`\n`,_jsx(_components.li,{children:`Significant cost savings`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`recommended-models`,children:`Recommended Models`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`anthropic/claude-opus-4.6`}),` — Best for complex reasoning and high-quality code`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`anthropic/claude-sonnet-4.6`}),` — Excellent speed/quality balance`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`openai/gpt-5.4`}),` — Strong general-purpose performance`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`google/gemini-3.1-pro`}),` — Great for multimodal and long-context tasks`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Cursor","description":"Configure Cursor to use LLM Router as your AI coding assistant with intelligent routing, Skills, Zero Data Retention, and cost optimization.","href":"/ai-tools/cursor"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Documentation Index","slug":"documentation-index","depth":2,"children":[]},{"title":"Cursor Integration","slug":"cursor-integration","depth":1,"children":[{"title":"1. Install Cursor","slug":"1-install-cursor","depth":3,"children":[]},{"title":"2. Add LLM Router as a Custom Model","slug":"2-add-llm-router-as-a-custom-model","depth":3,"children":[]},{"title":"3. Configure Routing Settings via Dashboard (Recommended)","slug":"3-configure-routing-settings-via-dashboard-recommended","depth":3,"children":[]},{"title":"4. Save and Start Coding","slug":"4-save-and-start-coding","depth":3,"children":[]},{"title":"Recommended Models","slug":"recommended-models","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"llmrouter","siteName":"LLM Router","title":"Cursor - LLM Router","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-29T22:08:53.496Z","originalFileLocation":"ai-tools/cursor.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure Cursor to use LLM Router as your AI coding assistant with intelligent routing, Skills, Zero Data Retention, and cost optimization.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LLM Router\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cursor - LLM Router\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure Cursor to use LLM Router as your AI coding assistant with intelligent routing, Skills, Zero Data Retention, and cost optimization.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LLM Router\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.llmrouter.app/ai-tools/cursor\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://llmrouter.mintlify.site/_mintlify/api/og/v2?division=AI+tools\u0026amp;title=Cursor\u0026amp;description=Configure+Cursor+to+use+LLM+Router+as+your+AI+coding+assistant+with+intelligent+routing%2C+Skills%2C+Zero+Data+Retention%2C+and+cost+optimization.\u0026amp;theme=a478849910e652ec7906a8ef\u0026amp;signature=018a9806057e43ee2d770bc98596d4af4aa4bca75ab50167dd0f4b8171569020\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Cursor - LLM Router\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure Cursor to use LLM Router as your AI coding assistant with intelligent routing, Skills, Zero Data Retention, and cost optimization.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://llmrouter.mintlify.site/_mintlify/api/og/v2?division=AI+tools\u0026amp;title=Cursor\u0026amp;description=Configure+Cursor+to+use+LLM+Router+as+your+AI+coding+assistant+with+intelligent+routing%2C+Skills%2C+Zero+Data+Retention%2C+and+cost+optimization.\u0026amp;theme=a478849910e652ec7906a8ef\u0026amp;signature=018a9806057e43ee2d770bc98596d4af4aa4bca75ab50167dd0f4b8171569020\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/llmrouter/iLFkswXm1WfMhY20/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LLM Router\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.llmrouter.app/ai-tools/cursor\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ai-tools/cursor.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.llmrouter.app/#organization\",\"name\":\"LLM Router\",\"url\":\"https://docs.llmrouter.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/llmrouter/fmzcB0C0hZ8TxqoJ/logo/llmr-light.svg?fit=max\u0026auto=format\u0026n=fmzcB0C0hZ8TxqoJ\u0026q=85\u0026s=97bc60d4ed101a355191a7baaebd8a1c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.llmrouter.app#website\",\"name\":\"LLM Router\",\"url\":\"https://docs.llmrouter.app\",\"publisher\":{\"@id\":\"https://docs.llmrouter.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.llmrouter.app/ai-tools/cursor#webpage\",\"url\":\"https://docs.llmrouter.app/ai-tools/cursor\",\"name\":\"Cursor\",\"description\":\"Configure Cursor to use LLM Router as your AI coding assistant with intelligent routing, Skills, Zero Data Retention, and cost optimization.\",\"dateModified\":\"2026-03-29T22:08:53.496Z\",\"isPartOf\":{\"@id\":\"https://docs.llmrouter.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.llmrouter.app/ai-tools/cursor#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.llmrouter.app/ai-tools/cursor#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"LLM Router\",\"item\":\"https://docs.llmrouter.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cursor\",\"item\":\"https://docs.llmrouter.app/ai-tools/cursor\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.llmrouter.app/ai-tools/cursor#article\",\"headline\":\"Cursor\",\"name\":\"Cursor\",\"description\":\"Configure Cursor to use LLM Router as your AI coding assistant with intelligent routing, Skills, Zero Data Retention, and cost optimization.\",\"url\":\"https://docs.llmrouter.app/ai-tools/cursor\",\"mainEntityOfPage\":{\"@id\":\"https://docs.llmrouter.app/ai-tools/cursor#webpage\"},\"dateModified\":\"2026-03-29T22:08:53.496Z\",\"publisher\":{\"@id\":\"https://docs.llmrouter.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.llmrouter.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LLM Router\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LLM Router\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ai-tools/cursor.md","siteName":"LLM Router","nav":{"global":{"anchors":[{"anchor":"llms.txt","icon":"book-open-cover","href":"https://docs.llmrouter.app/llms.txt"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":""},{"title":"Provider Fallbacks","href":"/provider-fallbacks"},{"title":"Smart Routing","href":"/smart-routing"},{"title":"Chat Optimization","href":"/chat-optimization"},{"title":"Tools Optimization","href":"/tool-optimization"},{"title":"Skills","href":"/skills"},{"title":"Zero-Trust Data Redaction","href":"/redact"},{"title":"Zero Data Retention (ZDR)","href":"/zdr"},{"title":"Planning","href":"/planning"}]},{"group":"SDKs","pages":[{"title":"OpenAI","href":"/sdk/openai"},{"title":"Anthropic SDK","href":"/sdk/anthropic"},{"title":"Vercel AI SDK","href":"/sdk/vercel-ai-sdk"},{"title":"LiteLLM","description":"Configure LiteLLM to use LLM Router as a custom provider for intelligent routing, Skills, Zero Data Retention, context optimization, and cost savings.","href":"/sdk/litellm"}]},{"group":"AI tools","pages":[{"title":"Cursor","href":"/ai-tools/cursor"},{"title":"OpenAI Codex CLI","description":"Route the OpenAI Codex CLI through LLM Router to unlock multi-provider support, automatically redact local secrets, and slash input token costs.","href":"/ai-tools/codex"},{"title":"OpenClaw (CLI)","href":"/ai-tools/openclaw"},{"title":"Claude Code","href":"/ai-tools/claude-code"},{"title":"Blackbox AI (CLI)","href":"/ai-tools/blackbox"},{"title":"Cline","href":"/ai-tools/cline"},{"title":"OpenCode","href":"/ai-tools/opencode"},{"title":"Roo Code (VS Code)","href":"/ai-tools/roo-code"},{"title":"TRAE","href":"/ai-tools/trae"},{"title":"Kilo Code","href":"/ai-tools/kilo"},{"title":"Factory Droid","href":"/ai-tools/droid"},{"title":"Crush (CLI/TUI Agent)","href":"/ai-tools/crush"},{"title":"Goose","href":"/ai-tools/goose"},{"title":"Eigent (Desktop Agent)","href":"/ai-tools/eigent"},{"title":"Superset","href":"/ai-tools/superset"},{"title":"LibreChat","href":"/ai-tools/libre-chat"},{"title":"Chatbox (Desktop)","href":"/ai-tools/chatbox"},{"title":"Open WebUI","href":"/ai-tools/openwebui"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"tab":"Blog","pages":[{"title":"Blog","href":"/blog/intro-to-llm-router"}]}]},"basePath":"","title":"Cursor - LLM Router","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}