Elon Musk's xAI Launches New API With Function Calling Capability, Available With Grok-Beta AI Model

The API version of Grok AI model can be accessed via the xAI Console.

Advertisement
Written by Akash Dutta, Edited by Siddharth Suvarna | Updated: 22 October 2024 16:48 IST
Highlights
  • Currently only the grok-beta AI model is available via API
  • It is priced at $5 (roughly Rs. 420) per million input tokens
  • Per million output tokens are priced at $15 (roughly Rs. 1261)
Elon Musk's xAI Launches New API With Function Calling Capability, Available With Grok-Beta AI Model

The Grok API currently only supports text generation

Photo Credit: xAI

Elon Musk's's xAI launched an application programming interface (API) for Grok on Monday. The billionaire entrepreneur promised to turn the native artificial intelligence (AI) chatbot developed by xAI into an API in August, and now, users can access and use it. The API key can be generated using the xAI console and users can further customise how to use it. Notably, the pricing for input and output tokens have been kept higher than competitors. Currently, only one AI model is available to use via the API.

xAI API Launched

In a post on X (formerly known as Twitter), Musk announced that the API version of the AI model is now live for all users. An API is essentially a set of rules that allow different systems to communicate with each other. The tool is useful for developers who can then build apps and platforms by using data and other information from APIs.

In this particular case, the Grok API can allow developers to create various kinds of chatbot-style apps (or integrate the chatbot capability within an app) which are all powered by the Grok AI models.

Currently, only one large language model (LLM) dubbed “grok-beta” is available via the API. Notably, no details around the AI model is available. It is also not certain if it is a distilled model derived from the recently released Grok-2 or not. The AI model only supports text generation.

Advertisement

The xAI API costs $5 (roughly Rs. 420) per million input tokens and $15 (roughly Rs. 1261) per million output tokens. Notably, one million tokens is approximately 7,50,000 words. Notably, the pricing is kept on the higher end compared to rivals such as OpenAI's ChatGPT and Google's Gemini. Those interested in trying out the new xAI API can do so via the xAI Console.

The API supports function calling which is essential for any AI model-based API. Function calling allows users to make clear requests to the system and the interface fetches the required data. In xAI's case, the API can connect with Grok AI model which is an Internet-enabled chatbot, and find responses to specific prompts and queries.

 

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Advertisement

Related Stories

Popular Mobile Brands
  1. Vivo Y400 Pro 5G With 5,500mAh Battery Launched in India: Price, Features
  2. Oppo Reno 14 5G Series Teased to Launch in India Soon
  3. 16 Billion Login Credentials Have Been Leaked in Massive Data Breach
  4. OTT Releases This Week: Ground Zero, Detective Sherdil, Found S2, and More
  5. Nothing Phone 3 to Get New Glyph Matrix Interface on the Rear Panel
  6. Nothing Headphone 1 Renders Leaked Ahead of July 1 Launch: See Design
  7. Samsung Galaxy M36 5G India Launch Date and Key Features Revealed
  8. Samsung Galaxy S25 FE Leaked Render Suggests Improved Design
  9. Vivo Y400 Pro 5G India Launch Today: All You Need to Know
  10. Adobe Launches a New Camera App for iPhone With Full Manual Controls
  1. Trump Extends Deadline for US TikTok Sale to September
  2. Nothing Headphone 1 Renders and Live Images Leak Ahead of July 1 Launch; Shows Unique Design
  3. BBC Said to Have Threatened Legal Action Against AI Start-up Perplexity Over Content Scraping
  4. Adobe Launches Project Indigo, a Camera App for iPhone With Full Manual Controls
  5. Oppo Find X9 Pro Camera Details Leaked; Said to Feature Samsung ISOCELL HP5 Sensor
  6. Nintendo Switch 2 Third-Party Game Sales Reportedly 'Very Low' Despite Console's Record Launch
  7. 16 Billion Login Credentials Leaked in Massive Data Breach Impacting Apple, Google and More
  8. Vivo Y400 Pro 5G With 50-Megapixel Rear Camera, 5,500mAh Battery Launched in India: Price, Specifications
  9. Samsung Galaxy S25 FE Renders Leak Online, Suggesting Familiar Design With Thinner Bezels
  10. Samsung Galaxy Z Flip 7 Leaked Renders Suggest Edge-to-Edge Cover Display
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.