Opt out of usage telemetry

configuration

// what it does

Set privacy.usageStatisticsEnabled to false in settings.json to stop the CLI sending usage statistics. Developer telemetry (traces and metrics) is a separate system, off by default, controlled by GEMINI_TELEMETRY_ENABLED and the telemetry.* settings. Review your data-collection consent any time with /privacy.

// shell

$ /privacy

// gotcha

Free-tier Google login and API-key usage may still be used to improve products under those tiers' terms regardless of this toggle — Vertex AI (paid) is the path that keeps prompts out of product improvement. GEMINI_TELEMETRY_LOG_PROMPTS, if you enable telemetry, includes your prompt text in the logs, so leave it off unless you need it.

// resources