BizKitHub
DocsAPI ReferenceOrganisation/bff/organisation-ai/pricelist
getOrganisationAdmin BFF

/bff/organisation-ai/pricelist

One row per known ai__model with the price row that is currently effective (effective_from <= NOW()). Models with no priced row still appear (hasPrice=false) so the UI can flag them. Prices are in USD per 1M tokens (customer-facing, margin already baked in — the internal margin_multiplier column is never surfaced). orgCurrency envelope carries today's USD → default currency rate for client-side display.

OrganisationgetBffOrganisation-aiPricelist

Parameters

No parameters required

This endpoint takes no path, query, header or body parameters.

Response schema

1 status code documented

200Success
itemsobject[]Required
Each array item:
modelIdnumberRequired

ai__model.id — stable primary key of the model.

modelstringRequired

Canonical model slug (e.g. "gemini-2.5-flash", "gpt-4o-mini", "claude-haiku-4-5-20251001").

provider"google" | "openai" | "anthropic" | "other"Required

Provider bucket derived from the model slug prefix (gemini → google, gpt/o1/o3/o4/chatgpt → openai, claude → anthropic, everything else → other).

status"active" | "deprecated" | "retired"Required

Lifecycle stage. active = usable, deprecated = still callable but scheduled for removal, retired = provider no longer serves it (calls will fail).

hasPricebooleanRequired

True when an ai__model_price row is currently effective; false when the model has no priced row yet (UI renders "cena nedefinována").

inputUsdPerMillionnumber | nullRequired

Customer-facing USD price per 1M input tokens (margin already baked in). Null when hasPrice is false.

One of 2:
Variant 1
number
Variant 2
null
outputUsdPerMillionnumber | nullRequired

Customer-facing USD price per 1M output tokens (margin already baked in). Null when hasPrice is false.

One of 2:
Variant 1
number
Variant 2
null
effectiveFromstring | nullRequired

ISO 8601 timestamp of when the currently-effective price row came into force. Null when hasPrice is false.

One of 2:
Variant 1
string
Variant 2
null
sourcestring | nullRequired

Provenance of the price row (e.g. "manual", "openai-api"). Null when hasPrice is false.

One of 2:
Variant 1
string
Variant 2
null
notestring | nullRequired

Free-text note attached to the price row by whoever wrote it.

One of 2:
Variant 1
string
Variant 2
null
orgCurrencyobjectRequired
codestringRequired

ISO 4217 code of the organisation default currency (e.g. "CZK").

ratenumberRequired

Multiplier: usd × rate = amount in code.

rateDatestringRequired

YYYY-MM-DD of the underlying fixing.

Response example

application/json
{
  "items": [
    {
      "modelId": 0,
      "model": "example_model",
      "hasPrice": false
    }
  ],
  "orgCurrency": {
    "code": "example_code",
    "rate": 0,
    "rateDate": "example_rateDate"
  }
}

Request example

GET /bff/organisation-ai/pricelist

get
curl -X GET "https://api.bizkithub.com/bff/organisation-ai/pricelist" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key