Using Gab AI API with Cursor IDE

Connect Cursor IDE to Gab AI's OpenAI-compatible API and use any of our models for chat, composer, agent mode, and inline edits.

Prerequisites

Configuration

Follow these steps to connect Cursor to the Gab AI API:

Selecting a Model

After verification, you can use any text-capable model from your Gab AI account. Set the model name to the model's slug (e.g. arya, gpt-5-5, claude-sonnet-4-5, claude-opus-4-8, gemini-3-5-flash). Slugs are lowercase and hyphenated — names like "Claude Opus 4.8" or "claude opus" will not match.

List All Models

You can retrieve the full list of available models by calling GET /v1/models.

What Works in Cursor

Limitations

Tab Completion

  1. Open Cursor Settings > Models — Open Cursor Settings > Models
  2. Enter your Gab AI API key in the OpenAI API Key field — Enter your Gab AI API key in the OpenAI API Key field
  3. Toggle ON "Override OpenAI Base URL" — Toggle ON "Override OpenAI Base URL"
  4. Set the base URL to: https://gab.ai/v1 — Set the base URL to: https://gab.ai/v1
  5. Click Verify to confirm the connection — Click Verify to confirm the connection

List All Models

You can retrieve the full list of available models by calling GET /v1/models.