Setup note · 5 steps
SayGM in Cursor
Cursor accepts a custom OpenAI base URL. Point it at SayGM and GPT and open-model requests go through the SayGM gateway. The override never applies to Claude or Gemini, which Cursor always sends to their makers.
§ 01
Steps
Step 1: Create a SayGM account and generate an API key.
Step 2: Open Cursor Settings, then Models, then API Keys.
Step 3: Paste your SayGM API key into the OpenAI API Key field. Enable Override OpenAI Base URL and enter https://api.saygm.com/v1.
Step 4: Add the model IDs you want, for example gpt-6-luna, gpt-6.1-sol or kimi-k3-tee, then pick one from the chat model menu.
Step 5: Use Ask or Chat mode. Agent mode sends tools in a format SayGM may reject for these models.
OpenAI API Key: gm_live_...Override OpenAI Base URL: https://api.saygm.com/v1Model: gpt-6.1-sol§ 02
Why route Cursor through a gateway
- 01
No per-seat subscription. Pay per token only.
- 02
Switch between GPT and open models, including confidential -tee models, without changing keys.
- 03
Prompt caching stays intact because SayGM keeps a conversation on one provider.
§ 03
Models worth trying in Cursor
Snapshot SayGM prices per million tokens, input then output.
- GPT-6.1 SolGeneral assistants and agents at mid-tier cost$1.13 / $5.67
- GPT-6.1 TerraVisual reasoning, computer use and everyday writing$0.61 / $3.04
- GPT-6 LunaChat products, summarisation, cheap tool calls$0.06 / $0.28
- Kimi K3Open-weight coding and agent workloads$1.69 / $8.45
- DeepSeek V4.1 Flash 1017Bulk generation, cheap open-weight inference$0.06 / $0.22
- DeepSeek V4.1 FlashBulk generation, cheap open-weight inference$0.04 / $0.17
Other notes: Cline · Claude Code · Vercel AI SDK · OpenAI SDK · Anthropic SDK
§ 04
Cursor questions
Does Cursor work with SayGM?
Yes, for GPT and open-weight models. Cursor accepts a custom OpenAI base URL. Point it at SayGM and GPT and open-model requests go through the SayGM gateway. The override never applies to Claude or Gemini, which Cursor always sends to their makers.
Which models can I use in Cursor through SayGM?
GPT and open-weight models, including GPT-6.1 Sol, GPT-6.1 Terra and GPT-6 Luna and confidential -tee variants. SayGM serves Claude only on the Anthropic Messages API and Gemini only on generateContent, so neither works through an OpenAI-format setup.
Where do I find the SayGM base URL?
The steps above give it for this tool. The SayGM developer docs list the endpoint for each API format: Anthropic Messages, OpenAI Chat Completions and Responses, and Gemini generateContent.