resources/x402factory/d25b2f3ebcfc7119ffe74da8
GET402 quotelive quote

Base GPT wrapper API using x402 payments. Default direct call: model gpt-5-mini,...

Base GPT wrapper API using x402 payments. Default direct call: model gpt-5-mini, max_output_tokens=2000, fixed price 0.01 USDC for up to 1000 input tokens. For all other settings the price is computed per model as (input_tokens * input_price_per_million + max_output_tokens * output_price_per_million) / 1,000,000, with a minimum of 0.001 USDC and always rounded up to 6 decimals. Optional max_input_tokens lets you cap the input tokens used for pricing; if the message is longer than this cap the server returns an error instead of under-pricing. Optional action=message (or omitting action) performs a direct GPT call with the given message. Optional action=create creates a custom agent with the given message as preprompt for 0.001 USDC (no OpenAI call), stores a base_price_usdc using (max_input

https://x402factory.ai/base/llm/gpt
USE THIS RESOURCE

Start with a quote-only recipe. Payment signing stays in your project.

CODE
AI CODING TOOLS
quote-check.ts
const response = await fetch("https://x402factory.ai/base/llm/gpt", {
  method: "GET",
});

console.log(response.status);
console.log(Object.fromEntries(response.headers));
console.log((await response.text()).slice(0, 1000));

// A valid 402 is a quote, not a completed paid call.

This sends no payment. Inspect the 402 response before adding a wallet-enabled client.

STATUS HISTORY

  1. Live 402 quote confirmed

    GET returned a protocol-valid 402 quote (402). No payment was made.

  2. Origin reachable

    HEAD https://x402factory.ai/ returned 200.

  3. Observed in 402-index

    Discovered through bazaar.

  4. Registry record checked

    Registry health: healthy.

EVIDENCE

402-indexobserved 2026-07-10 · https://402index.io/api/v1/services
origin checkHEAD https://x402factory.ai/ → 200 on 2026-07-10
route quotelive 402 quote confirmed · GET 402 · 2026-07-10

Each record has an exact-route quote outcome. Unresolved templates and potentially mutating methods are labeled instead of being invoked without provider-specific test input. A quote is still separate from a settled paid call.

PAYMENT OPTIONS

baseexact10000 atomic · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
x402factory GET llm/gpt · TOLL·402