Grok
AI
https://apiserver.mpprouter.dev/v1/services/grokxAI models — chat, web/X search, code execution, image generation/editing, and text-to-speech.
Endpoints
Method
URL
Description
Price
POST—
https://apiserver.mpprouter.dev/v1/services/grok/grok/chatPOST—
https://apiserver.mpprouter.dev/v1/services/grok/grok/image-generatePOST—
https://apiserver.mpprouter.dev/v1/services/grok/grok/image-editPOST—
https://apiserver.mpprouter.dev/v1/services/grok/grok/web-searchPOST—
https://apiserver.mpprouter.dev/v1/services/grok/grok/x-searchPOST—
https://apiserver.mpprouter.dev/v1/services/grok/grok/code-executionPOST—
https://apiserver.mpprouter.dev/v1/services/grok/grok/ttsTry it with your agent
Ask Grok via MPP Router: "Explain HTTP 402 Payment Required in one sentence." Pay with my Stellar USDC wallet.
Requires the stellar-agent-wallet skill — see Use with agents.
Code sample
curl -X POST "https://apiserver.mpprouter.dev/v1/services/grok/grok/chat" \
-H "Content-Type: application/json" \
-d '{}'
# returns 402 Payment Required — pay with the stellar-agent-wallet skill (mppx / x402)Verification
/v1/services/grok/grok_chat
Model-dependent (~$0.001–$0.02) (dynamic)
charge-verified 2026-08-01
Verified — tx evidence not yet published here