AI Models & Inference · xAI · Updated November 2026

How to Connect Grok by xAI to Your AI Agent, Including ChatGPT, Claude, or GrokBot

Inspect available Grok models, run OpenAI-compatible completions and embeddings, and audit access key metadata in xAI directly from your AI agent.

  • Inspect all active Grok text, reasoning, vision, and image models available to your xAI team.
  • Send prompts to Grok models via OpenAI-compatible chat completions and responses endpoints.
  • Control per-user, per-area permissions across Models & Catalog, Chat & Reasoning Inference, Embeddings & Image Gen, Files, Batches & Key Info in Grok by xAI so each teammate sees only what belongs to their role.
On this page ▾

Example prompts for Grok by xAI

Copy any prompt below and paste it into ChatGPT, Claude, or GrokBot.

“List all Grok models currently enabled on our xAI account along with their context windows and capabilities.”

Model catalog

“Run a second-opinion analysis of our Q4 market memo using Grok and compare its key takeaways.”

Cross-model inference

“Check our active xAI access key metadata, permissions, and model restrictions before deploying to production.”

Key verification

“Generate structured JSON classifications for these 20 customer support themes using xAI chat completions.”

Structured outputs

What your AI can do in Grok by xAI

Read live data right away, or allow create and update actions with your approval.

List available Grok models

View & search

Inspect all active Grok text, reasoning, vision, and image models available to your xAI team.

Inspect access key status & scopes

View & search

Verify active xAI access key metadata, team ID, creation date, and ACL restrictions.

Run chat & reasoning completions

Create & update

Send prompts to Grok models via OpenAI-compatible chat completions and responses endpoints.

Generate text embeddings

Create & update

Compute vector embeddings for semantic search, clustering, and retrieval workflows.

Create images with Grok Imagine

Create & update

Generate or edit visual assets programmatically using xAI image generation endpoints.

Manage batch inference & files

Create & update

Upload prompt files and monitor asynchronous batch inference jobs on xAI.

Per-user, per-area permissions & security

Built so teams can connect Grok by xAI safely without sharing an unrestricted admin account.

Models & Catalog

Read-only discovery of enabled Grok language, vision, and image models.

Chat & Reasoning Inference

Synchronous chat completions, structured outputs, and tool-calling requests.

Embeddings & Image Gen

Vector embedding computation and Grok image generation endpoints.

Files, Batches & Key Info

Uploaded file assets, batch processing jobs, and access key metadata checks.

  • Per-user permissions across every area of Grok by xAI

    Choose what each teammate can view or change across different areas of Grok by xAI, such as Models & Catalog, Chat & Reasoning Inference, Embeddings & Image Gen, Files, Batches & Key Info. Set view-only, edit, or hidden access per team member so every department sees only what belongs to their role.

  • Your own login, view-only by default

    Every person signs in with their own authorized Grok by xAI credentials. Keep create or update actions off until you are ready to turn them on.

  • Zero stored copies and never used to train AI

    UniversalMCP passes requests live between your AI assistant and Grok by xAI. Your business data is never stored as a copy and never used to train AI models.

  • Disconnect in one click anytime

    Revoke access for a single teammate or disconnect Grok by xAI completely at any time from your UniversalMCP dashboard.

Frequently asked questions

Click Connect Grok by xAI for Free, sign in once with your own Grok by xAI login, and paste your ready-to-paste UniversalMCP link into ChatGPT, Claude, GrokBot, or any other AI app. Setup takes about 60 seconds, and every request runs under the permissions you set.
You choose what each teammate can view or change across different areas of Grok by xAI (such as Models & Catalog, Chat & Reasoning Inference, Embeddings & Image Gen, Files, Batches & Key Info). Every request from ChatGPT, Claude, GrokBot, or any other AI app runs strictly within the permissions you set for each user.
Yes. Turn off create and update permissions at any time so ChatGPT, Claude, or GrokBot can only read and summarize your Grok by xAI data.
UniversalMCP is 100% free ($0) for everyone, including unlimited team members, unlimited business apps, per-user and per-area permissions, and shared team connections. No credit card required.

More popular app guides

Ready to connect Grok by xAI to your AI?

Copy your MCP link and connect Grok by xAI to ChatGPT, Claude, GrokBot, or any other AI assistant in 60 seconds.

Connect Grok by xAI for Free