This is a remote gateway wrapping GPT-5.5 behind x402 micropayments on Base USDC. It exposes 64 tools through MCP, including three chat completion tiers priced by max output tokens (compact at $0.0001 for 192 tokens, long at $0.002134 for 4096, max at $0.066667 for 128k), plus utility tools for summarization, translation, code review, and JSON extraction. The MCP facade returns pricing and endpoint info but doesn't bypass payment. Actual execution happens via direct HTTP calls with x402 settlement or bearer auth. Reach for this if you want to meter GPT-5.5 access with crypto micropayments instead of traditional API keys.
Remote MCP and OpenAI-compatible GPT-5.5 gateway with x402 USDC settlement on Base.
The service is built for agent buyers that need low-cost GPT-5.5 calls, deterministic utility tools, and ready-to-use x402/MCP/Bazaar integration resources.
https://gpt55.558686.xyzhttps://gpt55.558686.xyz/mcphttps://gpt55.558686.xyz/mcp/ssehttps://gpt55.558686.xyz/mcp/confighttps://gpt55.558686.xyz/server.jsonhttps://gpt55.558686.xyz/.well-known/x402https://gpt55.558686.xyz/openapi.jsonhttps://gpt55.558686.xyz/pricing.jsonhttps://gpt55.558686.xyz/buyer-guide.json$0.0001, or 10,000 compact requests per $1.$0.002134, up to 4096 output tokens.$0.066667, up to 128000 output tokens.$0.0001.$0.001-$0.01; lead with the $0.0001 compact endpoint for trials, then route larger buyers to /v1/chat/completions/long and /v1/chat/completions/max.$0.521 across the proportional chat tiers.$0.0001 minimum and the selected tier price as the cap.$0.0557 / 1M tokens, cached input about $0.0056 / 1M tokens, output about $0.334 / 1M tokens.Live quotes from https://gpt55.558686.xyz/pricing.json and unauthenticated HTTP 402 responses are authoritative. Directory pages can lag behind live x402 quote metadata.
The service exposes 92 MCP tools that route to direct x402-paid HTTP endpoints. Tool calls through the MCP facade return the direct endpoint, pricing, x402 discovery links, and example payload. Paid execution happens on the HTTP endpoint with x402 Base USDC or a private Bearer key; the MCP facade does not bypass payment.
Core endpoints include:
POST /v1/chat/completionsPOST /v1/chat/completions/longPOST /v1/chat/completions/maxPOST /v1/tools/summarizePOST /v1/tools/translatePOST /v1/tools/rewritePOST /v1/tools/answerPOST /v1/tools/code-reviewPOST /v1/tools/extract-jsonPOST /v1/tools/x402-mcp-integration-kitPOST /v1/tools/x402-agentcore-integration-kitMCP initialize:
curl -s https://gpt55.558686.xyz/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"smoke","version":"1.0.0"}}}'
x402 quote:
curl -i https://gpt55.558686.xyz/v1/chat/completions \
-H 'content-type: application/json' \
-d '{"model":"gpt-5.5","messages":[{"role":"user","content":"Say hi"}],"max_tokens":8}'
Expected unauthenticated response: HTTP 402 with a payment-required header containing Base USDC x402 payment requirements.
cd D:\gpt55-token-gateway
npm start
npm run smoke
npm run stats
npm run funnel
npm run monitor
Start a temporary HTTPS tunnel:
D:\gpt55-token-gateway\start-tunnel.ps1
Use the https://...trycloudflare.com URL as the public base URL.
base_url: tunnel URL, no trailing slashapi_type: chat_completions_apimodel: gpt-5.5api_key: value of PUBLIC_API_KEY in .envpricing.prompt: 0.000005pricing.completion: 0.00003pricing.input_cache_reads: 0.0000005context_pricing: optional; keep the same prices initially until real demand appears.The gateway only forwards gpt-5.5 upstream, even if a caller passes another model name.
https://poe.com/api/keys in a browser where you are logged in..env as POE_API_KEY=....cd D:\gpt55-token-gateway
npm run poe:create
Set these in .env to require on-chain payment for callers that do not use PUBLIC_API_KEY:
X402_ENABLED=true
X402_PAY_TO=0xYourBaseUsdcWallet
X402_NETWORK=eip155:8453
X402_PRICE=$0.0001
X402_LONG_PRICE=$0.002134
X402_MAX_PRICE=$0.066667
X402_TOOL_PRICE=$0.0001
X402_PROBE_PRICE=$0.0001
X402_ENABLE_UPTO=true
X402_UPTO_MARGIN=3.34
X402_UPTO_MIN_USD=0.0001
MAX_PAID_OUTPUT_TOKENS=192
MAX_LONG_PAID_OUTPUT_TOKENS=4096
MAX_TRUE_PAID_OUTPUT_TOKENS=128000
Restart the gateway after changing .env.
Calls with your PUBLIC_API_KEY still bypass the paywall, so Poe/private tests keep working.
Current x402 settings:
network: Base mainnet (eip155:8453)
asset: USDC
pay_to: 0x1f0130669ca6fd02e025a984cc038f139df19a2f
compact_chat_price: $0.0001 per compact chat completion request, max 192 output tokens
long_chat_price: $0.002134 per long chat completion request, max 4096 output tokens
max_chat_price: $0.066667 per max-output chat completion request, max 128000 output tokens
tool_price: $0.0001 per tool request
probe_price: $0.0001 per payment probe
facilitator: CDP x402
schemes: exact, upto
upto_margin: 3.34
upto_minimum: $0.0001
The lowest-cost x402 proof endpoint is available as both GET /v1/x402-ping and POST /v1/x402-ping.
It does not call the upstream model.
For callers that support the upto payment scheme, chat endpoints settle by actual token usage after the upstream response reports usage, with the selected fixed tier price as the maximum charge. Callers that only support exact continue to pay the fixed tier price.
Check the payment requirement:
cd D:\gpt55-token-gateway
npm run x402:check
Dry-run the cheapest payment flow without sending funds:
cd D:\gpt55-token-gateway
npm run pay:smoke
pay:smoke defaults to X402_PAY_SMOKE_TARGET=ping-get. Other targets are ping-post, summarize, and chat.
It only sends a real payment when both X402_PAYER_PRIVATE_KEY is set and CONFIRM_X402_PAYMENT=true.
Monitor the full discovery and settlement funnel:
cd D:\gpt55-token-gateway
npm run monitor
The monitor writes logs\monitor.jsonl and checks:
Submit to x402-list for manual review after setting an operator email:
cd D:\gpt55-token-gateway
$env:X402_LIST_CONTACT_EMAIL="you@example.com"
npm run x402list:submit
Submit the public discovery URLs to IndexNow-capable search engines:
cd D:\gpt55-token-gateway
npm run indexnow:submit
The gateway serves the IndexNow key at /<key>.txt. Set INDEXNOW_KEY only if you need a custom stable key; otherwise a deterministic public key is generated from the site URL and pay-to address.
OpenX402 discovery is not only a website crawl. The pay-to address must be accepted by the facilitator, and Bazaar-style discovery normally appears after a successful x402 settlement has carried the resource metadata.
Usage logs are written to:
D:\gpt55-token-gateway\logs\usage.jsonl
Estimate revenue and cost from the local usage log:
cd D:\gpt55-token-gateway
npm run stats
io.github.ericm1018/skillfm-llm-cost-optimizer-openai-anthropic-usage
io.github.mikerawsonnz/llm-orchestration-agent
io.github.mikerawsonnz/authenticated-llm-agent
labforgedev/copilot-memory-mcp
csoai-org/agent-prompt-injection-firewall-mcp
io.github.mikerawsonnz/authenticated-multi-llm-agent