Agent Research
google/deep-research-preview-04-2026 breaks a question into steps, searches the web, reads what it finds and writes a report with sources, through the /v1/research/runs endpoint.
The request stays open until the run ends, and a run can take minutes. If a request passes 15 seconds, the 200 status is sent right away and blank lines flow until the answer arrives; JSON parsers skip them, so there is nothing to configure. An error after that point comes in the body as an error field, so check for error in the answer as well. On clients that set a total time limit (curl --max-time, for example), remove it; if the connection drops, the run is cancelled.
Example
Section titled “Example”curl "$LLMTR_BASE_URL/v1/research/runs" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "google/deep-research-preview-04-2026", "input": "Compare the main open-source vector databases and cite primary sources." }'Response
Section titled “Response”{ "id": "6f1c2a7e-0d3b-4a8e-9c55-2b7e41d09a13", "object": "research.run", "model": "google/deep-research-preview-04-2026", "status": "completed", "output_text": "...", "citations": [ { "url": "https://example.com/source", "title": "...", "start_index": 120, "end_index": 129 } ], "usage": { "input_tokens": 1000, "cached_input_tokens": 0, "output_tokens": 500, "reasoning_tokens": 500, "search_queries": 5, "total_tokens": 2000 }}The numbers in this example only show the format. The positions in citations point at the source markers in output_text.
Parameters
Section titled “Parameters”| Field | Description |
|---|---|
model |
google/deep-research-preview-04-2026. |
input |
The research question. Text, or a list of messages holding only text. Required. |
instructions |
Instructions for the report's format and scope. Added before the question. |
max_wait_seconds |
Optional. If you send it, the run is stopped by then at the latest. Without it, the request waits until the run ends (at most 7200 seconds). |
max_budget_usd |
Below the amount set aside, the request answers 400 budget_too_low without starting. It does not cap the run. |
Nothing on this agent limits its output: max_output_tokens is ignored and named in the answer's llmtr_dropped_parameters field.
Pricing
Section titled “Pricing”No platform margin is added to the model price. The bill comes from the usage in the answer.
| Item | Price ($/1M tokens) |
|---|---|
| Input | 2.00 |
| Input read from cache | 0.20 |
| Output and thinking | 12.00 |
Search queries add $14 per 1,000 queries. Google estimates $1 to $3 for a typical task; narrow questions cost less.
Nothing caps a run's cost in advance. Before the request starts, about $4.25 is set aside from your balance; when the run ends the actual amount is billed and the rest is released. If your balance does not cover it, the request does not start.
Cancellation and errors
Section titled “Cancellation and errors”If you disconnect or the wait runs out, the run is cancelled and you are not charged.
| Status | Type | When |
|---|---|---|
| 400 | content_filter |
Google's content policy blocked the request. |
| 400 | unsupported_input |
The request has content other than text. |
| 400 | budget_too_low |
max_budget_usd is below the amount set aside. |
| 502 | provider_error |
The run ended without a report. You are not charged and can try again. |
| 503 | model_unavailable |
The model is unavailable right now. Try again later. |
| 504 | provider_timeout |
The run did not finish within max_wait_seconds. |
Previous model
Section titled “Previous model”Google shut down google/deep-research-pro-preview-12-2025, and it answers 410 model_retired. Changing the model id to google/deep-research-preview-04-2026 is enough.
Requests are sent to Google. Because the agent searches the web, Google keeps the question and the report for 3 days, and this cannot be turned off. Do not send this model data that must not be stored. LLMTR does not keep the question or the report.