A
Grok via Locus MPP
ai
Preview responses and set spending limits for this service through use.mpp.land
Free budget controls, response samples, and reliability routing.
Compliance Checks
All paid ops declare 402 response
MUST
10pt
All x-payment-info valid
MUST
10pt
Challenge has Cache-Control: no-store
MUST
5pt
Challenge digest on POST
SHOULD
3pt
Challenge has expires
SHOULD
3pt
Challenge has Problem Details
SHOULD
2pt
Challenge has required params
MUST
5pt
Challenge has WWW-Authenticate
MUST
5pt
Challenge returns 402
MUST
10pt
Correct Content-Type
MUST
5pt
Has Cache-Control on discovery
SHOULD
5pt
Has input schemas
SHOULD
5pt
Has llms.txt
SHOULD
5pt
Has /openapi.json at root
MUST
10pt
Has required top-level fields
MUST
10pt
Served over HTTPS
MUST
10pt
Uses standard categories
SHOULD
2pt
1 issue
- POST endpoint challenge missing digest parameter (SHOULD per spec)
Paid Operations (7)
POST /grok/chat dynamic USDC.e
Chat Completions
- Amount
- dynamic
- Currency
- USDC.e
- Method
- tempo
- Intent
- charge
- 402 Declared
- Yes
Input Schema
| Field | Type | Required | Description |
|---|---|---|---|
| frequency_penalty | number | No | Frequency penalty (-2.0 to 2.0, default 0) |
| max_tokens | number | No | Maximum output tokens |
| messages | array | Yes | Conversation messages. Each: { role: "system"|"user"|"assistant", content: "text" } or multimodal: { role: "user", content: [{ type: "text", text: "..." }, { type: "image_url", image_url: { url: "..." } }] } |
| model | string | Yes | Model ID (e.g. 'grok-3', 'grok-3-mini', 'grok-4-0709', 'grok-4-1-fast-reasoning', 'grok-code-fast-1') |
| n | number | No | Number of completions to generate (default 1) |
| presence_penalty | number | No | Presence penalty (-2.0 to 2.0, default 0) |
| stop | string | No | Stop sequences |
| temperature | number | No | Sampling temperature (0.0–2.0, default 1.0) |
| top_p | number | No | Nucleus sampling threshold (0.0–1.0) |
POST /grok/image-generate dynamic USDC.e
Image Generation
- Amount
- dynamic
- Currency
- USDC.e
- Method
- tempo
- Intent
- charge
- 402 Declared
- Yes
Input Schema
| Field | Type | Required | Description |
|---|---|---|---|
| aspect_ratio | string | No | Aspect ratio (e.g. '1:1', '16:9', '9:16', '4:3', '3:2', 'auto') |
| model | string | No | Image model ID: 'grok-imagine-image' (default), 'grok-imagine-image-pro' |
| n | number | No | Number of images to generate (default 1) |
| prompt | string | Yes | Text description of the image to generate |
| response_format | string | No | Response format: 'url' (default) or 'b64_json' |
POST /grok/image-edit dynamic USDC.e
Image Editing
- Amount
- dynamic
- Currency
- USDC.e
- Method
- tempo
- Intent
- charge
- 402 Declared
- Yes
Input Schema
| Field | Type | Required | Description |
|---|---|---|---|
| image | string | Yes | Source image: { url: "https://..." } or { url: "data:image/jpeg;base64,..." } |
| model | string | No | Image model ID: 'grok-imagine-image' (default), 'grok-imagine-image-pro' |
| n | number | No | Number of edited images to generate (default 1) |
| prompt | string | Yes | Text description of the edits to apply (e.g. "Add a hat to the person") |
| response_format | string | No | Response format: 'url' (default) or 'b64_json' |
POST /grok/web-search dynamic USDC.e
Chat with Web Search
- Amount
- dynamic
- Currency
- USDC.e
- Method
- tempo
- Intent
- charge
- 402 Declared
- Yes
Input Schema
| Field | Type | Required | Description |
|---|---|---|---|
| max_tokens | number | No | Maximum output tokens |
| messages | array | Yes | Conversation messages. Each: { role: "system"|"user"|"assistant", content: "text" } |
| model | string | Yes | Grok-4 family model required (e.g. 'grok-4-0709', 'grok-4-1-fast-reasoning', 'grok-4-1-fast-non-reasoning') |
| search_parameters | string | No | Web search filters: { allowed_domains: string[] (max 5), excluded_domains: string[] (max 5) } |
| temperature | number | No | Sampling temperature (0.0–2.0, default 1.0) |
POST /grok/x-search dynamic USDC.e
Chat with X Search
- Amount
- dynamic
- Currency
- USDC.e
- Method
- tempo
- Intent
- charge
- 402 Declared
- Yes
Input Schema
| Field | Type | Required | Description |
|---|---|---|---|
| max_tokens | number | No | Maximum output tokens |
| messages | array | Yes | Conversation messages. Each: { role: "system"|"user"|"assistant", content: "text" } |
| model | string | Yes | Grok-4 family model required (e.g. 'grok-4-0709', 'grok-4-1-fast-reasoning', 'grok-4-1-fast-non-reasoning') |
| temperature | number | No | Sampling temperature (0.0–2.0, default 1.0) |
POST /grok/code-execution dynamic USDC.e
Chat with Code Execution
- Amount
- dynamic
- Currency
- USDC.e
- Method
- tempo
- Intent
- charge
- 402 Declared
- Yes
Input Schema
| Field | Type | Required | Description |
|---|---|---|---|
| max_tokens | number | No | Maximum output tokens |
| messages | array | Yes | Conversation messages. Each: { role: "system"|"user"|"assistant", content: "text" } |
| model | string | Yes | Grok-4 family model required (e.g. 'grok-4-0709', 'grok-4-1-fast-reasoning', 'grok-4-1-fast-non-reasoning') |
| temperature | number | No | Sampling temperature (0.0–2.0, default 1.0) |
| tools | array | No | Additional tools to enable alongside code execution. |
POST /grok/tts dynamic USDC.e
Text-to-Speech
- Amount
- dynamic
- Currency
- USDC.e
- Method
- tempo
- Intent
- charge
- 402 Declared
- Yes
Input Schema
| Field | Type | Required | Description |
|---|---|---|---|
| language | string | Yes | BCP-47 language code (e.g. 'en', 'zh', 'fr', 'de', 'ja') or 'auto' for detection |
| output_format | string | No | Audio format config: { codec: 'mp3'|'wav'|'pcm'|'mulaw'|'alaw', sample_rate: 24000, bit_rate: 128000 } |
| text | string | Yes | Text to convert to speech (max 15,000 characters). Supports inline speech tags like [pause], [laugh], <whisper>text</whisper>. |
| voice_id | string | No | Voice: 'eve' (energetic, default), 'ara' (warm), 'rex' (confident), 'sal' (smooth), 'leo' (authoritative) |
Payment Methods
- Methods
- tempo
- Intents
- charge
- Currencies (discovery)
- USDC.e
- Currency (challenge)
- USDC.e on Tempo (Tempo)
- Multiple Challenges
- No
Recipients
- 0x060b0fB0Be9d90557577B3AEE480711067149Ff0
Per-endpoint breakdown
- POST /grok/chat
- 0x060b0fB0Be9d90557577B3AEE480711067149Ff0
- POST /grok/code-execution
- 0x060b0fB0Be9d90557577B3AEE480711067149Ff0
- POST /grok/image-generate
- 0x060b0fB0Be9d90557577B3AEE480711067149Ff0
- POST /grok/web-search
- 0x060b0fB0Be9d90557577B3AEE480711067149Ff0
- POST /grok/x-search
- 0x060b0fB0Be9d90557577B3AEE480711067149Ff0
Security
- TLS Version
- TLSv1.3
- Challenge ID Unique
- -
- Challenge ID Length
- -
- Digest Binding
- -
Uptime
- Discovery
- Reachable (544ms)
- Challenge
- Reachable (544ms)
- Last Checked
Schema Completeness
- Paid Operations
- 7
- With Input Schema
- 7
- With Description
- 7
Documentation
- Homepage
- https://x.ai
- API Reference
- https://docs.x.ai
- llms.txt
- https://beta.paywithlocus.com/mpp/grok.md reachable
Discovery
- OpenAPI URL
- https://grok.mpp.paywithlocus.com/openapi.json
- OpenAPI Version
- 3.1.0
- Service Version
- 1.0.0
- Document Size
- 7689 bytes
- Document Hash
- f136f9b48f6f68e6fe4f8484b6959cd97c4e19e23096afe6c02b54db5fb0aef9
Version History (2 snapshots)
Grade: B (82%) → A (95%)
Grade: A (95%) → B (82%)
Scan snapshots
| Date | Grade | Score | Response | Status |
|---|---|---|---|---|
| 2026-04-06 | A | 95% | 699ms | Up |
| 2026-04-07 | A | 95% | 504ms | Up |