xAI Rolling Out Grok API for Developers, Offers $25 of Free Credits Per Month

Developers will get free credits worth $25 (roughly Rs. 2,100) every month till the end of 2024.

Advertisement
Written by Akash Dutta, Edited by Siddharth Suvarna | Updated: 6 November 2024 18:14 IST
Highlights
  • xAI is offering free credits as part of a public beta programme
  • The Grok API first went live in October
  • xAI is also letting users a way to easily switch from OpenAI Python SDK

xAI is also offering additional free credits to any developer who has purchased prepaid credits so far

Photo Credit: xAI

xAI, the artificial intelligence (AI) firm founded by Elon Musk, rolled out an API for Grok on Monday. While the API was launched last month, the company has now offered several incentives for developers to try out the API and build apps and software using it. The most notable incentive on offer is free credits worth $25 (roughly Rs. 2,100) per month till the end of the year. The API key can be generated using the xAI console and users can further customise how to use it.

xAI Offers Grok API With Free Credits

Three weeks ago, Musk made a post on X (formerly known as Twitter) highlighting that the Grok API was live. However, it appears that did not get much traction from the developer community as the official handle of xAI on the social media platform separately announced the rolling out of the API as well as several freebies to gain the attention of developers.

For starters, any developer who signs up on the xAI console will get $25 worth of free credits every month. Given that two months are remaining till the end of 2024, developers can get a maximum of $50 (roughly Rs. 4,200) in API credits.

Advertisement

But that's not all. xAI is also rewarding any developer who has purchased prepaid credits for the API so far. In a blog post, the company said that any developer with purchased prepaid credits will get an equivalent amount of free monthly credits for every month until the end of the year.

Advertisement

This means if a developer has purchased $50 of prepaid credits, they will get $50 + $25 of total free credits in both November and December. Considering the xAI API costs $5 (roughly Rs. 420) per million input tokens and $15 (roughly Rs. 1261) per million output tokens, this is a significant reward for those willing to use the API.

The move also highlights the ongoing race of AI firms to capture the attention of the developer community. Since a wider adoption of an AI model is dependent on different apps and software running the large language model, developers have become an important entity for both ecosystem players as well as technology providers.

Advertisement

Apart from monetary incentives, xAI also highlighted that the company has made its REST API compatible with the ones offered by OpenAI and Anthropic. For instance, a developer using OpenAI Python SDK can change the base_url to https://api.x.ai/v1 and start building on the xAI API. This move also highlights the company's intention to reduce friction during migration from one system to another.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement

Related Stories

Popular Mobile Brands
  1. Redmi Note 15 Pro Series Launch Today: Know Price in India, Specs and More
  2. Apple Watch Hypertension Notifications Are Now Available in These Countries
  3. BSNL Launches Bharat Connect Prepaid; Slashes BSNL Superstar Premium Price
  4. Xiaomi 17, Xiaomi 17 Ultra Global Variants' RAM, Storage and Colours Leaked
  5. Why the Redmi Note Remains Xiaomi's Easiest Recommendation
  6. Wobble Launches X and K Series TVs in India With These Features
  7. UIDAI's New Aadhaar App Lets You Easily Update Mobile Number, Address
  8. Clawdbot (Now Moltbot) Explained: What is It and Why is It Going Viral?
  9. NASA Tests Nuclear Rocket Engine Designed for Faster Deep-Space Missions
  1. Redmi Note 15 Pro 5G, Redmi Note 15 Pro+ 5G Launching Today: Know Price in India, Features, Specifications and More
  2. Amazon Axes 16,000 Jobs as It Pushes AI and Efficiency
  3. Google AI Plus Plan Expanded Globally as the Most Affordable Gemini Subscription
  4. Redmi Note 15 Pro Series Colourways and Memory Configurations Listed on Amazon
  5. New ALMA Images Reveal Complex Rings Left Behind by Planet Formation
  6. BSNL Bharat Connect Prepaid Plan With 365-Day Validity Launched; Telco's BSNL Superstar Premium Plan Gets Price Cut
  7. Samsung Galaxy S26 Series Listed on US FCC Database With Support for Satellite Connectivity
  8. NASA Tests Nuclear Rocket Engine Designed for Faster Deep-Space Missions
  9. Hidden in Plain Sight: New Report Reveals Dozens of Nudify Apps in Major App Stores
  10. New Aadhaar App Full Version Launched in India, Introduces Easy Mobile Number Updation, and More
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.