xAI Cookie Policy

Effective: April 4, 2026 (previous version)

This Cookie Policy describes what kinds of cookies and similar technologies xAI uses in connection with our Services (as defined in our Privacy Policy).Please refer to our Privacy Policy to learn more about how we process your personal information.

What are cookies?

Cookies are small text files that may be placed on your device when you interact with online services, including when you browse the web or use a web-enabled app. We also use local storage to save data on your device. Cookies help us to recognize you, customize or personalize your experience, and analyze the use of our Services to make it more useful to you.

Why does xAI use cookies?

xAI uses first-party and third-party cookies to provide you services and resources you may have requested. We currently classify these cookies in the following categories:

  • Strictly Necessary Cookies – used for providing our Services, applications, and other essential functionalities. You cannot disable necessary tracking tools, since they are required for our Services to function.
  • Performance Cookies – used to count visitor traffic so that we can measure and improve the performance of our Services.
  • Targeting Cookies – used by us and our partners to track the effectiveness of specific ads on third-party properties through to xAI account sign ups and subscriptions. Our third-party advertising partners may use these cookies to show you relevant ads on other third-party websites and platforms. If you do not allow these cookies, you will experience less targeted advertising.

You have control over the personal information you wish for us to collect through cookies and other tracking technologies and have the ability to choose your preferences with regard to our use of cookies and technologies in your interactions with our Services. Depending on your location, you may have the ability to adjust your preferences in a variety of ways.

For example, you may be presented with a notice upon your first visit to our Services asking you to choose your preferences.

You may also adjust your preferences at any time by:

  1. On accounts.x.ai, go to the Data tab and click Manage under Cookie Settings
  2. On grok.com, go to the Data Controls tab under Settings and click Manage under Cookie Settings

List of cookies

Below is a list of all the necessary cookies used on our Service:

SourceNamePurposeDurationDomain
xAIcsrfSecurity30 minAll
xAIssoLogin4 weeksAll
xAIsso-rwSecurity4 weeksAll
xAIconsole-team-id-clientService Functionality90 daysconsole.x.ai
xAIdocs-team-idService FunctionalitySessiondocs.x.ai
xAIdocs_sessionSecurity1 daydocs.x.ai
xAIlast-logged-in-withService Functionality90 daysaccounts.x.ai
xAIoauthSecurity1 houraccounts.x.ai
xAIredirectLogin1 dayaccounts.x.ai
xAIreferrerService Functionality7 daysaccounts.x.ai
Stripe__stripe_midFraud Detection1 monthconsole.x.ai
Stripe__stripe_sidFraud Detection1 monthconsole.x.ai
Cloudflare__cf_bmSecurity30 minAll
Cloudflarecf_clearanceSecurity1 yearAll
Meta Ads_fbpAdvertising90 Days.grok.com
Meta Ads_fbcAdvertising90 Days.grok.com
Meta AdsfrAdvertising90 Days.facebook.com
Meta AdssbAdvertising2 Years.facebook.com
Meta Adsps_l / ps_nAdvertising90 Days.facebook.com
Meta AdswdAdvertising7 Days.facebook.com
Google Ads_gcl_auAdvertising90 Days.grok.com
Google Ads_gcl_awAdvertising90 Days.grok.com
Google AdsIDEAdvertising13 Months.doubleclick.net
Google AdsNIDSecurity6 Months.google.com
Google AdsOTZAnalytics30 Dayswww.google.com
Google (GA4)_gaAnalytics2 Years.grok.com
Google (GA4)ga<ID>Analytics2 Years.grok.com
Twitter (X)twpidAdvertising13 Months.grok.com
Twitter (X)personalization_idAdvertising2 Years.twitter.com
Twitter (X)guest_idAdvertising2 Years.twitter.com
Twitter (X)guest_id_marketingAdvertising2 Years.twitter.com
Twitter (X)guest_id_adsAdvertising2 Years.twitter.com
AppsFlyeraf_idAnalytics13 Months.appsflyersdk.com
AppsFlyerafUserIdAnalytics13 Months.grok.com
AppsFlyerAF_SYNCAnalyticsSession.grok.com
Server GTM_dcidFunctionalN/A.sgtm-prod-985009374134.us-central1.run.app
TikTok Ads_ttpAdvertising13 Months.grok.com
TikTok Ads_tt_enable_cookieAdvertising13 Months.grok.com
TikTok AdsttwidAdvertising1 Year.tiktok.com
TikTok AdsttcsidAdvertisingSession.grok.com
TikTok Adsttcsid_<ID>AdvertisingSession.tiktok.com
TikTok AdsmsTokenSecurity24 Hours.tiktok.com
TikTok Adstta_attr_id_mirrorAdvertising13 Months.tiktok.com
TikTok Adspassport_csrf_tokenSecuritySession.tiktok.com

Additional information

You can send any questions about xAI's Cookies Policy to privacy@x.ai