🌐
xAI
x.ai › api
API | xAI
1 month ago - Our API is compatible with OpenAI and Anthropic’s SDKs. Migrating is as easy as generating an API key and changing a URL.Start building · Installing Grok...
Grok
Meet Grok by xAI: your truth-seeking AI companion for honest answers and insightful analysis.
News
It includes native tool use and ... as well as through the xAI API. We are also introducing a new SuperGrok Heavy tier with access to Grok 4 Heavy - the most powerful version of Grok 4. ... We are thrilled to unveil an early preview of Grok 3, our most advanced model yet, ...
Careers
We are a team of AI technologists and business leaders on a mission to build AI systems that can help humanity understand the world better.
Colossus
We’re running the biggest supercomputer in the world. From start to finish, Colossus was built in 122 days—outpacing every estimate. It’s the most powerful AI training system out there, and it’s expected to double in size in a matter of months.
🌐
xAI
docs.x.ai › docs › models › grok-3
Grok 3
The Hitchhiker's Guide to Grok · Models and Pricing · What's New? Key Information · Manage Billing · Consumption and Rate Limits · Regional Endpoints · Collections · new · Using Management API · Usage Explorer · Migrating to New Models · Debugging Errors ·
Discussions

Grok 3 API
If you're thinking of using Grok 3 for coding, search this sub for the word "Tip" on ways to do that before the API goes live. More on reddit.com
🌐 r/grok
13
3
March 8, 2025
Use Grok 3 with API, thanks to "Chapito"
Pretty sure this is against ToS and has high potential for abuse from certain kinds of people... More on reddit.com
🌐 r/grok
18
16
December 28, 2024
How does the free use of Grok 3 actually work?
When you’re using grok 3 in the web UI on grok.com, if you open your console and head to “network”, submit a message, you’ll see all the calls it makes while replying to you, one of the last API calls it makes is to the rate-limits endpoint, which keeps track of your usage and timeline. If you click on that, then head to “response” it will show you how many messages you’ve used, your limit, and what the interval is for your reset. 7200 = 2 hours. More on reddit.com
🌐 r/grok
12
9
March 15, 2025
How good is Grok 3?
It's good. Smart, insightful, and creative. My only complaint is that it's too direct, but that can be solved with prompting. More on reddit.com
🌐 r/SillyTavernAI
31
13
February 23, 2025
🌐
xAI
docs.x.ai › docs › overview
xAI API
Welcome to the xAI developer docs! Our API makes it easy to harness Grok's intelligence in your projects.
🌐
Grok API
grok-api.apidog.io
Introduction - Grok API
xAI offers an API for developers ... apps, as well as Grok in X experience. Build with Grok 3To access the Grok 3 models via API, please create an xAI account and an API key....
🌐
GitHub
github.com › mem0ai › grok3-api
GitHub - mem0ai/grok3-api: Unofficial Grok 3 API
Grok3 is cool, smart, and useful, but there is no official API available. This is an unofficial Python client for interacting with the Grok 3 API.
Starred by 526 users
Forked by 98 users
Languages   Python

chatbot developed by xAI

Grok_chatbot_example_screenshot.webp
Grok is a generative artificial intelligence (generative AI) chatbot developed by xAI. It was launched in November 2023 by Elon Musk as an initiative based on the large language model (LLM) of … Wikipedia
Factsheet
Developer xAI
Initial release November 3, 2023; 2 years ago (2023-11-03)
Stable release Grok 4.1 /
November 17, 2025; 1 month ago (2025-11-17)
Grok 4.1 Thinking /
November 17, 2025; 1 month ago (2025-11-17)
Grok 4.1 Fast /
November 19, 2025; 58 days ago (2025-11-19)
Factsheet
Developer xAI
Initial release November 3, 2023; 2 years ago (2023-11-03)
Stable release Grok 4.1 /
November 17, 2025; 1 month ago (2025-11-17)
Grok 4.1 Thinking /
November 17, 2025; 1 month ago (2025-11-17)
Grok 4.1 Fast /
November 19, 2025; 58 days ago (2025-11-19)
🌐
Grok
grok.com
Grok
Grok is a free AI assistant designed by xAI to maximize truth and objectivity. Grok offers real-time search, image generation, trend analysis, and more.
Find elsewhere
🌐
DataCamp
datacamp.com › tutorial › grok-3-api
Grok 3 API: A Step-by-Step Guide With Examples | DataCamp
May 1, 2025 - Learn how to use the Grok 3 API for tasks ranging from basic queries to advanced features like function calling and structured outputs.
🌐
NewOaks AI
newoaks.ai › blog › beginners-guide-grok-3-api-2025
A Beginner's Guide to the Grok 3 API in 2025
March 7, 2025 - Use the base endpoint https://api.x.ai/v1 and include your API key in the headers as Authorization: Bearer <your_key>. Start Building: You’re ready to integrate Grok 3 into your applications.
🌐
Merge.dev
merge.dev › blog › grok-api-key
How to get your Grok API key (5 steps)
January 2, 2025 - Learn about each step you'll need to take to generate your API key for any of xAI's Grok models.
🌐
xAI
x.ai › news › grok-3
Grok 3 Beta — The Age of Reasoning Agents | xAI
In the coming weeks, we will release Grok 3 and Grok 3 mini via our API platform, offering access to both the standard and reasoning models.
🌐
Reddit
reddit.com › r/grok › use grok 3 with api, thanks to "chapito"
r/grok on Reddit: Use Grok 3 with API, thanks to "Chapito"
December 28, 2024 -

As a developper, I like to use AI assistants to help me code faster.
My favorite tool are "AIder" and "Roo-Code" (a fork of Cline).

I find Grok 3 a good coder, but since there is no API access, is't not possible to use it with my favorite tools.

"is't not possible" ? No: "it WAS not possible"

Here comes "Chapito" : a program that makes the bridge between a web-based chatbot and an API interface (OpenAI Compatible API interface).

https://github.com/Yajusta/Chapito

Another benefit is to use your premium account without having to pay for separate API access.

It's a very young project, but it works fine with Grok and Mistral. Other chatbots will be added soon.

If some developpers want to test it and give me feedback, I would be gratefull 🫶

🌐
Analytics Vidhya
analyticsvidhya.com › home › how to access grok 3 api?
How to Access the Grok 3 API? - Analytics Vidhya
You can find it directly at https://x.ai/api (just scroll down a bit). ... This tool gives you a real-time cost estimate so you can plan your usage efficiently and avoid unexpected billing.
Published   July 25, 2025
🌐
xAI
docs.x.ai › docs › models
Models and Pricing
The advanced agentic search capabilities powering grok.com are generally available in the new agentic tool calling API, and the Live Search API but will be deprecated by January 12, 2026.
🌐
AI/ML API
docs.aimlapi.com › api-references › text-models-llm › xai › grok-3-beta
grok-3-beta | AI/ML API Documentation
December 5, 2025 - How can I assist you today?", "refusal": null, "annotations": null, "audio": null, "tool_calls": null }, "finish_reason": "stop", "logprobs": null } ], "model": "x-ai/grok-3-beta", "usage": { "prompt_tokens": 137, "completion_tokens": 914, "total_tokens": 1051, "completion_tokens_details": null, "prompt_tokens_details": null } } ... import requests import json # for getting a structured output with indentation response = requests.post( "https://api.aimlapi.com/v1/chat/completions", headers={ # Insert your AIML API Key instead of <YOUR_AIMLAPI_KEY>: "Authorization":"Bearer <YOUR_AIMLAPI_KEY>", "Content-Type":"application/json" }, json={ "model":"x-ai/grok-3-beta", "messages":[ { "role":"user", "content":"Hello" # insert your prompt here, instead of Hello } ] } ) data = response.json() print(json.dumps(data, indent=2, ensure_ascii=False))
🌐
OpenRouter
openrouter.ai › x-ai › grok-3
Grok 3 - API, Providers, Stats | OpenRouter
Grok 3 is the latest model from xAI. It's their flagship model that excels at enterprise use cases like data extraction, coding, and text summarization. Possesses deep domain knowledge in finance, healthcare, law, and science.
🌐
Cline
docs.cline.bot › provider-config › xai-grok
xAI (Grok) - Cline
Enter API Key: Paste your xAI API key into the “xAI API Key” field. Select Model: Choose your desired Grok model from the “Model” dropdown. Grok 3 Mini models feature specialized reasoning capabilities, allowing them to “think before ...
🌐
X
x.com › xai › status › 1913308977477353582
xAI
Meet the Grok 3 family, now on our API! Grok 3 Mini outperforms reasoning models at 5x lower cost, redefining cost-efficient intelligence.
🌐
Apidog
apidog.com › blog › grok-3-api
How to Use the Grok-3 API
November 16, 2025 - Let’s dive in and unlock the power of this API together. ... Developed by xAI, Grok-3 is a cutting-edge AI model designed to handle tasks like text generation, comprehension, and potentially other multimodal capabilities.
🌐
xAI
x.ai
Welcome | xAI
We've just launched SuperGrok Heavy, providing access to Grok Heavy and much higher rate limits.Sign up now ... The best assistant in the world is now Enterprise ready. ... State-of-the-art RAG system built directly into our API.