basal 2.0 (4.5B)

basal 2.0 (4.5B), an open decision model for Polish and English. It answers typed questions about a text (yes or no, a choice, a score) with a probability for each answer and writes no text.

API name
basal-2.0-4.5bDecisions
Max request
32,768 tokens, the text and its questions
Input
$0.10 / M tokens
Output
Not charged

Prices are in US dollars per million tokens, including VAT where it applies, taken from your credit as you go. Add credit from $5 by card, Apple Pay or Google Pay. When your credit reaches $0, requests stop: no bill arrives later.

Get your API key

About the model

basal 2.0 (4.5B) is an open decision model fine-tuned from Bielik v3. Send it a text (state) and named questions on /v1/systemone, or OpenAI's Decisions format on /v1/decisions: yes or no (noul), one of 2 to 255 options (choice), or a level on a scale (score). Each answer comes back with a calibrated probability for every option, in one pass, so it can only be one of the options you gave. Several questions over one text cost little more than one. You pay for the input tokens only: it generates nothing. It works best when every option has a short description, the rules are in the text, and dates and amounts are worked out in your code. Not a chat model: /v1/chat/completions refuses it.

Made by
the basal project (github.com/rkinas/basal), fine-tuned from Bielik v3
Runs on
Blixild's own H200, in Poland (EU)
Speed
10 ms for one question; 232 decisions/s with 32 clients, measured
Languages
Polish and English
Questions
yes or no, choice (2 to 255 options), score; several per request over one text
Good for
routing messages and tickets, rule checks with the rules in the text, triage with a confidence threshold, an agent's next step
Not for
writing text; date and amount arithmetic (work it out in your code); texts over 32,768 tokens (the middle is cut)
License
Apache 2.0 · Model card

Try it

curl https://api.blixild.com/v1/systemone \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "",
    "state": "",
    "questions": {
      "refund": {
        "type": "noul",
        "instructions": "Is the customer asking for a refund?"
      },
      "team": {
        "type": "choice",
        "instructions": "Which team should handle the message?",
        "criteria": {
          "billing": "Payments, invoices and refunds",
          "technical": "Errors and problems when calling the API",
          "account": "Sign-in, account settings and API keys"
        }
      }
    }
  }'

Paste it into a terminal. Change the model and the text right in the command; the two questions stay fixed here.

On the blog

basal 2.0 (4.5B) API: price and context | Blixild AI