DEV Community

Momin Aziz
Momin Aziz

Posted on Originally published at reclaimllm.com

Which model saw your code? How to audit Cursor subagent models

Originally published on ReclaimLLM.

Learn which model Cursor's subagents use, where the setting lives, and how to check what model handled your prompt.

Cursor subagents — the specialized helpers that Cursor spins up for background tasks — can use a different model from your main agent. If you care which model saw your code, you need to check the subagent settings, not just the model picker.

This guide explains how to audit which model a Cursor subagent used, where to find the setting, and what to do if the model is not what you expected.

What is a Cursor subagent?

A subagent is a separate agent that Cursor launches to handle a specific task. It can search the codebase, run tests, or perform other work in the background while the main agent continues.

Subagents are useful, but they introduce a question: which model is the subagent using? The answer matters for cost, capability, and data handling. A subagent that uses a more expensive model can increase your bill. A subagent that uses a different provider's model may send your code to a different company.

How to check which model a subagent uses

To check which model a subagent uses, open Cursor Settings, go to the Models section, and look for the subagent model setting. The setting is labelled "Subagent model" or similar. It shows the model that Cursor will use for subagents.

If the setting is set to "Auto", Cursor will choose a model for the subagent. That model may be different from the one you selected in the main chat. To control which model is used, set the subagent model explicitly.

Where the setting lives

The subagent model setting is in Cursor Settings > Models. Look for the section that controls agent behaviour. The setting may be under a heading such as "Subagents" or "Agent settings".

Some versions of Cursor also show the subagent model in the chat interface. When a subagent is running, the interface may show the model name next to the subagent's name or in the status bar.

How to audit past subagent runs

To audit which model handled a past prompt, check the chat history or the agent transcript. The transcript may show the model name for each subagent run. If the transcript does not show the model, check the usage data in the Cursor dashboard. The dashboard shows the model and variant for each request, grouped by conversation.

For a step-by-step method to estimate cost from request-level usage, see our guide to estimating Cursor cost per session.

What to do if the model is not what you expected

If a subagent used a model you did not expect, change the subagent model setting to the model you want. Then start a new chat or conversation. The change does not apply retroactively to past runs.

If you want to prevent subagents from using a particular model, set the subagent model to a specific model and do not leave it on "Auto".

FAQ

Can I set a different model for each subagent?

Cursor currently uses a single subagent model setting for all subagents. You cannot set a different model for each subagent task.

Does the subagent model affect cost?

Yes. The subagent model is billed at its own rate. If the subagent uses a more expensive model, the session will cost more.

How do I know if a subagent sent my code to another provider?

Check the model name in the subagent settings or in the usage data. The model name tells you which provider served the request.

See how ReclaimLLM tracks which models saw your code.

Sources


Originally published at ReclaimLLM.

Top comments (0)