x402factory.ai
GET https://x402factory.ai/base/llm/gpt
Listed in Agentic Market
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_tokens_for_agent or 1000) + preprompt + max_output_tokens, and returns a custom_id. Optional action=list lists up to 100 recent custom agents for the paying wallet for 0.001 USDC without calling Open
Other endpoints from x402factory.ai
The same service's other paid functions that Hagglyai tracks, each with its own price. Functions outside Hagglyai's categories are not listed.
| Endpoint | Category | Price per call |
|---|---|---|
| GET /base/coinprice | Crypto prices & market data | $0.001 |
| POST /base/coinprice | Crypto prices & market data | $0.001 |
| GET /base/xprofile | Social media data | $0.001 |
| POST /base/xprofile | Social media data | $0.001 |
| GET /solana/coinprice | Crypto prices & market data | $0.001 |
| POST /solana/coinprice | Crypto prices & market data | $0.001 |
| GET /solana/llm/gpt/32X5W88Z9PATZH85T5 | LLM inference | $0.0064 |
| GET /solana/llm/gpt/4TC64D7MFFRX5DNRZ9 | LLM inference | $0.017 |
| GET /solana/llm/gpt/6BNTBUF2DASXXWCAD2 | LLM inference | $0.017 |
| GET /solana/llm/gpt/6JAF5PYRGEC8X9XYFC | LLM inference | $0.017 |
| GET /solana/stt | Speech & audio | $0.23 |
| GET /solana/tts/100 | Speech & audio | $1 |
| GET /solana/tts/44 | Speech & audio | $0.44 |
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X GET 'https://x402factory.ai/base/llm/gpt'
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseEstimated calls per day
Paid calls to x402factory.ai's tracked endpoints each day, estimated from the 30-day totals the x402 catalogues report. Each bar is the change in that 30-day total since the day before, plus the calls that left the 30-day window (taken as an average day). It is an estimate: Hagglyai does not measure or pay for these calls.
Usage available for 1 of 14 tracked endpoints, 2 paid calls in the last 30 days. Last updated 4 hours ago. Unknown usage is left out, not counted as zero.
Compared with other providers
x402factory.ai ranks 122nd of 133 in LLM inference by its latest reported 30-day paid calls. Coverage matters: a provider whose endpoints report more of their usage can rank higher.
| # | Provider | Reported 30-day calls | Coverage |
|---|---|---|---|
| 1 | blockrun.ai | 78,910 | 78 of 239 endpoints |
| 2 | x402.orthogonal.com | 4,275 | 165 of 396 endpoints |
| 3 | api.sitecheck-api.workers.dev | 3,306 | 40 of 72 endpoints |
| 4 | api.strale.io | 3,091 | 31 of 59 endpoints |
| 5 | agent402.tools | 2,061 | 144 of 279 endpoints |
| 6 | api.gondola-ai.com | 1,961 | 1 of 3 endpoints |
| 7 | glim.sh | 1,856 | 12 of 28 endpoints |
| 8 | wafermap.xyz | 1,659 | 9 of 18 endpoints |
| 122 | x402factory.ai (this one) | 2 | 1 of 14 endpoints |
Run this API? Show its rating
Add the badge to your README or website. It shows the live Hagglyai rating and links to this page.
Markdown (README)
[](https://hagglyai.com/endpoint/fdd60e342e9d4cd3)HTML
<a href="https://hagglyai.com/endpoint/fdd60e342e9d4cd3"><img src="https://hagglyai.com/badge/fdd60e342e9d4cd3.svg" alt="Rated on Hagglyai"></a>