Skip to content

Cursor on Codex Pooler

Cursor is an AI code editor that keeps coding assistance alongside your project. Connect it to Codex Pooler to select your Pool’s models for Cursor features that support your own API key. This guide covers model setup and checking that requests reach your Pooler instance.

Codex Pooler Cursor integration

  • Install Cursor for your operating system.
  • Use an active Cursor Pro or higher subscription. See the BYOK plan requirements, including Ask mode.
  • Have a public HTTPS Codex Pooler URL reachable from Cursor’s servers.
  • Create a Pool API key and choose a model available to that Pool.

Your Pool API key passes through Cursor’s backend with BYOK requests. See Cursor’s API key documentation for its handling of provider credentials.

Open Cursor Settings → Models → API Keys and configure:

Setting Value
OpenAI API key Your Pool API key
Use OpenAI API key On
Override OpenAI Base URL On
OpenAI base URL https://codex-pooler.example.com/v1
Model gpt-6-luna, or another exact model ID exposed by your Pool

Cursor Models settings with the OpenAI key and base URL override enabled

The key field is write-only: Secret saved can appear while the field looks empty. Saving a key and enabling Use OpenAI API key are separate actions. Check both switches after restarting or changing settings.

Keep the base URL at /v1; do not append /responses or /chat/completions. Start a new chat, turn Auto off, and select the explicit model.

Cursor’s model list is not an import of the Pooler’s /v1/models catalog. Refreshing the list retrieves Cursor’s own catalog. Verify model availability against your Pool separately.

If Cursor already recognizes an ID, select its existing entry. Disabling other models changes the picker; it does not force Auto to use the last enabled model or your gateway. An Auto answer is not evidence of Pooler use.

Cursor model picker with Auto off and GPT-6 Luna selected

Keep the exact model ID for initial verification. A prefix such as pooler/ changes the identifier and may also change Cursor’s request construction; it is not merely a display label.

Send a short request with the explicit model selected. In Codex Pooler’s request logs, verify the time, API key, requested model, final status, and upstream attempt. Then test a tool call and its continuation in a disposable project before relying on Agent for edits.

A rejected input can fail before accounting admission and therefore have no request row. Check the HTTP ingress log for the request path, status and Cursor/1.0 user agent in that case. Do not capture raw prompts or credentials.

Symptom What to check
Named models unavailable Confirm Cursor recognizes your active paid subscription. A similar erroneous gate on Pro has also been reported.
Access to private networks is forbidden Use a publicly reachable HTTPS endpoint instead of localhost or a private address.
Model name is not valid Check the API key switch, exact model ID, Pool permissions, and any team BYOK policy. Start a new chat after enabling the key.
Unsupported parameter Report a bug with your Cursor and Codex Pooler versions, selected model, parameter name, and sanitized error code. Do not include API keys, prompts, or raw request bodies.
string_above_max_length in an existing chat This can refer to a tool-call identifier even when the whole request is small. Pooler shortens oversized Chat call identifiers consistently across calls and results, and splits oversized text without truncation. If the error persists, include your Pooler version and the failed attempt’s Provider rejection parameter from Request logs.
Auto answers but Pooler has no request Select the explicit model. Auto can use Cursor’s own routing.

Cursor free-plan message blocking an explicitly selected model

Enabling BYOK does not remove the paid-plan requirement for named models.

This guide covers Cursor desktop with an explicit model and a Pool API key. It does not cover Auto, Tab completion, Cloud Agents, or the separate Cursor Agent CLI.

The cursor terminal command opens the desktop editor; it does not provide a separate connection to Codex Pooler.