Checking your Cursor setup with a sandbox_ key before you work

Coding with AICursor·· 1 view· 2 min read

A sandbox_ key shows whether Cursor is set up right without spending credits or points. The answer is always the same sentence, but it comes back the same way as real answers: if it shows up, the address, the key and the id are right.

What you need

1 A key created in the API Center in Sandbox mode, with ai:read and ai:write and no IP list.
2 Cursor set up with the address and at least one model, as in the Cursor article.

The test

1 In Cursor Settings, Models, paste the sandbox_ key in OpenAI API Key.
2 Check that Override OpenAI Base URL is on, with https://api.mozout.com/v1.
3 In the chat, pick a model you added under Add Custom Model, for example moonshotai/kimi-k2.7-code.
4 Say "hello".

The answer you should see

What you see What it means
"Resposta de teste (sandbox)." The address, the key and the id are right.
A 401 error The key did not reach the API or is wrong.
A 404 error The address or the id is wrong: see Cursor errors.
A normal answer from a model You are using a prod_ key, or the request did not go through our address.

The sandbox does not call the model and charges nothing, so the answer is always this one, whatever you ask. Cursor cannot write code with it.

The request in History

Open History and choose the Sandbox mode: Cursor's request shows with the model and the key, with no credits spent. In the sandbox, the model list, the prices and the balance are the real ones.

After the test

In OpenAI API Key, replace the sandbox_ key with the prod_ one. Nothing else needs to change. The first real request already spends credits or plan points.

The MCP server also accepts the sandbox_ key: a generation is ready at once, with a sample link and 0 credits.

Want our models in Cursor? Visit the Coding with AI page.

See Coding with AI

SEE ALSO

Testing All in One AI in the Sandbox at no cost: what each answer looks like

Cursor with All in One AI: your key, our address and the models to add

Cursor errors: 401, model not found and the /v1 address

Coding with AI in All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from $6.60/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.