Cursor Setup Guide
Use Api.Airforce as the OpenAI-compatible backend in Cursor — works with the chat panel and Composer.
Get an Api.Airforce API key
Open your Api.Airforce dashboard, create a new API key, and copy it. You'll paste it into Cursor in the next step.
Override the OpenAI endpoint in Cursor settings
Open Cursor → Settings → Models. Enable "Override OpenAI Base URL" and paste the values below. Then turn the Cursor key OFF and the OpenAI key ON.
Override OpenAI Base URL: https://api.airforce/v1
OpenAI API Key: YOUR_AIRFORCE_API_KEYAdd custom model names
Cursor uses a model-name field — type any Airforce model. We recommend the ones below for chat & Composer:
claude-sonnet-4.6
gpt-4o
deepseek-v3.2Start chatting
Open the Cursor chat (⌘L) or Composer (⌘I) — your prompts now route through Api.Airforce. The model dropdown shows whatever names you typed.
Important
Cursor's tab autocomplete and inline ⌘K still use Cursor's own model and are NOT affected by this override. Only chat and Composer route through your custom backend.