How tokens are counted
Web Search measures usage in input and output tokens. Tokens are pieces of text, not characters or requests.- Input: the search query.
- Output: the returned webpage text, or the snippet when no full-length content is returned.
- Titles, URLs, dates, and other metadata do not count.
- For older integrations receiving multiple content representations, each returned full-length content field counts; the shorter snippet is excluded.
count or contents.text.maxCharacters can reduce output usage.
Successful API responses include usage.input_tokens and usage.output_tokens. Add them to get the request’s total token usage. Request counts are still tracked separately.
Free Plan pricing
Input tokens and output tokens currently both cost $0 per million tokens. There are no additional charges for individual Web Search features. Token limits still apply.Account limits
Web Search does not impose separate requests-per-minute or requests-per-day quotas. All API keys on an account share its Web Search limits, including calls through MCP. Creating additional keys does not restore allowance.
The Dashboard shows your actual RPS and TPM limits and today’s consumed tokens alongside the daily usage percentage.
Automatic reset
Daily token allowance resets at 00:00 UTC, every day. This is a fixed UTC boundary, not 24 hours after your first request and not midnight in your device’s timezone. There is no manual reset action. TPM becomes available as earlier requests leave the rolling window; it does not reset on a fixed clock-minute boundary.Usage reporting
Current plan usage reads settled token records. Historical statistics are aggregated once per minute, grouped by account, product, API key, and UTC minute. The current minute may not yet appear in historical reports; minutes without usage do not produce empty records. Only successfully settled searches contribute token usage. A client timeout does not necessarily mean the server failed: a search that completes successfully can still consume tokens.When a limit is reached
A429 can indicate RPS, concurrency, TPM, or TPD limits. Follow Retry-After when present. Daily token exhaustion requires waiting for the next UTC reset. If a response cannot fit within your token limit, reduce the result count or text length rather than repeatedly retrying unchanged.
See Errors for retry guidance.
Results per request
count controls the maximum number of results, from 1 to 50. It is separate from token allowance and request rate limits.
