Grok API through an OpenAI-compatible endpoint
Call Grok models through LivRouter's unified API. Keep one API key and a consistent OpenAI-compatible request format for chat, coding, and reasoning workflows.
Why route Grok through LivRouter
- Chat, coding, and reasoning models through one endpoint
- OpenAI-compatible request format for existing SDK integrations
- Unified usage logs, keys, and billing in one dashboard
- Current per-model rates in the published catalog
Common use cases
- General-purpose chat and fast interactive workflows
- Coding assistance and code review
- Reasoning and tool-augmented agent workflows
Quickstart
Create an API key in your dashboard, then call Grok through the OpenAI-compatible endpoint:
curl https://api.livrouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LIVROUTER_API_KEY" \
-d '{
"model": "grok-4.7",
"messages": [{"role": "user", "content": "Hello"}]
}'OpenAI-compatible SDK quickstart · SillyTavern connection guide
Grok models on LivRouter
Catalog checked . Rates below are the lowest listed plan rates; subscription charges are separate.
Other model families
FAQ
Which Grok models does LivRouter offer?
Available Grok models and their published rates are listed in the models & pricing catalog.
Can I call Grok with the OpenAI SDK?
Yes. Point your OpenAI-compatible client at LivRouter's /v1 endpoint and set the model name to a listed Grok model.