{"name":"gateway.bitplan.dev","description":"OpenAI-compatible inference for BSV. No API keys: sign a bearer with your key, deposit over HTTP 402, calls draw from balance.","version":"1.0.0","serverIdentityKey":"021bb1809b06a2870699ac34e48bb82fd0ed3373577070cc96b32f009da21401aa","payment":{"x402Version":2,"accepts":[{"scheme":"exact","network":"bip122:000000000019d6689c085ae165831e93","asset":"BSV"}],"headers":{"payment_required":"PAYMENT-REQUIRED","payment_signature":"PAYMENT-SIGNATURE","payment_response":"PAYMENT-RESPONSE"},"legacy":{"schemes":["bsv-tx-v1"],"proof_header":"X402-Proof"},"min_deposit_sats":25000000,"markup_bps":700,"markup_tiers":[{"name":"Start","min_usd_30d":0,"bps":700},{"name":"Build","min_usd_30d":100,"bps":500},{"name":"Scale","min_usd_30d":1000,"bps":300}],"min_charge_sats":2000,"byok_fee_bps":0,"paymail_domain":"bitplan.dev","treasury_paymail":"treasury@bitplan.dev","markup_overrides_bps":{},"card":{"packs_usd":[5,20,50],"fee_bps":290,"fixed_fee_usd":0.3,"daily_cap_usd":100,"checkout":"POST /v1/credits/checkout"}},"byok":{"providers":[{"id":"vercel","model_prefix":"","byok_only":false,"kind":"gateway","verification":"GET https://ai-gateway.vercel.sh/v1/credits"},{"id":"opencode","model_prefix":"opencode/","byok_only":true,"kind":"gateway","verification":"POST https://opencode.ai/zen/v1/chat/completions with model big-pickle (free) and max_tokens 1"},{"id":"opencode-go","model_prefix":"opencode-go/","byok_only":true,"kind":"gateway","verification":"POST https://opencode.ai/zen/go/v1/chat/completions with model glm-5.3-flash and max_tokens 1"},{"id":"anthropic","model_prefix":"anthropic/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest anthropic/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"},{"id":"openai","model_prefix":"openai/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest openai/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"},{"id":"google","model_prefix":"google/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest google/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"},{"id":"spacexai","model_prefix":"spacexai/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest spacexai/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"},{"id":"deepseek","model_prefix":"deepseek/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest deepseek/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"},{"id":"mistral","model_prefix":"mistral/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest mistral/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"},{"id":"moonshotai","model_prefix":"moonshotai/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest moonshotai/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"},{"id":"alibaba","model_prefix":"alibaba/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest alibaba/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"},{"id":"zai","model_prefix":"zai/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest zai/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"},{"id":"minimax","model_prefix":"minimax/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest minimax/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"},{"id":"meta","model_prefix":"meta/","byok_only":false,"kind":"lab","verification":"one max_tokens 1 chat completion on the cheapest meta/ model through Vercel AI Gateway with the key as request-scoped BYOK; stored only if the provider metadata shows it served the call"}],"fee_bps":0,"encryption":{"standard":"brc-2","protocol_id":[2,"gateway byok"],"key_id":"1","counterparty":"021bb1809b06a2870699ac34e48bb82fd0ed3373577070cc96b32f009da21401aa","encoding":"base64"}},"auth":{"header":"Authorization: Bearer <pubkey|scheme|timestamp|requestPath|signature>","schemes":["brc77","brc100"],"session_request_path":"https://gateway.bitplan.dev/v1","session_minutes":1440},"endpoints":[{"method":"GET","path":"/v1/models","description":"Models with prices","auth":false,"auth_mode":"optional"},{"method":"GET","path":"/v1/rate","description":"BSV/USD rate and minimum deposit","auth":false,"auth_mode":"none"},{"method":"POST","path":"/v1/chat/completions","description":"OpenAI chat completions","auth":false,"auth_mode":"optional","payment":"402 when credits are short"},{"method":"POST","path":"/v1/messages","description":"Anthropic Messages API","auth":false,"auth_mode":"optional","payment":"402 when credits are short"},{"method":"POST","path":"/v1/messages/count_tokens","description":"Anthropic token count (estimate)","auth":false,"auth_mode":"none"},{"method":"POST","path":"/v1/responses","description":"OpenAI Responses API","auth":false,"auth_mode":"optional","payment":"402 when credits are short"},{"method":"POST","path":"/v1/images/generations","description":"OpenAI image generation","auth":false,"auth_mode":"optional","payment":"402 when credits are short"},{"method":"GET","path":"/v1/batches","description":"Your recent batches","auth":true,"auth_mode":"bearer"},{"method":"POST","path":"/v1/batches","description":"Submit many requests to run within 24 hours at the batch price","auth":true,"auth_mode":"bearer","payment":"402 when credits are short"},{"method":"GET","path":"/v1/batches/{id}","description":"A batch's status, and its results once it has finished","auth":true,"auth_mode":"bearer"},{"method":"POST","path":"/v1/evaluate","description":"Typed questions over a state (classify, score, yes/no)","auth":false,"auth_mode":"optional","payment":"402 when credits are short"},{"method":"GET","path":"/v1/account","description":"Credits, tier, paymail and BYOK status","auth":true,"auth_mode":"bearer"},{"method":"GET","path":"/v1/account/usage","description":"Recent requests and ledger entries","auth":true,"auth_mode":"bearer"},{"method":"POST","path":"/v1/deposit","description":"Add credits","auth":true,"auth_mode":"bearer","payment":"402 when credits are short"},{"method":"PUT","path":"/v1/account/paymail","description":"Claim a paymail handle at @bitplan.dev","auth":true,"auth_mode":"bearer"},{"method":"DELETE","path":"/v1/account/paymail","description":"Release the handle","auth":true,"auth_mode":"bearer"},{"method":"PUT","path":"/v1/account/byok","description":"Store your own provider key (wallet-encrypted)","auth":true,"auth_mode":"bearer"},{"method":"DELETE","path":"/v1/account/byok","description":"Forget a stored key","auth":true,"auth_mode":"bearer"},{"method":"GET","path":"/v1/account/dashboard","description":"Usage dashboard data (the site's usage page)","auth":true,"auth_mode":"bearer"},{"method":"GET","path":"/v1/credits/packs","description":"Card credit packs","auth":false,"auth_mode":"none"},{"method":"POST","path":"/v1/credits/checkout","description":"Buy credits by card","auth":true,"auth_mode":"bearer"},{"method":"GET","path":"/v1/credits/checkout/{id}","description":"Status of one card purchase","auth":true,"auth_mode":"bearer"},{"method":"GET","path":"/.well-known/x402-info","description":"Discovery manifest for x402-aware agents","auth":false,"auth_mode":"none"}]}