Grok API (text)
Grok 4.7 and other Grok language models by API, with tools for web and X search, code execution and remote MCP
Paid fromNot stated

Facts
- Made by
- xAI
- Paid from
- Not stated
- Access
- HTTP, SDK
- Sold
- On its own
- Agents
- Not friendly
- API QA score
- [SCORE]
What it does
Each thing it works on, and what it does to it.
Jobs it does
Open a job to see every API that does it, side by side.
Alternatives
View allAPIs that do the same jobs, the ones sharing the most jobs first.
Your API hereSponsoredSee sponsor optionsHead to head
For agents
An agent cannot both sign up and pay for this by itself.
Buying and paying3 of 11 stated
- Agent can payNo
- Subscription requiredNo
- Pay per callYesper token
- Not stated yetAgent gets a key alone, First call without a key, Payment rails, Payment protocols, Smallest purchase (USD), Price published as data, Test purchases, Receipt or usage record
Reading and signing up4 of 10 stated
- Public pricesYes
- Self-serve sign-upYes
- OpenAPIYesdocs.x.ai/openapi.json
- Docs without loginYes
- Not stated yetFree use, OpenAPI version, llms.txt, Docs as Markdown, Signed agents, Agent instructions
MCP1 of 4 stated
- Vendor MCP serverThe vendor's MCP server only searches its docsxAI Docs MCP only; the API can call remote MCP tools; the MCP server only searches documentation; asRecorded: no
- Not stated yetMCP server hosted by the vendor, MCP sign-in, MCP revision
YesNoStated otherwiseNot stated
Serves use case1
This page as data
{
"id": "xai-grok-text",
"name": "Grok API (text)",
"vendor": "xAI",
"whatItIs": "Grok 4.7 and other Grok language models by API, with tools for web and X search, code execution and remote MCP",
"interfaces": [
"http",
"sdk"
],
"priceSource": "https://docs.x.ai/developers/models",
"priceChecked": "2026-11-15",
"things": [
"AiAnswer",
"AiModel"
],
"jobs": [
"AiAnswer.generate",
"AiModel.list"
]
}