Skip to content
Fourohtwo

Solana GPT wrapper API using x402 payments

x402factory.ai/solana/llm/gpt/32X5W88Z9PATZH85T5

Solana 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_inpu

SolanaUnchecked
POSThttps://x402factory.ai/solana/llm/gpt/32X5W88Z9PATZH85T5

UptimeNot checked yet

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://x402factory.ai/solana/llm/gpt/32X5W88Z9PATZH85T5" \
  -d '{"model":{"enum":["gpt-5.1","gpt-5-mini","gpt-5-nano","gpt-5-pro"],"type":"string","required":false,"description":"Logical model name. One of: gpt-5.1, gpt-5-mini (default), gpt-5-nano, gpt-5-pro. Pricing is per model using per-million token rates."},"action":{"enum":["message","create","list"],"type":"string","required":false,"description":"Optional action. Use '\''message'\'' (or omit action) for a di'

# 402 Payment Required comes back with the price and where to pay.

Example input

{"model":{"enum":["gpt-5.1","gpt-5-mini","gpt-5-nano","gpt-5-pro"],"type":"string","required":false,"description":"Logical model name. One of: gpt-5.1, gpt-5-mini (default), gpt-5-nano, gpt-5-pro. Pricing is per model using per-million token rates."},"action":{"enum":["message","create","list"],"type":"string","required":false,"description":"Optional action. Use 'message' (or omit action) for a di