{
  "x402Version": 2,
  "id": 57516,
  "slug": "57516",
  "resource": "https://api.mekler.ai/v1/compute/inference/generate-completions",
  "description": "Generate text or JSON completions for one to 20 independent tasks. Choose GPT-6 Luna or GPT-6.1 Sol, or let task-based rules select each model. Review the selected models and total price before payment. Receive a private asynchronous job and recover stored results after completion. No tools, browsing or streaming.",
  "type": "http",
  "serviceName": "Mekler AI",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "9mMDrHabSf73MPn1ANdANSmsNw2wKiqE7JZ7eD6EUSRc",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF6c6E2e530bb311c14a49C1a07C720fc232c07c5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "expires_at": {
            "type": "integer"
          },
          "job_id": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "plan": {
            "required": [
              "version",
              "models",
              "price_micros"
            ],
            "type": "object"
          },
          "receipt": {
            "required": [
              "network",
              "transaction",
              "price_micros",
              "finalized"
            ],
            "type": "object"
          },
          "recovery_token": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "results": {
            "items": {
              "required": [
                "index",
                "model",
                "content",
                "finish_reason",
                "usage"
              ],
              "type": "object"
            },
            "maxItems": 20,
            "minItems": 1,
            "type": "array"
          },
          "retry": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "state": {
            "const": "complete"
          }
        },
        "required": [
          "job_id",
          "state",
          "plan",
          "recovery_token",
          "expires_at",
          "retry",
          "results",
          "receipt"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "max_price_usdc": "0.005",
            "tasks": [
              {
                "max_output_tokens": 64,
                "messages": [
                  {
                    "content": "Summarize: the meeting starts at noon.",
                    "role": "user"
                  }
                ],
                "task": "summarize"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "expires_at": 1794528000,
            "job_id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
            "plan": {
              "models": [
                {
                  "index": 0,
                  "input_token_allowance": 326,
                  "max_output_tokens": 64,
                  "model": "gpt-6-luna",
                  "provider_model": "gpt-6-luna",
                  "reason": "bounded_general_task",
                  "reasoning_effort": "none",
                  "response_format": "text"
                }
              ],
              "output_policy": "Complete text or JSON object; refusals, truncation and any failed item are uncharged.",
              "price_micros": 5000,
              "processing": "OpenAI direct API; store=false; standard processing",
              "version": "inference-v2-openai"
            },
            "receipt": {
              "finalized": true,
              "network": "eip155:8453",
              "price_micros": 5000,
              "transaction": "0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
            },
            "recovery_token": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
            "results": [
              {
                "content": "The meeting starts at noon.",
                "finish_reason": "stop",
                "index": 0,
                "model": "gpt-6-luna",
                "provider_model": "gpt-6-luna",
                "reported_model": "gpt-6-luna",
                "usage": {
                  "completion_tokens": 7,
                  "prompt_tokens": 18,
                  "total_tokens": 25
                }
              }
            ],
            "retry": "Recover with the original proof or private token. Do not pay again.",
            "state": "complete"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "idempotency_key": {
                    "maxLength": 128,
                    "minLength": 1,
                    "pattern": "^[A-Za-z0-9_-]{22,128}$",
                    "type": "string"
                  },
                  "max_price_usdc": {
                    "maxLength": 8,
                    "minLength": 1,
                    "pattern": "^(?:0(?:\\.[0-9]{1,6})?|1(?:\\.0{1,6})?)$",
                    "type": "string"
                  },
                  "tasks": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "max_output_tokens": {
                          "default": 1000,
                          "maximum": 4096,
                          "minimum": 32,
                          "type": "integer"
                        },
                        "messages": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "content": {
                                "maxLength": 16000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "role": {
                                "enum": [
                                  "system",
                                  "user",
                                  "assistant"
                                ]
                              }
                            },
                            "required": [
                              "role",
                              "content"
                            ],
                            "type": "object"
                          },
                          "maxItems": 16,
                          "minItems": 1,
                          "type": "array"
                        },
                        "model": {
                          "default": "auto",
                          "enum": [
                            "auto",
                            "gpt-6-luna",
                            "gpt-6.1-sol"
                          ]
                        },
                        "priority": {
                          "default": "balanced",
                          "enum": [
                            "balanced",
                            "economy",
                            "quality",
                            "speed"
                          ]
                        },
                        "response_format": {
                          "default": "text",
                          "enum": [
                            "text",
                            "json_object"
                          ]
                        },
                        "task": {
                          "default": "auto",
                          "enum": [
                            "auto",
                            "extract",
                            "classify",
                            "summarize",
                            "translate",
                            "write",
                            "code",
                            "analyze",
                            "plan"
                          ]
                        }
                      },
                      "required": [
                        "messages"
                      ],
                      "type": "object"
                    },
                    "maxItems": 20,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "tasks",
                  "max_price_usdc"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "expires_at": {
                    "type": "integer"
                  },
                  "job_id": {
                    "maxLength": 64,
                    "minLength": 1,
                    "type": "string"
                  },
                  "plan": {
                    "required": [
                      "version",
                      "models",
                      "price_micros"
                    ],
                    "type": "object"
                  },
                  "receipt": {
                    "required": [
                      "network",
                      "transaction",
                      "price_micros",
                      "finalized"
                    ],
                    "type": "object"
                  },
                  "recovery_token": {
                    "maxLength": 64,
                    "minLength": 1,
                    "type": "string"
                  },
                  "results": {
                    "items": {
                      "required": [
                        "index",
                        "model",
                        "content",
                        "finish_reason",
                        "usage"
                      ],
                      "type": "object"
                    },
                    "maxItems": 20,
                    "minItems": 1,
                    "type": "array"
                  },
                  "retry": {
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "state": {
                    "const": "complete"
                  }
                },
                "required": [
                  "job_id",
                  "state",
                  "plan",
                  "recovery_token",
                  "expires_at",
                  "retry",
                  "results",
                  "receipt"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "inference",
    "models",
    "routing",
    "bazaar"
  ],
  "sourceHost": "api.mekler.ai",
  "lastUpdated": "2026-10-13T17:10:17.54Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T17:13:13.378Z"
  },
  "metadata": {
    "serviceName": "Mekler AI",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "max_price_usdc": "0.005",
              "tasks": [
                {
                  "max_output_tokens": 64,
                  "messages": [
                    {
                      "content": "Summarize: the meeting starts at noon.",
                      "role": "user"
                    }
                  ],
                  "task": "summarize"
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "expires_at": 1794528000,
              "job_id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
              "plan": {
                "models": [
                  {
                    "index": 0,
                    "input_token_allowance": 326,
                    "max_output_tokens": 64,
                    "model": "gpt-6-luna",
                    "provider_model": "gpt-6-luna",
                    "reason": "bounded_general_task",
                    "reasoning_effort": "none",
                    "response_format": "text"
                  }
                ],
                "output_policy": "Complete text or JSON object; refusals, truncation and any failed item are uncharged.",
                "price_micros": 5000,
                "processing": "OpenAI direct API; store=false; standard processing",
                "version": "inference-v2-openai"
              },
              "receipt": {
                "finalized": true,
                "network": "eip155:8453",
                "price_micros": 5000,
                "transaction": "0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
              },
              "recovery_token": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
              "results": [
                {
                  "content": "The meeting starts at noon.",
                  "finish_reason": "stop",
                  "index": 0,
                  "model": "gpt-6-luna",
                  "provider_model": "gpt-6-luna",
                  "reported_model": "gpt-6-luna",
                  "usage": {
                    "completion_tokens": 7,
                    "prompt_tokens": 18,
                    "total_tokens": 25
                  }
                }
              ],
              "retry": "Recover with the original proof or private token. Do not pay again.",
              "state": "complete"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "idempotency_key": {
                      "maxLength": 128,
                      "minLength": 1,
                      "pattern": "^[A-Za-z0-9_-]{22,128}$",
                      "type": "string"
                    },
                    "max_price_usdc": {
                      "maxLength": 8,
                      "minLength": 1,
                      "pattern": "^(?:0(?:\\.[0-9]{1,6})?|1(?:\\.0{1,6})?)$",
                      "type": "string"
                    },
                    "tasks": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "max_output_tokens": {
                            "default": 1000,
                            "maximum": 4096,
                            "minimum": 32,
                            "type": "integer"
                          },
                          "messages": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "content": {
                                  "maxLength": 16000,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "role": {
                                  "enum": [
                                    "system",
                                    "user",
                                    "assistant"
                                  ]
                                }
                              },
                              "required": [
                                "role",
                                "content"
                              ],
                              "type": "object"
                            },
                            "maxItems": 16,
                            "minItems": 1,
                            "type": "array"
                          },
                          "model": {
                            "default": "auto",
                            "enum": [
                              "auto",
                              "gpt-6-luna",
                              "gpt-6.1-sol"
                            ]
                          },
                          "priority": {
                            "default": "balanced",
                            "enum": [
                              "balanced",
                              "economy",
                              "quality",
                              "speed"
                            ]
                          },
                          "response_format": {
                            "default": "text",
                            "enum": [
                              "text",
                              "json_object"
                            ]
                          },
                          "task": {
                            "default": "auto",
                            "enum": [
                              "auto",
                              "extract",
                              "classify",
                              "summarize",
                              "translate",
                              "write",
                              "code",
                              "analyze",
                              "plan"
                            ]
                          }
                        },
                        "required": [
                          "messages"
                        ],
                        "type": "object"
                      },
                      "maxItems": 20,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "tasks",
                    "max_price_usdc"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "expires_at": {
                      "type": "integer"
                    },
                    "job_id": {
                      "maxLength": 64,
                      "minLength": 1,
                      "type": "string"
                    },
                    "plan": {
                      "required": [
                        "version",
                        "models",
                        "price_micros"
                      ],
                      "type": "object"
                    },
                    "receipt": {
                      "required": [
                        "network",
                        "transaction",
                        "price_micros",
                        "finalized"
                      ],
                      "type": "object"
                    },
                    "recovery_token": {
                      "maxLength": 64,
                      "minLength": 1,
                      "type": "string"
                    },
                    "results": {
                      "items": {
                        "required": [
                          "index",
                          "model",
                          "content",
                          "finish_reason",
                          "usage"
                        ],
                        "type": "object"
                      },
                      "maxItems": 20,
                      "minItems": 1,
                      "type": "array"
                    },
                    "retry": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "state": {
                      "const": "complete"
                    }
                  },
                  "required": [
                    "job_id",
                    "state",
                    "plan",
                    "recovery_token",
                    "expires_at",
                    "retry",
                    "results",
                    "receipt"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.mekler.ai",
    "manifest_name": "api.mekler.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "expires_at": 1794528000,
    "job_id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "plan": {
      "models": [
        {
          "index": 0,
          "input_token_allowance": 326,
          "max_output_tokens": 64,
          "model": "gpt-6-luna",
          "provider_model": "gpt-6-luna",
          "reason": "bounded_general_task",
          "reasoning_effort": "none",
          "response_format": "text"
        }
      ],
      "output_policy": "Complete text or JSON object; refusals, truncation and any failed item are uncharged.",
      "price_micros": 5000,
      "processing": "OpenAI direct API; store=false; standard processing",
      "version": "inference-v2-openai"
    },
    "receipt": {
      "finalized": true,
      "network": "eip155:8453",
      "price_micros": 5000,
      "transaction": "0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
    },
    "recovery_token": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
    "results": [
      {
        "content": "The meeting starts at noon.",
        "finish_reason": "stop",
        "index": 0,
        "model": "gpt-6-luna",
        "provider_model": "gpt-6-luna",
        "reported_model": "gpt-6-luna",
        "usage": {
          "completion_tokens": 7,
          "prompt_tokens": 18,
          "total_tokens": 25
        }
      }
    ],
    "retry": "Recover with the original proof or private token. Do not pay again.",
    "state": "complete"
  }
}