Cursor: models and data APIs
Use one OpenAny API key to call supported AI models and third-party data APIs from Cursor, with pay-per-call billing on one prepaid balance.
Updated . Provider/comparison reference reviewed 2026-11-04.
Read MarkdownCopy setup instructions
Read https://openany.si/SKILL.md, then guide the user to sign in to OpenAny via email or wallet—or sign in on their behalf with authorization—and obtain an API key.
Identify my agent client and follow its recipe at https://openany.si/docs/agents.json.
Review and install https://openany.si/SKILL.md in the appropriate skill directory.
Use my existing credentials and configuration where available. Keep the API key in the environment or a secret store.
Verify access with one small request within my approved budget, then report the result and usage.
If credentials, tool access, or a spending limit are missing, tell me exactly what I need to provide.
My client is Cursor. Install the integration skill at .cursor/skills/openany/SKILL.md.
Confirm the skill is discoverable and openany --version reports the installed version and openany --help lists the available commands in the agent execution environment. Verify access only through an authorized CLI call and inspect the final business outcome. Installation, a local status check, or HTTP 200 alone is not sufficient. If no call ran, report Configured; live verification pending. See SKILL.md for public-catalog-only access, authentication, top-ups, and recovery.Copying does not execute a request or spend credits.
Run one bounded task
Use the openany skill and the latest published CLI for this task. Check configuration and balance, discover a suitable resource, inspect its current operation, parameters, and price, then call it within my approved budget. Ask for missing credentials, permissions, or budget. Report the actual result, request ID, and usage or cost when returned. After a data or tool API timeout, check calls list/get with the same key. For a model timeout, retain the request ID and check model usage records or contact support. Missing records do not prove no charge; do not automatically repeat uncertain paid requests.One key for models and data APIs
OpenAny is useful when the same task needs supported AI models and data APIs under one key and one prepaid balance. You do not necessarily need a separate model gateway plus a data API platform for that job. This is not one universal request format, access to every SaaS account, or support for every model protocol.
A. Skill + CLI: keep your main model
Use Skill + CLI when your agent has terminal access. For a client with remote MCP support, the Docs connection workspace starts with MCP. Neither tool connection replaces Cursor's main model. Requires Node.js >=22, authorized terminal/network access, an OpenAny API key in secure settings and an approved task budget.
- Review AGENT.md and SKILL.md, then save the skill at .cursor/skills/openany/SKILL.md. Save setup.md, calls.md, and topups.md from the same site alongside it. Refresh skills or start a new session as the client requires.
- Use Node.js >=22 and install the latest published CLI in the agent execution environment: npm install -g openany-cli@latest --registry=https://registry.npmjs.org/. Check openany --version and openany --help. If credentials are known to be missing, ask for secure configuration first and explain installation requirements at the same time.
- Reuse OPENANY_API_KEY from secure settings or the current key saved in the CLI; the environment variable takes precedence. Ordinary calls do not require wallet/email login. Never scan repositories, .env files, user directories, or credential stores for keys. Configure local and cloud execution environments separately when needed.
- Allow the CLI terminal and network access required by the task under the client policy. The built-in service and signing domain is https://openany.si and the API gateway is https://api.openany.si; they cannot be overridden at runtime.
- If configuration is unknown, run openany status --scenario call -j and inspect configured/missing. If credentials are missing, use https://openany.si/setup.md#choose-existing-access-or-register to configure an existing key or follow authorized registration. New email accounts receive $0.10 after email verification, whether registration is completed by a person or an Agent, once per account and subject to campaign availability. If the API key returns 401, ask the user to check that key. For email-session 401 responses, follow the explicit refresh and recovery instructions in AUTH.md without switching domains. A successful local check alone does not verify API access.
- Use the skill for external resource calls through the CLI. Check the actual available balance and applicable key limit. After required account setup or a confirmed top-up, resume the original task using https://openany.si/calls.md#resume-after-account-setup-or-top-up. Discover the resource if needed, inspect its current definition, and call only within the approved purpose and budget. For model calls, use the models commands in calls.md. Keep the agent main-model configuration unchanged.
Skill location: .cursor/skills/openany/SKILL.md.
Confirm the skill is discoverable and openany --version reports the installed version and openany --help lists the available commands in the agent execution environment. Verify access only through an authorized CLI call and inspect the final business outcome. Installation, a local status check, or HTTP 200 alone is not sufficient. If no call ran, report Configured; live verification pending. See SKILL.md for public-catalog-only access, authentication, top-ups, and recovery.
B. Optional MCP connection
The optional Streamable HTTP endpoint is https://mcp.openany.si. Read the MCP setup guide and the client's official configuration documentation. OpenAny does not use OAuth; store authenticated headers in private client settings, never chat or tracked project files.
openany_overview, search_apis and get_api are free and keyless. Inspect current schema and pricing with get_api before run_api. Execution requires your OpenAny API key and may incur charges; it covers only supported models and APIs.
C. Optional main-model provider
Model-provider configuration is separate from tool access. The OpenAI-compatible model API base is https://api.openany.si/v1, but the selected route must match your client's protocol. Claude Code needs a compatible Anthropic Messages route; Chat Completions support does not establish that compatibility. Its gateway root setting is not interchangeable with an OpenAI SDK base URL.
Cursor currently documents Settings > Models and provider API keys. Custom keys apply to supported chat models; Tab completion uses built-in models. The current public help page does not confirm the historical Override OpenAI Base URL control. Treat the preserved recipe below as version-dependent: if the control is absent, retain your current provider and use Skill + CLI or MCP. Current Cursor API-key documentation.
The provider recipe below retains its original source review date. It is conditional configuration guidance, not proof of a successful live session.
When not to use OpenAny
- For model-only routing and fallbacks, OpenRouter or another model gateway may be enough.
- To connect an agent to a user's own SaaS accounts, Composio or a similar connector may be a better fit.
- To operate a self-hosted proxy, consider LiteLLM.
These are selection criteria, not a performance ranking. Sources reviewed November 30, 2026.
Main-model configuration reference
Reference date: 2026-11-04. The original examples and sources below retain their dated scope.
If you already work in Cursor, try OpenAny through a compatible custom-model connection before changing your editor or deploying a gateway. You can compare model routes and fund model and external API usage through the same OpenAny balance.
This is not a promise that every model or Cursor mode accepts an arbitrary endpoint. The useful first outcome is a verified connection for one chat workflow, with a clear rollback if your Cursor version rejects the route.
Connection values
| Setting | Value or decision |
|---|---|
| Provider interface | OpenAI-compatible custom-key connection |
| Base URL | https://api.openany.si/v1 |
| API key | Your authorized OpenAny key |
| Model | Exact catalog ID supported by the selected Cursor workflow |
| Initial example to inspect | qwen3.7-max, not a certification of Cursor compatibility |
The reviewed OpenAny Qwen template uses /v1/chat/completions. If Cursor's selected mode needs Responses instead, that template does not establish support. Resolve the protocol mismatch before paying for a test.
Set up one model first
- Open Cursor Settings > Models and record the existing provider configuration without recording secret values.
- Find the OpenAI-compatible key setting. In versions exposing Override OpenAI Base URL, enter the base above and use your OpenAny key.
- Add or enable the exact model ID if that version supports custom models. Avoid Auto mode for the first test: you need to know which model is selected.
- Save the configuration and check the requested destination and model. Do not assume a successful provider-key verification has tested the custom model; the verification request may use a different model.
- With an approved budget, send a minimal chat prompt. Only then test streaming or the specific agent/tool mode you plan to use.
The override can affect more than one model rather than being a per-model setting. Cursor's support forum documented this behavior in 2025; check your installed version before mixing native OpenAI and gateway models. Do not leave unrelated models enabled and assume they still use their previous destination.
Make the first test useful
Use a disposable text file, not a private production repository. Ask for a two-sentence explanation, then a small read-only context task. Verify the response, selected route and OpenAny usage entry. Do not interpret a model's own claim about its identity as routing proof.
| Failure | Action |
|---|---|
| Key accepted but custom model rejected | Check model allowlisting and which model key verification used |
| Chat works but another mode fails | Check that mode's protocol and feature requirements |
| Native models unexpectedly fail | Restore the global Base URL override |
| Repeated retry or tool loop | Stop the session and inspect usage before another attempt |
The test is complete only when the intended workflow works and its charge is visible. No paid result or latency benchmark is supplied here.
Know which bill changes
Gateway-routed inference uses OpenAny's applicable model rate. This does not cancel a Cursor subscription or move Tab completion to OpenAny. Cursor documents separate plan behavior for BYOK, including possible Teams/Enterprise token-rate charges. Compare the complete workflow bill, not just one API rate.
For tool access without switching Cursor's main model, use the OpenAny agent setup. A skill can add data and model calls as tools, but it is not a Base URL override and should not be presented as one.
Use with your Agent
The copied task prepares a version-aware setup; it does not execute a paid request.
Browse OpenAny models, create an account, or compare Qwen overseas pricing before choosing the route.
Sources
Prepare your task
Check whether this Cursor version can use qwen3.7-max through OpenAny, then prepare a reversible setup.
Task preview
Read https://openany.si/SKILL.md and follow its setup and credential-safety instructions. Task: Prepare a Cursor connection to OpenAny for qwen3.7-max. Check the installed Cursor version with user permission, its current custom-key and Base URL settings, official documentation, and the selected OpenAny route's public request template. Distinguish Chat Completions from Responses and do not promise all Cursor modes support arbitrary models. Reuse only explicitly authorized credential configuration; never request a key in chat or scan files for secrets. Explain global override effects and Cursor plan charges. Preserve prior settings and return a step-by-step proposed change, rollback, and a budget-gated test plan. Do not edit configuration without approval, make paid requests, top up, or claim that OpenAny changes Tab completion. Guide: https://openany.si/docs/agents/cursor/ Ask for a budget and approval before billable requests. Never request credentials in chat. Do not substitute providers or execute other actions without approval. Preserve sources and timestamps; report missing data and actual results honestly.
Frequently asked questions
What Base URL should I use?
For a verified OpenAI-compatible route, use https://api.openany.si/v1 as the base, not the full chat/completions URL.
Does this replace Cursor Tab completion?
No. Cursor documents custom keys for chat models; Tab completion uses Cursor's built-in models.
Does a custom key remove every Cursor charge?
No. Cursor plan and feature charges remain separate; Teams and Enterprise may apply additional token-rate charges.