Skip to content
Get started

Models and versions

Use with an AI tool

Curva does not ship a model of its own for judging text, pictures or sound. It asks one you reach through a provider, so the model is the part most likely to change under you. This page says which model answers by default, what to pin so answers stay the same, and what you see when a provider changes or retires a model.

The server picks one default model when it starts. A request that names no model uses it.

How the server is started Default model
curva serve --model <id> That model. This is the setting to use in production.
OPENROUTER_API_KEY or CURVA_PROVIDER_URL set The model of the curva-latest pinned config: nvidia/nemotron-3-super-120b-a12b:free today
One or more hosted provider keys, no OpenRouter The first provider in the provider table with a key, and the first of its usual models that the provider’s /models endpoint lists. With AWS_BEARER_TOKEN_BEDROCK: @bedrock/moonshotai.kimi-k2.5, then @bedrock/mistral.ministral-3-8b-instruct
No key at all None that works: the server logs a warning, and every request must name a model on a local provider such as @ollama/...

The server logs its choice on start: curva-latest = curva-1.1.0, default model @bedrock/moonshotai.kimi-k2.5. It also keeps the default in its database, and GET /v1/models reports it with the one it replaced:

{"models": [...], "default_model": {"model": "@bedrock/mistral.ministral-3-8b-instruct",
"previous": "@bedrock/moonshotai.kimi-k2.5", "changed_at": 1793001600000}}

previous and changed_at (Unix milliseconds) stay null until the default first changes.

Feature Default Change it with
decide, check, guard, route, MCP tools, agent-framework tools The server’s default model model= on the request; a chain, council or race
Pictures and video clips sent to decide The server’s default model, which must see model=
Recordings sent to decide The server’s default model, which must hear; if it can’t, the error names @gemini/gemini-3.1-flash-lite model=
Live calls (/v1/listen) gemini-3.1-flash-live-preview through Gemini Live, for the sound model in the call’s start; CURVA_LIVE_URL for the endpoint
Camera frames on a live call The server’s default model vision_model=
Live video (watch) The server’s default model model=
Live video, fast path A local CLIP ViT-B/32 image encoder (laion2B), fixed by revision and SHA-256 Fixed; fetched with curva vision-model fetch
Library: describing photos and recordings The server’s default model model= on add
Library: search A local minishlab/potion-base-8M embedding model, fixed by revision and SHA-256; a different file is refused Fixed
Ask files written from plain words The server’s default model model on POST /v1/ask-file
Curva Router (model: "curva/router") The candidates you list in curva.models or CURVA_ROUTER; the routing call itself uses router from those settings, or the server’s default model curva.models, curva.default, router
Learned answers and on-phone packs A small model trained per project from your labels; no provider call Trained, not chosen
curva bench, curva map, curva spike inclusionai/ling-3.0-flash-fin:free --models

Two things decide how a question is answered: the model, and the config (the prompt template, the probability mode and debiasing). Pin both.

import curva
d = curva.decide("Checkout is down", {"team": ["billing", "technical"]},
model="@bedrock/moonshotai.kimi-k2.5", config="curva-1.1.0")

A pinned config is frozen. A change to the prompt, the mode, debiasing or the config’s model ships as a new name and never edits an old one, so curva-1.0.0 today behaves as it did when it shipped.

Config Prompt Mode Model
curva-1.0.0 State first auto inclusionai/ling-3.0-flash-fin:free
curva-1.1.0 State first auto nvidia/nemotron-3-super-120b-a12b:free
curva-1.2.0 Questions first, so the repeated part of the prompt can be cached auto nvidia/nemotron-3-super-120b-a12b:free
curva-latest The config the operator chose with curva serve --latest-config; curva-1.1.0 unless changed

GET /v1/models lists the configs this server knows, and an unknown name gets a 422.

Rules that follow from the code:

  • A request that names a config and no model uses the config’s model. Those are OpenRouter model ids. On a server that reaches its models through Bedrock, Gemini or another provider, send model with every pinned request.
  • A request with neither uses the server’s default model and curva-latest. Both can change when the operator restarts with another --model or --latest-config, or when the default is picked again on start (below).
  • Fields on the request win over the config. mode or debias sent with a request override the pinned values for that request.
  • Every response and audit entry names the model that answered and the config. Read them to see which version made a decision. A signed receipt signs the model with the answers; the config is in the response and the audit log, not in the receipt.
  • Repeats are cached per model. The decision cache keys on the model id, so a new model never serves an old model’s cached answer.
  • Calibration is kept per model. A calibrator applies only to answers from the model it was fitted on (below).

When a provider changes or retires a model

Section titled “When a provider changes or retires a model”

Providers rename, upgrade and retire models on their own schedule. Curva has no feed of those changes. Here is what happens, and what you see.

A request to a retired model fails clearly. When the provider says the model is gone (no longer available, decommissioned, not found for the account, unknown model), Curva answers 502 with type model_unavailable:

{"error": {"type": "model_unavailable", "message": "the model isn't available to this server's provider account; check the model id or your access (the server log has the provider's words)"}}

The provider’s own message goes to the server log, never to the caller. Curva does not swap in another model by itself, so an answer never comes from a model you did not choose.

Keep answering through a retirement:

  • Give a fallback for each question, and a request answers with it, marked fallback: true, instead of failing.
  • Name a chain, model=["@bedrock/moonshotai.kimi-k2.5", "@bedrock/mistral.ministral-3-8b-instruct"]: the next model answers when the first fails for any reason, retirement included. The response’s model says which one answered.

The default model can change on restart. Without --model, the server picks the first of its provider’s usual models that the provider lists when it starts. If Bedrock stops listing moonshotai.kimi-k2.5, the next start picks mistral.ministral-3-8b-instruct. The server still starts, and because it remembers the last default in its database, it logs a warning that names both models:

WARN the default model changed from @bedrock/moonshotai.kimi-k2.5 to @bedrock/mistral.ministral-3-8b-instruct since the last start, so calibration fitted on @bedrock/moonshotai.kimi-k2.5's answers is not applied to @bedrock/mistral.ministral-3-8b-instruct's; start with --model @bedrock/moonshotai.kimi-k2.5 to keep the old one

GET /v1/models then shows the old model as previous, with changed_at. The same warning appears when you restart with another --model. If the provider lists none of its usual models, or the list can’t be read, the first is used and requests fail as above. Start with --model in production so a restart never changes the model.

A provider can change a model behind the same id. An id such as gemini-flash-lite-latest moves when Google moves it. Prefer a dated or versioned id where the provider has one, and watch drift: GET /v1/drift flags a week whose answer mix moved by more than 0.2, or whose average confidence moved by more than 0.1, against the weeks before it.

Calibration is kept per project, per question and per model. A question’s key is its exact type, wording and options, and a calibrator is fitted only on the labels of one model’s answers. So:

  • A calibrator applies only to the model it was fitted on. After a model change, the new model’s answers come back raw, with calibrated: false, until 30 of its own answers to that question are labelled; then it gets a calibrator of its own. The old model’s calibrator stays and applies again if you go back to that model.
  • Each model’s calibrator is refitted from its own newest labels (up to 5,000) as feedback arrives, at most once every 5 seconds, and it is only applied while it beats the raw probabilities on those labels. A label on a learned answer refits no model’s calibrator.
  • Guaranteed answer sets (coverage) are fitted on the answering model’s labels too. A promised accuracy still counts every model’s labels for the question, each scored with its own model’s calibrator.
  • Rewording a question starts fresh, because the wording is part of its key. Change the wording when you mean to change the question, not to reset calibration.
  • A calibrator stored by an older server is kept for the one model whose answers all its labels came from. One fitted on labels from more than one model is dropped when this server first opens the database, and the next label on that question fits one per model.

Check where you are with curva.calibration("<question>", project="support"): it reports the labels so far and the accuracy and calibration error before and after, for the model that answered the question last. Add model (GET /v1/calibration?...&model=<id>) to see another model’s, and read model in the report to see which one it covers. See Calibrate with feedback and Projects and configs.