X6.AI

Model pricing

Markdown version

Replace <BASE_URL> with https://api.x6.ai. See Endpoints.

X6.AI bills by token usage. OpenAPI GET /v1/models returns model metadata only — not sell prices. Use the developer console → Models marketplace as the source of truth.

Where to see prices

  1. Sign in to the Developer Console.
  2. Open Models.
  3. Open a model’s detail page and check Pricing.

Pricing tiers (current model)

Model detail pages show four token rates (usually $/1M tokens; missing tiers fall back to the input rate):

TierMeaning
InputNew input tokens (not from cache)
Cache readInput tokens served from Prompt Cache (usually cheaper)
Cache writeTokens written into cache on first use. Some models split short TTL / long TTL write rates (e.g. Anthropic 5m / 1h; OpenAI-style windows such as 30m / 12h)
OutputCompletion tokens

Optional dimension:

DimensionMeaning
Long contextWhen context exceeds the model’s configured threshold, input (and cache read/write that follow the input path) and/or output are multiplied by the rates shown on the detail page

Follow what the marketplace displays. If cache read/write rates are unset, those tokens still bill at the input rate (not free).

OpenAPI vs billing

ScenarioDescription
List modelsGET /v1/models — no prices
Actual chargesAfter a successful POST /v1/chat/completions, POST /v1/messages, or POST /v1/responses, X6.AI bills from token usage in the response (including cache read/write) at marketplace rates; long-context multipliers apply when matched

See Chat Completions — usage & Prompt Cache billing for the simplified formula. For per-request reconciliation, use response header X-Request-Id (same value as X-SNX-Trace-ID) with GET /v1/billing/requests/{request_id}.

Related