Skip to content

Models and search modes

A target is a model selection plus its search behavior and execution limits. Comparing targets lets you separate “which model answered?” from “how did it obtain context?” Use list_targets or GET /api/v1/research/targets to discover the installed adapters and query their available models. Production availability changes; discovery is more reliable than a fixed model list.

Mode Example selection Research implication
Off { "mode": "off" } No search is requested; the answer is a baseline for the model under this prompt.
Controlled { "mode": "controlled", "engine": "exa", "max_results": 3 } Compatible observations share an immutable retrieval bundle.
Native { "mode": "native", "max_uses": 1 } The selected model/provider controls native search.
Server { "mode": "server", "engine": "perplexity", "max_uses": 1 } The adapter requests a named provider-managed search engine.

The engine names above illustrate supported adapter patterns; inspect discovery and estimation for the deployed configuration. An installed model adapter does not make every search mode available on every model. Unsupported native-search capability is rejected rather than silently treated as working search.

Inline targets require unique id values, provider, model, and search. OpenRouter automatically routes among compatible serving endpoints for the same model and search engine. Endpoint selection is managed by the server and is not a tool option. max_output_tokens accepts 32–4096 and defaults to 512; timeout_ms accepts 1000–120000 and defaults to 120000. Temperature and reasoning controls depend on the selected model.

Native/server max_uses accepts 1–3. Controlled max_results accepts 1–10; max_characters accepts 100–30000 and defaults to 12000. These bounds control requested work; inspect returned execution and usage evidence rather than assuming all allowed work occurred.

Keep prompt text, locale, repetition count, and output limits fixed when comparing models. Use controlled retrieval when a shared evidence set is the variable you want to hold steady. Use native search when the model’s own search behavior is part of the question. Label those experiments separately in your report.

Returned model and serving-provider metadata help explain what actually ran. See proof of search for the evidence needed before calling an answer search-backed.