{"repo":"stnly/pi-grok","free":true,"listed":false,"github":"https://github.com/stnly/pi-grok","clone":"git clone https://github.com/stnly/pi-grok.git","description":"Use your x.com Premium / SuperGrok subscription in pi with OAuth login, privacy toggle, auto-refresh and live model discovery. Supports grok-4.6, grok-composer-2.5-fast, x_search.","language":"TypeScript","stars":23,"topics":["grok","pi","pi-package","xai","supergrok","twitter","x","composer-2p5","grok-4-5","grok-4p5"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"pi-grok xAI Grok OAuth provider for pi. Use your SuperGrok subscription with OAuth. Log in once through your browser. Tokens refresh on their own. No API keys, no billing setup. Brings Grok models into pi using the official xAI OAuth 2.0 flow with PKCE. Your credentials stay on your machine. Requirements - pi v0.74.0 or later - xAI SuperGrok subscription Install Or clone manually: Uninstall Quick start 1. Log in Choose Use a subscription , select xAI (SuperGrok Subscription) . A verification link and code appear. Open the link, enter the code (or click the prefilled link), and approve on xAI's page. No browser redirect, no local port. 2. Pick a model Ctrl+P cycles models. Models - grok-4.6 - grok-4.5 - grok-4.3 - grok-composer-2.5-fast - grok-build - grok-4.20-0309-reasoning - grok-4.20-0309-non-reasoning - grok-4.20-multi-agent-0309 On login, pi-grok sends every OAuth model through the CLI chat proxy ( cli-chat-proxy.grok.com/v1 ). The proxy maps each model to its subscription variant (for example grok-4.5 becomes grok-4.5-build ), so requests ride your SuperGrok subscription quota instead of billed API credits. Requests carry the client headers the proxy expects ( x-grok-client-version , x-grok-client-mode , X-XAI-Token-Auth , x-authenticateresponse ) so it recognizes the session. A background fetch of cli-chat-proxy.grok.com/v1/models enriches the model list with context windows and surfaces newly released ids, but it does not drive routing. The merge reads the proxy field","default_branch":null,"files":null,"tree":[],"storefront":"/r/stnly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stnly/pi-grok/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}