# Choosing the right model

In your Agent configuration, you can select from models made available by your organization through [CARTO AI settings](/carto-user-manual/settings/carto-ai.md).

<figure><img src="/files/8QcoPFMRvoWqftbzYzqd" alt=""><figcaption></figcaption></figure>

## Model recommendations

Models generally fall into two categories:

* **Pro/Sonnet models** (e.g., `gemini-3-pro`, `gpt-5`, `claude-sonnet-4.6`): More capable, better for complex tasks. Higher cost and latency.
* **Flash/Mini/Haiku models** (e.g., `gemini-3-flash`, `gpt-5-mini`, `claude-haiku-4.5`): Faster and more cost-efficient. Good for simpler tasks.

If the same model is available through multiple cloud providers, choose based on your data residency requirements.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.carto.com/carto-user-manual/ai-agents/choosing-the-right-model.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
