How do I use my own API key and models in Cursor?
In Cursor, open Settings → Models, paste your key into the OpenAI API Key field, turn on the OpenAI base URL override, and turn on Use API Key. Then add the model id you want as a custom model. With MartLLM the base URL is https://api.martllm.com/v1, and the key is a MartLLM key. On November 20, 2026, 68 DeepSeek, GLM, Kimi and Qwen models were taking requests, billed per token from prepaid credit. What works in Cursor and what does not is at martllm.com/docs/cursor.
Prices as of November 20, 2026, 11:00 UTC. This page is rebuilt every hour.