Account & payment

Buy an account via API (no login)

Creates a Stripe checkout (card only). Enter the card, then poll status_url: the key appears exactly once. No free credit — money before key. 10 purchases per IP and hour. Same API on llm-broker.net and astrioncore.app. Agents with a Stripe Shared Payment Token pass shared_payment_token (+ accept_terms, email) and get the key in the 201 response — no browser.

post/api/v1/broker/accounts

Request

  • Base URL: https://api.llm-broker.net
  • URL: https://api.llm-broker.net/api/v1/broker/accounts
  • Auth: none required

Request body

accept_termsboolean

Required with shared_payment_token: you accept https://llm-broker.net/terms.

amount10 | 25 | 50

Top-up in currency (default CHF) — required when billing=topup. Credited in CHF at the ECB daily rate of the checkout.

billing'topup' | 'monthly'

topup = prepaid credit (requires amount), monthly = monthly invoice (requires limit). Omit billing entirely for a topup of the smallest amount of the currency.

category'coding' | 'reasoning' | 'math' | 'instruction_following'

Optional default of the key (with level). Omit both to choose per request with routing.

currency'USD' | 'EUR' | 'CHF' | 'GBP' | 'JPY' | 'CNY' | 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CLP' | 'COP' | 'CRC' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ETB' | 'FJD' | 'FKP' | 'GEL' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'ISK' | 'JMD' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KRW' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SOS' | 'SRD' | 'SZL' | 'THB' | 'TJS' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'UYU' | 'UZS' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XCG' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW'

Payment currency (default USD). The card is charged in it; your balance is kept in CHF (ECB daily rate).

emailstring email

Required with shared_payment_token: the responsible person or company.

level'solid' | 'strong' | 'top' | 'best'

Optional default level of the key (with category); every request can override it with routing.level or routing.min_score. Only one of category/level ⇒ 400.

limit50 | 100 | 250

Monthly limit in currency (default CHF) — required when billing=monthly.

shared_payment_tokenstring

Stripe Shared Payment Token (spt_…) issued to LLM Broker by your agent platform: pays the topup without a browser and returns the key immediately (201). Needs accept_terms and email. Topup only; one token pays once; at most 3 accounts per card per day.

Example request

{
  "amount": 25,
  "billing": "topup",
  "category": "coding",
  "level": "strong"
}

Response

Checkout created — or, with shared_payment_token, the paid key (api_key, shown once)

checkout_urlstring uri required

Stripe checkout (card only) — a human or an agent with a browser enters the card.

notestring
session_idstring required

Secret — whoever knows it collects the key. Do not log.

status_urlstring uri required

Changes

No recorded changes to this operation across all 1 revision of this API.