Serves xAI's Grok models through an OpenAI-compatible Responses API with function calling, web search, voice, and image generation, for developers building on Grok.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your coding agent:
- Responses API
Use xAI API to generate text and multi-turn replies: ‹what you need›
- Image Generation
Use xAI API to generate images from text prompts: ‹what you need›
Call the API
https://api.x.ai
Auth An API key from xAI
Setup guide: docs.x.ai/developers/quickstart
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- API
- Auth
- API Key
- Skills
- 5
Skills
Responses API
Generates text and multi-turn replies with Grok models, optionally keeping conversation state server-side.
Function Calling
Lets Grok request calls to custom tools you define with a JSON schema and run locally.
Web Search
Lets Grok search the web and browse pages in real time to answer with current information.
Voice APIs
Provides text-to-speech, speech-to-text, and real-time speech-to-speech over WebSockets.
Image Generation
Generates images from text prompts with Grok Imagine models, with aspect ratio and resolution control.