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
Google Distributed Cloud (software only) for bare metal 1.34.600-gke.53 is available
about 9 hours ago
Services
Share
Read update
Services
Share
Read update
Services
Share
BigQuery now supports the gemini-3.1-flash-lite and gemini-3.5-flash GA
about 10 hours ago
Services
Share