Skip to main content

Counts

Request size

The whole request must fit your plan’s context: about 32K tokens, or 128K with extended context (see Pricing). That counts content, instructions, options, rubric lines, list items, tags and search results. Oversized requests fail; they are never truncated. Very long content can return 503 first, so stay well under the limit.

Images

At most 4 MiB decoded, 8192 px on the longest edge, 4096² pixels in total. Remote URLs, Sort, list items and grounding are not supported. See Images (beta).

Reasoning

10 seconds and a length limit per answer. Hitting either is not an error; see Reasoning.

Status codes

A null answer is a 200, not an error. Route it to a human; don’t retry.