Grok API (text) vs Friendli Model APIs
Grok API (text)by xAIPaid fromNot statedAccessHTTP, SDKAgentsNot agent-friendlyAPI QA score[SCORE]View API
Friendli Model APIsby FriendliAIPaid fromNot statedAccessHTTP, SDK, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
9 different10 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 MCPFriendli Model APIs: Serverless inference API for open models (GLM, Gemma and others), OpenAI-compatible, billed per million input, cached-input and output tokens from prepaid credits
AccessGrok API (text): HTTP, SDKFriendli Model APIs: HTTP, SDK, CLI
Still on saleGrok API (text): YesFriendli Model APIs: Yes
What they work on
Buying and paying
Agent gets a key aloneGrok API (text): Not statedFriendli Model APIs: Nokey or token is created by a signed-in person
First call without a keyGrok API (text): Not statedFriendli Model APIs: Noevery call needs a key or OAuth token
Agent can payGrok API (text): NoFriendli Model APIs: Noplan bought by card in the web app by a person; no agent payment protocol
Payment railsGrok API (text): Not statedFriendli Model APIs: card, bankTransfer, marketplace'all major credit and debit cards', ACH, AWS Marketplace (billing docs)
Payment protocolsGrok API (text): Not statedFriendli Model APIs: noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredGrok API (text): NoFriendli Model APIs: Noprepaid credits, pay per token
Price published as dataGrok API (text): Not statedFriendli Model APIs: Noprices only in the HTML page
Receipt or usage recordGrok API (text): Not statedFriendli Model APIs: Yesbilling history and current usage in Friendli Suite; not checked by API
Pay per callGrok API (text): Yesper tokenFriendli Model APIs: Not stated
Reading and signing up
Public pricesGrok API (text): YesFriendli Model APIs: Yesplan prices on the public pricing page
Self-serve sign-upGrok API (text): YesFriendli Model APIs: Yesaccount by web sign-up; key or OAuth app from account settings
OpenAPIGrok API (text): Yesdocs.x.ai/openapi.jsonFriendli Model APIs: Not stated
Docs without loginGrok API (text): YesFriendli Model APIs: YesAPI reference readable without an account
llms.txtGrok API (text): Not statedFriendli Model APIs: Yesfriendli.ai/docs/llms.txt
Docs as MarkdownGrok API (text): Not statedFriendli Model APIs: YesAccept: text/markdown returns text/markdown on friendli.ai/docs
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: noFriendli Model APIs: The vendor's MCP server only searches its docshttps://friendli.ai/docs/mcp: 'search and retrieval tools for the FriendliAI Docs site'; the MCP server only searches documentation
Jobs both do
Open a job to see every API that does it.

