Skip to content

Grok

Grok is a family of AI models and an API from xAI for building chat assistants that can call tools, and optionally use live search to include current information from the web and X.

Developers access Grok through a REST Responses API — the recommended interface, with a legacy chat-completions endpoint still available — that supports prompting and function calling to integrate external tools. Live Search is off by default. When enabled per request, it can pull from configurable sources including the web, news, and X posts. xAI has also released the Grok-1 base model weights and architecture under the Apache 2.0 license for local experimentation outside the hosted API.

Official website: grok.com

Course

Building Type-Safe LLM Agents With Pydantic AI

Build type-safe LLM agents in Python with Pydantic AI using structured outputs, function calling, and dependency injection.

intermediate ai


By Leodanis Pozo Ramos • Updated May 22, 2026 • Reviewed by Martin Breuss