{
  "x402Version": 2,
  "id": 33863,
  "slug": "33863",
  "resource": "https://x402.agentindex.world/llm/gpt-mini",
  "description": "GPT Mini API - pay per call, no API key. OpenAI-format chat completions on openai/gpt-5.4-mini, pinned to OpenAI's own OpenRouter endpoint for reliability. You sign a fixed price computed from your max_tokens; unused tokens are not refunded. 20s server-side timeout with an automatic 2nd-provider retry if the first is slow - never charged if both miss; set your client timeout to 30s. Try GET /llm/gpt-mini/sample.",
  "type": "http",
  "serviceName": "gpt-mini-api",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790789754/bazaar-icons/fde5dd6af2b2b42f.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "choices": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "usage": {
            "type": "object"
          },
          "x402_receipt": {
            "type": "object"
          }
        },
        "required": [
          "choices",
          "usage"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "max_tokens": 150,
            "messages": [
              {
                "content": "Summarize in one sentence: The Eiffel Tower is a wrought-iron lattice tower on the Champ de Mars in Paris, France. It was designed by Gustave Eiffel's engineering company and built as the entrance arch for the 1889 World's Fair. Initially criticized by some of France's leading artists and intellectuals for its design, it has become a global cultural icon of France and one of the most recognizable structures in the world, attracting millions of visitors every year.",
                "role": "user"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "choices": [
              {
                "finish_reason": "stop",
                "index": 0,
                "message": {
                  "content": "The Eiffel Tower, a wrought-iron tower in Paris built for the 1889 World's Fair, evolved from a controversial design into one of the world's most iconic landmarks.",
                  "role": "assistant"
                }
              }
            ],
            "created": 1790781015,
            "id": "gen-1790781015-abP5jUyNb5Xs9xjmdtPX",
            "model": "openai/gpt-5.4-mini",
            "object": "chat.completion",
            "provider": "OpenAI",
            "usage": {
              "completion_tokens": 39,
              "cost": 0.0002505,
              "prompt_tokens": 100,
              "total_tokens": 139
            },
            "x402_receipt": {
              "latency_ms": 1700,
              "model_served": "openai/gpt-5.4-mini",
              "price_paid_usdc": 0.001,
              "upstream": "llm/gpt-mini"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "max_tokens": {
                    "description": "Max completion tokens, capped at 4096 - also bounds the price ceiling.",
                    "type": "integer"
                  },
                  "messages": {
                    "description": "OpenAI-format chat messages: [{role, content}, ...].",
                    "items": {
                      "type": "object"
                    },
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "messages"
                ]
              },
              "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": {
                "properties": {
                  "choices": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "id": {
                    "type": "string"
                  },
                  "model": {
                    "type": "string"
                  },
                  "usage": {
                    "type": "object"
                  },
                  "x402_receipt": {
                    "type": "object"
                  }
                },
                "required": [
                  "choices",
                  "usage"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "GPT Mini API",
    "gpt api",
    "openai api",
    "pay per call llm",
    "bazaar"
  ],
  "sourceHost": "x402.agentindex.world",
  "lastUpdated": "2026-10-08T06:08:26.645Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:08:26.421Z"
  },
  "metadata": {
    "serviceName": "gpt-mini-api",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790789754/bazaar-icons/fde5dd6af2b2b42f.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "max_tokens": 150,
              "messages": [
                {
                  "content": "Summarize in one sentence: The Eiffel Tower is a wrought-iron lattice tower on the Champ de Mars in Paris, France. It was designed by Gustave Eiffel's engineering company and built as the entrance arch for the 1889 World's Fair. Initially criticized by some of France's leading artists and intellectuals for its design, it has become a global cultural icon of France and one of the most recognizable structures in the world, attracting millions of visitors every year.",
                  "role": "user"
                }
              ]
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "choices": [
                {
                  "finish_reason": "stop",
                  "index": 0,
                  "message": {
                    "content": "The Eiffel Tower, a wrought-iron tower in Paris built for the 1889 World's Fair, evolved from a controversial design into one of the world's most iconic landmarks.",
                    "role": "assistant"
                  }
                }
              ],
              "created": 1790781015,
              "id": "gen-1790781015-abP5jUyNb5Xs9xjmdtPX",
              "model": "openai/gpt-5.4-mini",
              "object": "chat.completion",
              "provider": "OpenAI",
              "usage": {
                "completion_tokens": 39,
                "cost": 0.0002505,
                "prompt_tokens": 100,
                "total_tokens": 139
              },
              "x402_receipt": {
                "latency_ms": 1700,
                "model_served": "openai/gpt-5.4-mini",
                "price_paid_usdc": 0.001,
                "upstream": "llm/gpt-mini"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "max_tokens": {
                      "description": "Max completion tokens, capped at 4096 - also bounds the price ceiling.",
                      "type": "integer"
                    },
                    "messages": {
                      "description": "OpenAI-format chat messages: [{role, content}, ...].",
                      "items": {
                        "type": "object"
                      },
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "messages"
                  ]
                },
                "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": {
                  "properties": {
                    "choices": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "id": {
                      "type": "string"
                    },
                    "model": {
                      "type": "string"
                    },
                    "usage": {
                      "type": "object"
                    },
                    "x402_receipt": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "choices",
                    "usage"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentindex.world",
    "manifest_name": "x402.agentindex.world",
    "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": {
    "example": {
      "choices": [
        {}
      ],
      "id": "string",
      "model": "string",
      "usage": {},
      "x402_receipt": {}
    },
    "type": "string"
  }
}