---
title: "Cursor"
description: "Configure Cursor to call plaingateway."
---

# Cursor

1. Open **Settings** > **Models**.
2. Under **OpenAI API Key**, paste your plaingateway key.
3. Turn on **Override OpenAI Base URL** and enter `https://api.plaingateway.com/api/v1`. This sends Cursor's OpenAI requests to plaingateway instead of OpenAI.
4. Add a custom model with a model ID, for example `openai/gpt-5.6-luna`, and select it.

To check the setup, send one short prompt. The request then shows on the [Activity](https://plaingateway.com/activity) page with its host and cost.
