# Cursor: models and data APIs

Canonical URL: https://openany.si/docs/agents/cursor/

Updated: 2026-11-30. Original provider/comparison reference reviewed: 2026-11-04.

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.

## 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.

1. 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.
2. 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.
3. 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.
4. 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.
5. 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.
6. 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](/mcp/) 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.

[Cursor MCP documentation](https://cursor.com/docs/mcp)

## 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](https://cursor.com/help/models-and-usage/api-keys).

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](https://openrouter.ai/docs/quickstart) or another model gateway may be enough.
- To connect an agent to a user's own SaaS accounts, [Composio](https://docs.composio.dev/docs) or a similar connector may be a better fit.
- To operate a self-hosted proxy, consider [LiteLLM](https://docs.litellm.ai/docs/simple_proxy).

These are selection criteria, not a performance ranking. Sources reviewed November 30, 2026.

## Billing and authorization

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. No X follow or Telegram membership is required. No coupon or manual claim is required. Check the actual grant record and available balance before calling; receiving credits does not authorize spending.

Browsing, searching and checking prices are free. Supported execution follows the listing's published call or usage rate. Standard pay-as-you-go access does not require an OpenAny subscription. Signing in and copying setup instructions do not authorize spending. Do not automatically top up or repeat an uncertain paid request; missing usage records do not prove it was free.

## Setup instruction

Read https://openany.si/SKILL.md and connect OpenAny to my existing Cursor. Keep my main model unchanged. Configure credentials securely and request approval before paid calls.

## 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.

## Provider and comparison reference

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

1. Open **Cursor Settings > Models** and record the existing provider configuration without recording secret values.
2. Find the OpenAI-compatible key setting. In versions exposing **Override OpenAI Base URL**, enter the base above and use your OpenAny key.
3. 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.
4. 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.
5. 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](https://openany.si/AGENT.md). 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.

```agent-task
```

[Browse OpenAny models](https://openany.si/market/?type=models), [create an account](https://openany.si/sign-up/), or compare [Qwen overseas pricing](/guides/qwen-overseas-api-pricing-openany/) before choosing the route.

## Sources

- [Cursor: bring your own API key](https://cursor.com/help/models-and-usage/api-keys)
- [Cursor support: global Base URL override](https://forum.cursor.com/t/can-the-api-key-and-base-url-corresponding-to-a-custom-model-be-set-separately-when-adding-a-cursor/137108)
- [OpenAny public model catalog](https://openany.si/api/v1/key-market/model-prices)

## Agent input

Model to check (query key: input.model_id): qwen3.7-max

## Agent task template

Prepare a Cursor connection to OpenAny for {{model_id}}. 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.

## 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.

## Related documentation

[Claude Code](/docs/agents/claude-code/) · [Cursor](/docs/agents/cursor/) · [Codex](/docs/agents/codex/) · [OpenAny vs OpenRouter](/docs/comparisons/openrouter/) · [MCP](/mcp/)
