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-10-24
Paid run 2026-10-24T20:48:23Z · $0.026521 USDC · tx 69430808…74b883b6
Paid run 2026-10-24T22:02:43Z · $0.026521 USDC · tx 1da5c28d…dde18986