{"openapi":"3.1.0","info":{"title":"ClaudeAPI - Premium Claude Access","version":"1.0.0","description":"Pay-per-request Claude API access via x402 protocol on eip155:8453","x-payment":{"protocol":"x402","network":"eip155:8453","payTo":"0x63db6eaf635a31bbc6714fe37bdc85243864f611","facilitator":"https://facilitator.payai.network"}},"servers":[{"url":"http://base.mapleai.shop"}],"paths":{"/v1/chat/completions":{"post":{"summary":"Create chat completion","description":"OpenAI-compatible chat completions endpoint with pay-per-request pricing","x-pricing":{"type":"dynamic","calculation":"input_tokens * input_rate + max_tokens * output_rate","unit":"USD per 1M tokens","models":[{"id":"anthropic/claude-opus-5","input":3.5,"output":17.5},{"id":"anthropic/claude-opus-4.8","input":3.5,"output":17.5},{"id":"anthropic/claude-opus-4.7","input":3.5,"output":17.5},{"id":"anthropic/claude-opus-4.5","input":3.5,"output":17.5},{"id":"anthropic/claude-sonnet-5","input":1.4,"output":7},{"id":"anthropic/claude-sonnet-4.6","input":2.1,"output":10.5},{"id":"anthropic/claude-sonnet-4.5","input":2.1,"output":10.5},{"id":"anthropic/claude-haiku-4.5","input":0.7,"output":3.5},{"id":"anthropic/claude-fable-5.1","input":7,"output":35},{"id":"anthropic/claude-fable-5","input":7,"output":35}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model","messages"],"properties":{"model":{"type":"string","enum":["anthropic/claude-opus-5","anthropic/claude-opus-4.8","anthropic/claude-opus-4.7","anthropic/claude-opus-4.5","anthropic/claude-sonnet-5","anthropic/claude-sonnet-4.6","anthropic/claude-sonnet-4.5","anthropic/claude-haiku-4.5","anthropic/claude-fable-5.1","anthropic/claude-fable-5"]},"messages":{"type":"array","items":{"type":"object"}},"max_tokens":{"type":"integer","default":4096},"temperature":{"type":"number"},"stream":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Successful completion"},"402":{"description":"Payment required","headers":{"PAYMENT-REQUIRED":{"schema":{"type":"string"},"description":"Base64-encoded x402 payment requirements (price, network, asset, payTo)"}}}}}},"/v1/models":{"get":{"summary":"List available models","description":"Returns all available Claude models with pricing","responses":{"200":{"description":"List of models"}}}}}}