{"slug": "sample-gcloud-commands-for-setting-bigquery-gen-ai-quota-limits", "title": "Sample gcloud commands for setting BigQuery Gen AI quota / limits", "summary": "A developer published a set of gcloud commands for adjusting BigQuery's generative AI token quotas, covering daily input and output token limits both per project and per user. The snippets use `gcloud quotas preferences update` with quota IDs such as GenAiInputTokensPerDay and GenAiOutputTokensPerUserPerDay, showing the default values of 200B and 150B input tokens and 20B and 15B output tokens respectively.", "body_md": "|  | # Replace YOUR_PROJECT_ID with your Google Cloud project ID and | \n|  | # update each --preferred-value from its default to your target daily limit. | \n|  | # 1. Daily input tokens per project (Default: 200B) | \n|  | gcloud quotas preferences update custom-GenAiInputTokensPerDay \\ | \n|  | --project=YOUR_PROJECT_ID \\ | \n|  | --service=bigquery.googleapis.com \\ | \n|  | --quota-id=GenAiInputTokensPerDay \\ | \n|  | --preferred-value=200000000000 \\ | \n|  | --allow-high-percentage-quota-decrease \\ | \n|  | --allow-missing | \n|  | # 2. Daily input tokens per user (Default: 150B) | \n|  | gcloud quotas preferences update custom-GenAiInputTokensPerUserPerDay \\ | \n|  | --project=YOUR_PROJECT_ID \\ | \n|  | --service=bigquery.googleapis.com \\ | \n|  | --quota-id=GenAiInputTokensPerUserPerDay \\ | \n|  | --preferred-value=150000000000 \\ | \n|  | --allow-high-percentage-quota-decrease \\ | \n|  | --allow-missing | \n|  | # 3. Daily output tokens per project (Default: 20B) | \n|  | gcloud quotas preferences update custom-GenAiOutputTokensPerDay \\ | \n|  | --project=YOUR_PROJECT_ID \\ | \n|  | --service=bigquery.googleapis.com \\ | \n|  | --quota-id=GenAiOutputTokensPerDay \\ | \n|  | --preferred-value=20000000000 \\ | \n|  | --allow-high-percentage-quota-decrease \\ | \n|  | --allow-missing | \n|  | # 4. Daily output tokens per user (Default: 15B) | \n|  | gcloud quotas preferences update custom-GenAiOutputTokensPerUserPerDay \\ | \n|  | --project=YOUR_PROJECT_ID \\ | \n|  | --service=bigquery.googleapis.com \\ | \n|  | --quota-id=GenAiOutputTokensPerUserPerDay \\ | \n|  | --preferred-value=15000000000 \\ | \n|  | --allow-high-percentage-quota-decrease \\ | \n|  | --allow-missing |", "url": "https://wpnews.pro/news/sample-gcloud-commands-for-setting-bigquery-gen-ai-quota-limits", "canonical_source": "https://gist.github.com/aliciawilliams/0794622536f63c41381d9837e5c2521c", "published_at": "2026-10-01 19:55:37+00:00", "updated_at": "2026-10-02 12:37:56.089536+00:00", "lang": "en", "topics": ["ai-infrastructure", "large-language-models", "developer-tools"], "entities": ["Google Cloud", "BigQuery", "gcloud"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/sample-gcloud-commands-for-setting-bigquery-gen-ai-quota-limits", "markdown": "https://wpnews.pro/news/sample-gcloud-commands-for-setting-bigquery-gen-ai-quota-limits.md", "text": "https://wpnews.pro/news/sample-gcloud-commands-for-setting-bigquery-gen-ai-quota-limits.txt", "jsonld": "https://wpnews.pro/news/sample-gcloud-commands-for-setting-bigquery-gen-ai-quota-limits.jsonld"}}