resources/x402factory/GET /base/llm/gpt
GET402 quotelive quote

Base GPT wrapper API using x402 paymentsGET /base/llm/gpt · x402 API by x402factory

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

What does this x402 API do?

Base GPT wrapper API using x402 payments. This is an x402-gated GET API resource from x402factory. TOLL·402 confirmed a protocol-valid HTTP 402 quote on 2026-07-21. The listing records $0.01 USD-denominated per request on Base. No settled paid call has been verified.

Published price
$0.01 USD-denominated per request
Networks
Base
Latest evidence
TOLL·402 confirmed a protocol-valid HTTP 402 quote on 2026-07-21
Resource ID
d25b2f3ebcfc7119ffe74da8
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.

What evidence supports this listing?

402-indexobserved 2026-07-10 · open source record ↗
origin checkHEAD https://x402factory.ai/ → 200 on 2026-07-21
route quotelive 402 quote confirmed · GET 402 · 2026-07-21

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. Read the discovery and verification methodology →

Which networks and payment options does it accept?

The normalized listing price is $0.01 USD-denominated per request. Raw protocol requirements remain visible below for implementation and audit use.

Baseexact10000 atomic · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
x402factory GET /base/llm/gpt · d25b2f x402 API · TOLL·402