Skip to main content
Cursor can connect to APIAny.AI through OpenAI-compatible settings. After setup, you can use chat, reasoning, translation, and multimodal models from the same client.

Prerequisites

  • Cursor is installed.
  • You have created an API key in the APIAny.AI dashboard.
  • You have selected a model ID, such as gpt-5.4-mini or gpt-4o-mini.

Configuration values

Setup

  1. Open the Models section in Cursor settings.
  2. Enable OpenAI API key configuration.
  3. Enter the API key and override the OpenAI Base URL with the APIAny.AI URL.
  4. Add the model IDs you need and test them in Chat or Composer.

Walkthrough screenshots

The screenshots below show the key configuration screens in Cursor. API names and endpoints have been adjusted for APIAny.AI.

Step 1

Cursor setup screenshot 1

Step 2

Cursor setup screenshot 2

Step 3

Cursor setup screenshot 3

Step 4

Cursor setup screenshot 4

Step 5

Cursor setup screenshot 5

Step 6

Cursor setup screenshot 6

Step 7

Cursor setup screenshot 7

Troubleshooting

401 or authentication errors

Make sure the API key is copied completely, has no extra spaces, and is enabled in the APIAny.AI dashboard.

The model does not appear in the app

Enter the model ID manually and confirm it is available in the model catalog. Some tools do not fetch model lists automatically.

Which Base URL should I use?

OpenAI-compatible settings usually use https://apiany.ai/v1; Claude-compatible settings usually use https://apiany.ai; tools that ask for a full endpoint use https://apiany.ai/v1/chat/completions.