logo
You can now set up xAI models as custom models on TypingMind!
Image without caption
Here’s how!

Step 1: Create an xAI account

Go to https://console.x.ai/ to sign up for an xAI account if you don’t have one yet.
Image without caption

Step 2: Create an xAI team

Next, you will need to create an xAI team to get into the console:
  • Create a new team by entering a Team name and description.
  • Click Create Team.
    • You can skip inviting members if not necessary.
    • Skip the API key creation for now - we’ll handle that later.
    • Click Go to Home to return to the console dashboard.
Image without caption
Image without caption

Step 3: Purchase API credits

To use the API, you'll need to purchase credits:
  • Go to Billing.
  • Click on Credits.
  • Select Purchase Credits.
Note: Make sure to set up your billing profile and payment method before topping up credits.
πŸ’‘
As of now, everyone will get $25 of free API credits per month to test the API. Therefore, you can get started with xAI for free now!
Image without caption

Step 4: Create API key

  • Go to API Keys in the console.
  • Click Create API Key.
Image without caption
  • Click to copy to API key to a safe place to set up on TypingMind.
Image without caption

Step 5: Set up xAI on TypingMind

To configure xAI in TypingMind, use the following details:
  • Name: xAI (or a name of your choice)
  • Endpoint: https://api.x.ai/v1/chat/completions
  • Model ID: grok-beta
  • Customer Headers:
    • Authorization: Bearer Your_xAI_API_Key
Click Test to verify the setup. If successful, you’ll receive a confirmation that the model is ready for use.
Image without caption

Step 6: Start chatting!

You’re all set to use xAI within TypingMind. Enjoy!
Image without caption