Grok API (text) vs AI/ML API
Fact by fact
9 different14 stated by only one1 the same on both
The basics
What it isGrok API (text): Grok 4.7 and other Grok language models by API, with tools for web and X search, code execution and remote MCPAI/ML API: One OpenAI-compatible API key and USD balance for 800+ third-party models (chat, images, video, speech, embeddings, OCR, 3D) and a remote MCP server over 10,000+ tools, billed per call
AccessGrok API (text): HTTP, SDKAI/ML API: HTTP, SDK, CLI, MCP
Still on saleGrok API (text): YesAI/ML API: Yes
What they work on
Buying and paying
Agent gets a key aloneGrok API (text): Not statedAI/ML API: Nosign-in in a browser
First call without a keyGrok API (text): Not statedAI/ML API: Noevery call needs a key or OAuth token
Agent can payGrok API (text): NoAI/ML API: Nobalance topped up by card, PayPal or crypto in the account by a person
Payment railsGrok API (text): Not statedAI/ML API: card, crypto, other'credit or debit card, PayPal or cryptocurrency'
Payment protocolsGrok API (text): Not statedAI/ML API: nonenone named
Subscription requiredGrok API (text): NoAI/ML API: No'There is no subscription'
Smallest purchase (USD)Grok API (text): Not statedAI/ML API: From $20'Top up from $20'
Price published as dataGrok API (text): Not statedAI/ML API: Yes'agents should read include=pricing from the catalogue' (GET /v1/models)
Test purchasesGrok API (text): Not statedAI/ML API: Yesdocs list 'Sandbox Mode'
Receipt or usage recordGrok API (text): Not statedAI/ML API: Yes'GET /v2/billing returns current_balance'; 'Request Tracing and Cost Headers'
Pay per callGrok API (text): Yesper tokenAI/ML API: Not stated
Reading and signing up
Public pricesGrok API (text): YesAI/ML API: Yesper-model prices per 1M tokens
Self-serve sign-upGrok API (text): YesAI/ML API: Yeskeys at aimlapi.com/app/keys after sign-in
OpenAPIGrok API (text): Yesdocs.x.ai/openapi.jsonAI/ML API: Not stated
Docs without loginGrok API (text): YesAI/ML API: Yesdocs public
llms.txtGrok API (text): Not statedAI/ML API: Yeshttps://aimlapi.com/llms.txt and docs.aimlapi.com/llms.txt
Docs as MarkdownGrok API (text): Not statedAI/ML API: Yesdocs answer GET index.md?ask=
MCP
Vendor MCP serverGrok API (text): The 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: noAI/ML API: Yeshttps://mcp.aimlapi.com/mcp
MCP server hosted by the vendorGrok API (text): Not statedAI/ML API: Yeshosted by the vendor
MCP sign-inGrok API (text): Not statedAI/ML API: Signs in with OAuth'OAuth 2.1 + PKCE with dynamic client registration'; a Bearer API key also works
Jobs both do
Open a job to see every API that does it.

