Auto-select vs manual selection
- Auto-select: Cursor chooses a model to balance speed, cost, and capability automatically. Good for general use when you want sensible defaults.
- Manual selection: Turn off Auto-select to pin a specific model for consistent, deterministic behavior or to compare outputs between models.
What “Thinking” means
- Traditional LLM response: The model gives a concise final answer or solution.
- Thinking model: The model includes internal reasoning or chain-of-thought (step-by-step explanation of how it reached the answer).
- Trade-offs: Thinking outputs are often longer, slower, and may cost more because they produce more tokens and internal processing.
- Use smaller, cheaper models (e.g.,
cursor-small,gpt-4o-mini) for:- Scaffolding, boilerplate generation, and many quick edits.
- High-throughput tasks where cost matters.
- Use mid-tier models (
gpt-4o,claude-3.5-sonnet) for:- Reliable, general-purpose assistance and balanced cost/quality.
- Use MAX or larger thinking models (
claude-3.7-sonnet MAX) for:- Deep reasoning, complex debugging, or when you need a second opinion on critical decisions.
- When unsure, try the same prompt across multiple models to compare phrasing, reasoning, or edge-case behavior. Generative outputs are not deterministic and different backends may provide useful alternative perspectives.
Model performance, latency, and pricing vary across backends. Higher-capacity models and requests that include tool usage or Thinking-mode reasoning can be significantly more expensive per request. If you expect sustained heavy usage, evaluate model costs against your budget before enabling costly defaults.
- Cursor supports configuring external API keys to route requests through your own accounts (e.g., OpenAI, Anthropic, Azure). Billing will be according to the external provider’s rates.
- Use external keys if you need:
- Centralized company billing or audit trails.
- Access to provider-specific models not directly enabled by Cursor.
- Caveats:
- Some Cursor features (custom integrations, certain tool hooks) may not work the same way when using external keys.
- Costs can exceed Cursor Pro pricing depending on the external provider and model choices.
- Ask:
- Fast, concise, and usually cheaper.
- Example use: “What does
def test_index_redirectdo?” — returns a short explanation and key lines.
- Thinking:
- Shows the model’s reasoning path, often very helpful for debugging or understanding subtle logic.
- Example use: When tests intermittently fail or logic is non-obvious and you want a step-by-step diagnostic.
def test_index_redirect(client):
- The test opens the homepage at
'/'. The app is expected to send the visitor to the login page'/login'. - The test verifies that this redirection happens by checking:
- The response status code is
302(a redirect), and - The
Locationheader includes'/login'.
- The response status code is
- For fast scaffolding and repetitive edits, favor smaller models to save time and money.
- For complex reasoning, use a Thinking model or a higher-capacity model as a second opinion.
- If cost control and centralized billing matter, consider configuring external API keys but verify feature compatibility and pricing.