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. OTT Releases This Week: Bhool Chuk Maaf, Wolf Man, Maranamass, and More
  2. Alcatel V3 Series India Launch Date Officially Revealed
  3. Realme GT 7, Realme GT 7T Leak Hints at Price and Specifications
  4. Nothing Phone 2 Update Brings Privacy Space, Nothing Gallery Features
  5. Microsoft Could Launch These Surface PCs With Arm-Based AMD Chips in 2026
  6. Stellar Blade is Coming to PC Next Month: See Specs, New Content Details
  7. Samsung Might Soon Let You Turn Your Images Into Videos Using AI
  8. Samsung May Bring LOG Recording for Front Camera to All Galaxy S25 Models
  1. Manamey Tamil Version Now Streaming on Aha: Everything You Need to Know
  2. WazirX Reimbursement Plan Faces Delay as Singapore Court Extends Existing Moratorium to June 6
  3. Coinbase Faces Up to $400 Million Reimbursement Cost After Recent Cyberattack
  4. Urban Genesis Smartwatch With 1.45-inch AMOLED Display, Up to 7 Days of Battery Life Launched in India
  5. Stellar Blade PC Launch Set for June 11, PC System Requirements Revealed
  6. Realme GT 7 Dream Edition India Launch Confirmed; Will Arrive Alongside Realme GT 7
  7. Samsung Working On AI-Powered Image-to-Video Feature, Tipster Claims
  8. Amazfit Bip 6 With 1.97-Inch AMOLED Display, Up to 14 Days of Battery Life Launched in India: Price, Features
  9. Windsurf Releases SWE-1 Series AI Models Capable of Full-Process Software Development
  10. Samsung Galaxy S24 Ultra Available at Lower Price on Amazon and Flipkart With Discounts, Bank Offers
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.