Published 2025-10-06.
Last modified 2025-10-11.
Time to read: 5 minutes.
llm
collection.
Grok, from x.ai
,
excels at analyzing untyped code and reasoning about it.
Furthermore, when asked a question it checks assumptions by going to appropriate sources and updating
itself with the latest information before responding.
Google Gemini does not do this.
However, Grok is very weak at maintaining context across conversational interactions. It does not accumulate context with each interaction. Conversational threads provide rich context for interaction, but Grok often stumbles badly here. Each query needs to be self-contained, which can lead to progressively longer queries.
Grok also seems to be profoundly lazy and even intentionally dishonest. For example,. if you initiate a chat by providing the URL for a public GitHub repository, it will subsequently claim to have no access to files you might mention, and then start making things up and extrapolating actions based on the lies it told you. Things go off the rails quickly after that. This behavior chews through credits at a breakneck speed. This is similar to the behavior that helped make Elon Musk rich, so it is no surprise that Grok has similar behavior.
It is also weird that for a product that puts such emphasis on providing users with detailed plans, that it unilaterally makes profound decisions that contradict previous guidance.
Unlike Claude, which exquisitely crafted a productive user experience, Grok floods the user with a very detailed response, again and again, each time the user responds. There seems to be no way to dial down the verbosity. This is extremely wasteful of credits and user time. Grok seems to have been thrown together in a big hurry by people who had no thought at all about efficiently using resources.
Ended: Trading Privacy For Free API Credits
The Grok free tier works quite well. However, an API key is required to use a Visual Studio Code extension. The API requires credits.
X.ai offered free credits until May 2025 in exchange for a loss of privacy.
European Union countries disallow data sharing so their citizens were not eligible for free API credits.
xAI is offering $150 per month in free API credits for teams that opt in to data sharing (available in eligible countries). By opting in, you agree to share your API requests with xAI. To qualify for free credits, your team must have already spent a minimum of $5 on the API before choosing to opt in.
- Data sharing is set at the team level.
- You can have multiple teams—some opted in, others not.
- Only team admins can enable data sharing.
- To opt in, go to the Credits Section on the xAI API Console Billing page.
- After a team has chosen to opt-in to data sharing, the team cannot opt-out.
Teams
Everyone gets a new Personal Team upon signup. However, I decided to create a new team so I could easily stop data sharing in the future if I so desired.
Each team has a unique API key, which is useful for managing different projects or levels of data sharing.
You can view and manage your teams with the X.ai dashboard.
Getting Started
Getting started instructions that are provided at
The Hitchhiker’s Guide to Grok
at docs.x.ai
.
You could generate a personal API key, but this is not necessary if you create a new team.

I created a new team, which yields a team API key. This should allow me to opt out of data collection more easily in the future.

Set an environment variable to hold the API key in ~/.bashrc
:
export XAI_API_KEY="your_api_key"
Establish the environment variable:
$ source ~/.bashrc
Install the Visual Studio Code Simply Grok for VSCode extension.
Purchase credits in USD.

If you trust x.ai enough to give the monster direct access to your bank account, you can get a $5 refund.

I opted to pay by credit card instead.
Pick a model.
At the time of writing, the
grok-4-fast-reasoning
model
seemed to be the most cost-effective choice for programming tasks.

grok-4-fast-reasoning
is a cost-efficient language model by xAI,
released in late September 2025.
It offers high-quality logical inference and problem-solving at a lower cost
and faster speed than its predecessor, Grok-4.
It uses fewer "thinking tokens" but maintains benchmark performance,
features a 2 million token context window, and can switch between deep reasoning and rapid response modes.
The model also has integrated tool use, including web browsing,
and supports image and video analysis through its connection with X.
Simply Grok for VSCode
This is a rather primitive extension for Visual Studio Code. In particular, it does not display chat history in a separate panel, or to edit your previous prompts. The extension also does not allow you to select a portion of the code and then ask Grok to refactor or explain it.
This extension does not allow Grok models to access any of your files in Visual Studio. This is a huge limitation. In contrast, Gemini Code Assist and Claude Console both do this extremely well, but using very different approaches.
Features
- Query Grok about your entire project to get a comprehensive overview or solve cross-file issues.
- Focus on the active file and ask questions specific to its content.
- Get explanations or suggestions for the function or method at your cursor position.
- Select code and ask Grok for insights or assistance on the selection
- Display Grok's responses in a new editor tab or the Output panel.
- Review the data being sent to the Grok API before submission, with configurable settings for when previews appear.
- Select from a variety of Grok models to suit your needs.
Usage
The Simply Grok for VSCode extension requires the API key, and for you to choose a Grok model.
The choices for the models were quite out of date.
I picked grok-code-fast
because it was closest to what I want.
After I making these changes, my user settings for the extension in
%AppData%/
looked like this:
"vscodeGrok.apiKey": "xai-blahblahblah", "vscodeGrok.model": "grok-code-fast"
I edited the file manually and set the model to grok-4-fast-reasoning
.
"vscodeGrok.apiKey": "xai-blahblahblah", "vscodeGrok.model": "grok-4-fast-reasoning"
Meh
how can i ask grok to convert an entire project with many files from one computer language to another?
I'm sorry, but attempting to access the Google Drive folder URL again via automated tools still results in a sign-in requirement and CAPTCHA challenge, blocking retrieval of INSTRUCTIONS.md or any folder contents. This is a common limitation with shared Drive links that aren't fully public. To move forward productively:
Paste the Contents: Please copy and paste the full text of INSTRUCTIONS.md directly into your next message. I'll analyze it immediately and provide a detailed, structured response based on its guidance. Alternative Sharing: Upload INSTRUCTIONS.md to a public site (e.g., GitHub Gist, Pastebin) and share that link—my browsing tool can fetch plain-text or Markdown from there without auth issues.
Regarding the ZIP request: As a text-based AI, I can't generate or serve actual downloadable files (like a .zip) in this interface—my responses are limited to formatted text, code blocks, and embeds. If you'd like, I can format my "work" (e.g., analysis notes, simulated outputs) as a ready-to-copy Markdown file below, which you can save locally and zip yourself. Here's a sample structure based on prior context—once I have the instructions, I'll expand it fully.
Actually, Grok cannot even open a zip file.
Conclusion
Grok is fast, direct, inquisitive, thorough, and very good with reading and writing software; however, it is limited in how it can interact with programmers and how it can access source code and other resources that the software requires. Of all the LLMs I have worked with, I mistrust Grok the most for programming tasks.
Resources
Email support@x.ai
.