You can now use the AI.COUNT_TOKENS function to estimate the token count of text input that you provide
Share
Services
## Feature
Feature
You can now use the[AI.COUNT\_TOKENS function](https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-ai-count-tokens)to estimate the token count of text input that you provide. For some generative AI functions, you can [view](https://cloud.google.com/bigquery/docs/generative-ai-overview#token%5Fusage)the total number of input, output, thought, and cache tokens for each modality processed by the query. These features are in[Preview](https://cloud.google.com/products#product-launch-stages).
What else is happening at Google Cloud Platform?
Read update
Services
Share
Cloud Data Fusion version 6.11.1.3 is generally available (GA)
about 21 hours ago
Services
Share
Starting June 1, 2026, the Data Catalog service begins a phased shutdown
about 21 hours ago
Services
Share
Read update
Services
Share