Pricing Catalog API

Pricing Catalog API

GET /x-pricing

Returns a tenant's full pricing catalog. The price table itself is public data and can be accessed anonymously; with an API key, the response contains that account's final prices.

Request

MethodTenant whose catalog is returnedMultiplier
With Authorization: Bearer <key>The account's tenantThe account's Rates Γ— Factor
Anonymous, ?oid=<tenant ID> (or ?owner=)The specified tenant1
Anonymous, no parametersTenant 1 (root)1
# Public catalog
curl "$XSI_BASE_URL/x-pricing"

# Final prices for the current account
curl "$XSI_BASE_URL/x-pricing" -H "Authorization: Bearer $XSI_API_KEY"
  • If Authorization is present but the key is invalid, the API returns 401 directly and does not fall back to the public catalog.
  • Only GET is accepted; OPTIONS returns 204; other methods return 405 method not allowed.
  • Responses carry Cache-Control: no-cache.

Response

{
  "object": "pricing_catalog",
  "oid": 1,
  "public": false,
  "currency": "CNY",
  "unit_notes": {
    "per_1m_tokens": "Token prices are displayed per 1M tokens.",
    "per_minute": "Voice duration is displayed per minute and billed per second.",
    "per_image": "Image size prices are displayed per generated image.",
    "per_second": "Video resolution prices are displayed per generated second.",
    "per_call": "Call prices are displayed per request."
  },
  "generated_at": "2026-11-19T00:00:00Z",
  "user": {"id": 42, "oid": 1, "rates": 1, "factor": 1, "multiplier": 1},
  "data": [
    {
      "id": "gpt-6.2-sol",
      "category": "ChatPricing",
      "kind": "chat",
      "unit": "per_1m_tokens",
      "base": {"InputText": 2, "CachedText": 0.1, "CacheWrite": 2.5, "OutputText": 10, "FastTokenMultiplier": 2, "Rates": 7},
      "effective": {"InputText": 2, "CachedText": 0.1, "CacheWrite": 2.5, "OutputText": 10, "FastTokenMultiplier": 2, "Rates": 7},
      "final": {"InputText": 14, "CachedText": 0.7, "CacheWrite": 17.5, "OutputText": 70, "FastTokenMultiplier": 2},
      "rates": {"model": 7, "user": 1, "factor": 1, "effective": 7},
      "override": false,
      "custom": false
    }
  ]
}
FieldDescription
userPresent only when a key is provided
data[].category, kindPrice table category: ChatPricing/chat, ImgPricing/image, VideoPricing/video, AudioPricing/audio, RerankPricing/rerank, CallPricing/call, FineTuningPricing/fine_tuning
data[].unitper_1m_tokens, per_image, per_second, per_minute, per_call
baseSystem default price (the provider's list price in its original currency)
effectivePrice after applying the tenant's PRICING overrides (list price)
finalFinal CNY price, converted per field: price fields Γ— model Rates (long-context tiers may have their own Rates) Γ— account Rates Γ— Factor; Call for chat, fine-tuning, and Rerank is multiplied only by the account rate; InputThreshold and FastTokenMultiplier keep their original values; no Rates field
ratesModel multiplier, account multiplier, price factor and their product
overrideWhether the price differs from the system default
customWhether the model was added by the tenant

Token prices in final do not yet apply speed tier (fast/ultrafast) multipliers. For how each request is charged, see Billing and Pricing.