Endor serves 18 open decision models, ranked on the Jev Decision Index. All of them accept noul, choice and score questions, and you can fine-tune each of them. Training costs $7.00 per GPU-hour on every base model.
Use a base model
Train a model on any base model in a custom project: client.custom_models.create("router-2", base_model="mapika/decider-2b"). Which one to choose: Choosing a base model. To measure an untrained base model on your data, evaluate it (see Compare models). Or call a base model directly by its id, owner/model: model="mapika/decider-2b" (see Call a base model directly), at the price in the table.
A continuous model (for invited organizations) also has one base model, chosen when you create it: client.projects.create("tickets", base_model="mapika/decider-2b"). It answers with it as tickets until its first version, and its base model never changes.
| Model id | Provider | Size | Options per question | Max LoRA rank | Decisions, per 1M input tokens | In a continuous model | Index rank |
|---|---|---|---|---|---|---|---|
baselabs/mammoth-1-27b | Base Labs | 27B | 255 | 64 | $0.042 | $0.063 | =2 |
perplexity-ai/pplx-decider-v1.2-27b | Perplexity | 27B | 255 | 64 | $0.042 | $0.063 | =3 |
autotrust/jev-v1.1-27b | AutoTrust | 27B | 255 | 64 | $0.042 | $0.063 | =3 |
cloudflare/clef-27b | Cloudflare | 27B | 255 | 64 | $0.042 | $0.063 | =14 |
autotrust/gev-26b | AutoTrust | 26B (4B active) | 16 | 64 | $0.042 | $0.063 | =15 |
eldanring/winnow-12b | EldanRing | 12B | 64 | 256 | $0.02 | $0.03 | =21 |
vllm-sr/decision-2.0-lux-9b | vLLM Semantic Router | 9B | 255 | 256 | $0.02 | $0.03 | =21 |
alibiserikbay/jevk5-9b | alibiserikbay | 9B | 16 | 256 | $0.02 | $0.03 | =22 |
cloudflare/clef-flash-9b | Cloudflare | 9B | 255 | 256 | $0.021 | $0.0315 | =23 |
akhilaaa3/jev-omni-12b | akhilaaa3 | 12B | 255 | 256 | $0.02 | $0.03 | =23 |
autotrust/jev-9b | AutoTrust | 9B | 16 | 256 | $0.02 | $0.03 | =25 |
bespokelabs/nimble-9b-v2 | Bespoke Labs | 9B | 255 | 256 | $0.02 | $0.03 | =25 |
vllm-sr/decision-2.0-nox-4b | vLLM Semantic Router | 4B | 255 | 256 | $0.01 | $0.015 | =26 |
jaredpalmer/kev-9b | jaredpalmer | 9B | 255 | 256 | $0.04 | $0.06 | =26 |
alibiserikbay/jevk5-4b | alibiserikbay | 4B | 16 | 256 | $0.01 | $0.015 | =30 |
mapika/decider-4b | Mapika | 4.7B | 255 | 256 | $0.01 | $0.015 | =30 |
mapika/decider-2b | Mapika | 1.9B | 255 | 256 | $0.007 | $0.0105 | =39 |
fastino/gliner2.5-decide | Fastino | 0.5B | 64 | 256 | $0.005 | $0.0075 | 51 |
A base model called directly costs the price in the table, and so does a model from a custom project on it. All decisions of a continuous model cost the continuous model price, also before its first version. client.base_models() and GET /v1/base_models give the current prices and limits, and for each base model its provider, leaderboard_rank, modalities (text, and image if it reads images), hf_repo (the Hugging Face repository of the weights), hf_revision (the pinned commit) and contract (how Endor turns a question into the model's input and reads the probabilities). decision_index gives its entry on the index: its rank (= marks a tie), the general use cases it ranks best at (meant_for) and a link to its scores there. tokens_per_s is the decision throughput Endor measured on it. The dashboard's Model garden shows all of this for every base model.
Endor runs each model as its publisher's code does, and decides each question of a request on its own: a model whose own code can read all questions of a request together (perplexity-ai/pplx-decider-v1.2-27b, cloudflare/clef-27b, cloudflare/clef-flash-9b, bespokelabs/nimble-9b-v2) sees one question at a time, the same way it is trained.
Images
These base models also read images in the state (see Images). Each one reads them as its publisher's code does, and an image costs input tokens:
| Model id | Tokens for one image |
|---|---|
autotrust/gev-26b | About 270 (at most 282), at any size: the model scales large images down |
cloudflare/clef-27b, cloudflare/clef-flash-9b | Grows with the size up to 1 megapixel: about 265 at 512x512, 775 at 1024x768, and at most 1,033 for any larger image |
For cloudflare/clef-27b and cloudflare/clef-flash-9b, the counts include 4 to 6 tokens for the text [image N] that marks the image's place in the state. Text that you put with an image, such as its key in an object, counts as text.
A question can have at most 16,384 tokens, images included. Images of any resolution work. Each base model scales an image to the size it reads and keeps the aspect ratio, so a large image is scaled down and a very small one up. cloudflare/clef-27b and cloudflare/clef-flash-9b read at most 1024x1024 pixels (1 megapixel) of an image. Their publisher's code reads up to 16 megapixels, so for a larger image their answers can differ a little from that code's. The input tokens count the image at the size the model read. The other base models read only text: a decision with an image fails with 422 unsupported_modality. The vision part of a base model is not trained: training data cannot contain images yet.
Cold starts
The decision servers of a base model shut down after a period without decisions. The next decision on that base model, a continuous model on it or a model trained on it waits 1 to 3 minutes while one starts. Rarely used base models start cold more often. See Cold starts.
Rules for each base model
baselabs/mammoth-1-27b: any question with 1 to 255 options.perplexity-ai/pplx-decider-v1.2-27b: any question with 1 to 255 options. It is the only base model with a readout head that you can train (train_readout=True).autotrust/jev-v1.1-27b: any question with 1 to 255 options. Everyscorelevel needs a description: ascoreis read as a choice between its level descriptions.autotrust/gev-26bandautotrust/jev-9b: achoicehas 2 to 16 options. Anoul'strue/falsedescriptions are read after itsinstructions. Ascoreis read as a choice between its level descriptions.cloudflare/clef-27b,cloudflare/clef-flash-9bandjaredpalmer/kev-9b: any question with 1 to 255 options.eldanring/winnow-12b: achoicehas 2 to 64 options.alibiserikbay/jevk5-9bandalibiserikbay/jevk5-4b: each question needsinstructions. Achoicehas 2 to 16 options.vllm-sr/decision-2.0-lux-9bandvllm-sr/decision-2.0-nox-4b: each question needsinstructions. Achoicehas 2 to 255 options with non-empty keys. Eachnouldescription you give, and everyscorelevel, needs text.akhilaaa3/jev-omni-12b: achoicehas 2 to 255 options.bespokelabs/nimble-9b-v2:instructionsmay not be blank. Achoicehas 2 to 255 options with non-blank keys. Option and level descriptions are text, not JSON.mapika/decider-4bandmapika/decider-2b: achoicehas 2 to 255 options. Each question needsinstructions(anoulwithoutinstructionsmust describetrueorfalsein itscriteria).fastino/gliner2.5-decide: 64 options maximum. It reads 512 tokens per question: a longer state is cut at a word to fit, and the decision'swarningssay so (state_truncated); training reads the same cut state. Theinstructionsand options must fit on their own.
A question that does not fit fails: a decision with 422 invalid_options, a training call with 422 invalid_datum.
Compare models
Evaluate base models and the models you trained on the same labeled rows, a dataset or rows sent with the call:
import endor
client = endor.EndorClient()
for model in ["mapika/decider-2b", "autotrust/gev-26b", "router-2"]: # two base models and one model you trained
ev = client.evaluations.create(model, "heldout").result()
print(model, ev.results["overall"]["accuracy"])