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
6 seconds and a length limit per answer. Hitting either is not an error; see Reasoning.Extraction and streaming
See the limits on Extraction and Streaming decisions.Status codes
Extraction can also return
429 when Sage is busy: retry after the seconds in the Retry-After header.
A null answer is a 200, not an error. Route it to a human; don’t retry.