Connect in under 5 minutes

Inside the editors you already useConnect ModelAPI once

One API key. Works in Cursor, Windsurf, VS Code, Claude Code, Codex CLI, and 100+ more apps. Switch between GPT-5.5, Claude, DeepSeek, and Gemini instantly.

Cursor

AI-first code editor. Use any ModelAPI model inside Cursor.

OpenAI compatible·No change to your core code patterns·Any model from the catalog
1

Open Cursor Settings

Go to File → Preferences → Cursor Settings (or press ⌘, on Mac). Navigate to the Models tab.

2

Add your ModelAPI API Key

In the "OpenAI API Key" field, enter your ModelAPI key (starts with sk-ama-). Then set the "Override OpenAI Base URL" to our endpoint.

text
API Key:  sk-ama-YOUR_KEY
Base URL: https://api.aimodelapi.ai/v1
3

Add models

Click "+ Add Model" and type the model name. You can add any model from our catalog — GPT, Claude, Gemini, DeepSeek, and more.

text
# Frontier models
gpt-5.5
claude-opus-4-7
gemini-3.1-pro
grok-4.3

# Value models (90%+ cheaper)
deepseek-v4-flash
deepseek-v4-pro
qwen-max
kimi-k2.6
4

Start coding!

Select your model from the dropdown in Cursor's chat panel. All responses flow through ModelAPI — you get the same Cursor experience with access to any model.

Ready to connect?

Create a free account, grab your API key, and start in minutes.

Quick Reference

The two settings that work in every tool

Base URL

https://api.aimodelapi.ai/v1

Works in any OpenAI-compatible app

API Key Format

sk-ama-••••••••••••

Create one at Dashboard → API Keys

Code completion / Speed

deepseek-v4-flashcheapest

Complex reasoning / Architecture

claude-sonnet-4-6best for code

Max capability / No cost limit

claude-opus-4-7frontier