## Models

The LLM defaults to `openai/gpt-6-luna` at low reasoning, for proposing a first address when no
`start` is given and for writing an answer that must be composed from more than one fact.

| Setting | Effect |
|:--|:--|
| `FASTBROWSE_LLM_MODEL` | the model for every purpose |
| `FASTBROWSE_LLM_REASONING` | `none`, `low`, `medium` or `high`; `none` turns reasoning off for a model such as DeepSeek V4.1 Flash that otherwise reasons at every effort |
| `FASTBROWSE_LLM_PROVIDER` | `openrouter`, `gateway`, `openai`, `anthropic`, `gemini`, `groq`, `together`, `mistral`, `deepseek`, `xai`, `fireworks`, `azure`, `ollama`, `lmstudio`, `vllm` or `custom`; each reads its own key, such as `OPENAI_API_KEY`, and sends it to that provider alone |
| `FASTBROWSE_LLM_BASE_URL`, `FASTBROWSE_LLM_API_KEY` | any OpenAI-compatible endpoint, such as a local vLLM at `http://127.0.0.1:8000/v1`; it needs `FASTBROWSE_LLM_MODEL`, and never receives the OpenRouter or gateway key |
| `FASTBROWSE_LLM_STRICT=0`, `FASTBROWSE_LLM_EXTRA_BODY` | for that endpoint: send schemas in non-strict form, and add a JSON object to every request |

[LLM providers](https://github.com/agent-labs-dev/fastbrowse/blob/633121ade207c7e3e415bdf4fd26f7a0f2608c58/docs/llm-providers.md) lists what each preset sends and its default models. Jev still needs its
own key. An endpoint that reports no price leaves those calls' cost unknown, so `--max-dollars` stops the run
after the first one.

Jev, the decision model, has settings of its own:

| Setting | Effect |
|:--|:--|
| `FASTBROWSE_DECISION_SOURCE` | `typesafe`, `openrouter` or `gateway` picks Jev's first provider, or another decision host by name |
| `FASTBROWSE_DECISION_BASE_URL` | retargets the selected source, and turns off automatic failover |
| `FASTBROWSE_DECISION_MODEL` | pins the decision model, and turns off automatic failover |
| `FASTBROWSE_DECISION_API_KEY` | the key for a decision host that takes one |

[Jev routing](https://github.com/agent-labs-dev/fastbrowse/blob/633121ade207c7e3e415bdf4fd26f7a0f2608c58/docs/jev.md#provider-failover) gives the provider order and failover, and
[other decision hosts](https://github.com/agent-labs-dev/fastbrowse/blob/633121ade207c7e3e415bdf4fd26f7a0f2608c58/docs/jev.md#other-decision-hosts) lists each host with its key and models.