Grok Ai as a model option for premium usage

I wanting to know about the availability of information on this topic or any plans to implement this in the near future:

This August, Xai released a beta API program for CodeGrok and Grok 2. During my testing and evaluation of the model on X’s platform, I found it to be quite impressive and comparable to GPT 4/4o. While I have not yet had the opportunity to test CodeGrok, I believe it would be beneficial to offer it as a premium usage option.

3 Likes

The Grok API available on Open Router as of 2 days ago.

2 Likes

Grok isn’t currently available native to Cursor but you can use the OpenRouter connector by supplying the OpenRouter URL as the “Custom OpenAI URL” in Cursor’s settings. You can then add Grok as a LLM option in Cursor.

Note that this will bypass Cursor’s subscription entirely, and your queries will be billing via OpenRouter at their rate.

3 Likes

//-----------------------------------\
Update:
I was able to get the API working in Cursor with the following settings:

1) Model Name:
grok-beta

2) Important Step:
disable all models except for grok-beta

3) Override OpenAI Base URL:
https://api.x.ai/v1

4) Verify your xAI API key
//-----------------------------------\

The API is public today with free credits.
It’s fully compatible with the OpenAI REST API, so hopefully not too difficult to support natively.
https://docs.x.ai/api/endpoints

With Grok 3 trained on the world’s largest GPU cluster expected by EOY (Elon Time) it would be nice to get a performance baseline with Grok Beta (successor to Grok 2). :slight_smile:

November 4, 2024

API Public Beta
Starting today, developers can build on our Grok foundation models using our newly released API. We will run a public beta program until the end of 2024 during which everyone will get $25 of free API credits per month.
xAI API General Access

4 Likes

How is it performing versus sonnet 3.5?

This is the real question! How is Grok?

This worked. you must disable all other models.

Nothing else works if you do this unfortunately, but you do get to use Grok-beta for coding.

sonnet is better ATM. but give it a try.

I hope grok will take the lead.

1 Like