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.
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.
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:
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:
Below is a list of all the necessary cookies used on our Service:
| Source | Name | Purpose | Duration | Domain |
|---|---|---|---|---|
| xAI | csrf | Security | 30 min | All |
| xAI | sso | Login | 4 weeks | All |
| xAI | sso-rw | Security | 4 weeks | All |
| xAI | console-team-id-client | Service Functionality | 90 days | console.x.ai |
| xAI | docs-team-id | Service Functionality | Session | docs.x.ai |
| xAI | docs_session | Security | 1 day | docs.x.ai |
| xAI | last-logged-in-with | Service Functionality | 90 days | accounts.x.ai |
| xAI | oauth | Security | 1 hour | accounts.x.ai |
| xAI | redirect | Login | 1 day | accounts.x.ai |
| xAI | referrer | Service Functionality | 7 days | accounts.x.ai |
| Stripe | __stripe_mid | Fraud Detection | 1 month | console.x.ai |
| Stripe | __stripe_sid | Fraud Detection | 1 month | console.x.ai |
| Cloudflare | __cf_bm | Security | 30 min | All |
| Cloudflare | cf_clearance | Security | 1 year | All |
| Meta Ads | _fbp | Advertising | 90 Days | .grok.com |
| Meta Ads | _fbc | Advertising | 90 Days | .grok.com |
| Meta Ads | fr | Advertising | 90 Days | .facebook.com |
| Meta Ads | sb | Advertising | 2 Years | .facebook.com |
| Meta Ads | ps_l / ps_n | Advertising | 90 Days | .facebook.com |
| Meta Ads | wd | Advertising | 7 Days | .facebook.com |
| Google Ads | _gcl_au | Advertising | 90 Days | .grok.com |
| Google Ads | _gcl_aw | Advertising | 90 Days | .grok.com |
| Google Ads | IDE | Advertising | 13 Months | .doubleclick.net |
| Google Ads | NID | Security | 6 Months | .google.com |
| Google Ads | OTZ | Analytics | 30 Days | www.google.com |
| Google (GA4) | _ga | Analytics | 2 Years | .grok.com |
| Google (GA4) | ga<ID> | Analytics | 2 Years | .grok.com |
| Twitter (X) | twpid | Advertising | 13 Months | .grok.com |
| Twitter (X) | personalization_id | Advertising | 2 Years | .twitter.com |
| Twitter (X) | guest_id | Advertising | 2 Years | .twitter.com |
| Twitter (X) | guest_id_marketing | Advertising | 2 Years | .twitter.com |
| Twitter (X) | guest_id_ads | Advertising | 2 Years | .twitter.com |
| AppsFlyer | af_id | Analytics | 13 Months | .appsflyersdk.com |
| AppsFlyer | afUserId | Analytics | 13 Months | .grok.com |
| AppsFlyer | AF_SYNC | Analytics | Session | .grok.com |
| Server GTM | _dcid | Functional | N/A | .sgtm-prod-985009374134.us-central1.run.app |
| TikTok Ads | _ttp | Advertising | 13 Months | .grok.com |
| TikTok Ads | _tt_enable_cookie | Advertising | 13 Months | .grok.com |
| TikTok Ads | ttwid | Advertising | 1 Year | .tiktok.com |
| TikTok Ads | ttcsid | Advertising | Session | .grok.com |
| TikTok Ads | ttcsid_<ID> | Advertising | Session | .tiktok.com |
| TikTok Ads | msToken | Security | 24 Hours | .tiktok.com |
| TikTok Ads | tta_attr_id_mirror | Advertising | 13 Months | .tiktok.com |
| TikTok Ads | passport_csrf_token | Security | Session | .tiktok.com |
You can send any questions about xAI's Cookies Policy to privacy@x.ai