Skip to page content
SAVRN
Search Plan a project

Open-weight model

kodiak-small-v2-preview

by Cortex Agent LLC cortex-agent-llc/kodiak-small-v2-preview

kodiak-small-v2-preview is an open-weight model from Cortex Agent LLC, released under Apache License 2.0. It has 152M parameters. At 16-bit it needs about 0.4 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.

Kodiak is an encoder-only "System One" decision model by Cortex Agent LLC: a state (text, list of texts, or JSON) plus typed questions in, calibrated answers out, in one forward pass.

Parameters152M
Context—
Weights1.2 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve kodiak-small-v2-preview (152M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.3 GB 0.4 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.2 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 19, 2026.

kodiak-small-v2-preview on every accelerator the SAVRN Index prices, at every precision

Model Card

By Cortex Agent LLC, published under apache-2.0, revision 939bd61959ee.

Kodiak is an encoder-only "System One" decision model by Cortex Agent LLC: a state (text, list of texts, or JSON) plus typed questions in, calibrated answers out, in one forward pass. Choice answers are always one of your labels, scores stay inside your range, and every question can come back as "not answerable from this state" with its own probability. Trained on the public datasets plus Generator v2 synthetic data (9,137 training examples): a 971-document-type taxonomy, ~45% real web passages, questions labeled stated / inferred / unanswerable, and two AI critics. Compared with the same model trained on the v1 synthetic data at equal size, averaged over three training runs each: So v2…

Read Cortex Agent LLC's full model card

Kodiak small — research preview v2

Research preview. An early model, shared while we build in public. It's fast and often right, and it also makes mistakes (see Known weaknesses). Code, docs, evaluation and the whole build story: https://github.com/grizzlypeaksoftware/kodiak · Demo: https://huggingface.co/spaces/comgen42/kodiak-demo · Feedback and failure cases welcome as GitHub issues. Previous preview: kodiak-small-r1-preview.

Kodiak is an encoder-only "System One" decision model by Cortex Agent LLC: a state (text, list of texts, or JSON) plus typed questions in, calibrated answers out, in one forward pass. Choice answers are always one of your labels, scores stay inside your range, and every question can come back as "not answerable from this state" with its own probability.

# pip install "kodiak-s1[infer] @ git+https://github.com/grizzlypeaksoftware/kodiak"
from kodiak_s1.hub import Kodiak

kodiak = Kodiak.from_pretrained("cortex-agent-llc/kodiak-small-v2-preview")   # GPU if available, else CPU
kodiak.decide(
    {"order_id": "A-1042", "status": "delivered", "message": "The box arrived crushed and the lamp is broken."},
    [{"type": "choice", "id": "intent", "text": "What does the customer want?",
      "labels": ["refund or replacement", "delivery status", "cancel order", "product question"]},
     {"type": "choice", "id": "carrier", "text": "Which carrier delivered it?", "labels": ["UPS", "FedEx", "USPS"]}],
)
# -> intent: "refund or replacement" (0.61); carrier: abstains (p_null 0.96) because the state never says.
#    Honest note: this fix is fragile. Drop the order_id and v2 leans "delivery status" (0.56); the r1 preview got it wrong both ways (0.53, 0.85).

What's new in v2

Trained on the public datasets plus Generator v2 synthetic data (9,137 training examples): a 971-document-type taxonomy, ~45% real web passages, questions labeled stated / inferred / unanswerable, and two AI critics. Compared with the same model trained on the v1 synthetic data at equal size, averaged over three training runs each:

v1 data v2 data (this model's recipe)
Wrong refusals on never-seen tasks (forced − plain accuracy) 4.3 pts 1.7 pts
When it abstains, how often it's right 84% 92%
Calibration error (ECE) 0.038 0.029
Never-seen tasks, forced to answer 72.1% 72.0% (no change)
Familiar tasks 81.4% 81.7%

So v2 answers inference questions instead of refusing them and its "can't tell" is more trustworthy; it is not better at never-seen classification tasks. Details: GENERATOR_V2.md §11, decision D29.

This checkpoint

  • Run b-small-s1-B-v2 (seed 0, chosen among three seeds by validation loss, not the eval set), step 6000. ModernBERT-base backbone (Apache-2.0), 152M parameters. Calibration temperatures baked in; default abstain threshold 0.70 (override per request with null_threshold).
  • Frozen eval set v0.1: overall 0.795, familiar tasks 0.813, never-seen tasks 0.703 (0.721 forced), ECE 0.028, abstain precision 0.92.
  • Speed: ~8 ms per request on a GPU, ~80 ms on 8 ARM CPU cores.
  • Includes handler.py for Hugging Face Inference Endpoints (Deploy → Inference Endpoints; CPU is enough).
  • Includes model.onnx (fp32, calibration baked in) for self-hosting without Python: the Node.js + Docker server in server/ answers in ~30 ms per request on 8 CPU threads. Download this repo into a folder and point KODIAK_MODEL at it.

Known weaknesses

  • Fragile intent calls: small changes to the input can flip close calls (see the example above); check confidence and escalate low ones.
  • Judgment scores on new scales can be badly off: it rates "I was charged twice and nobody answers my emails!" as barely urgent.
  • Never-seen category-inference tasks (e.g. occupation from a biography): roughly on par with open zero-shot classifiers, well behind large LLMs.
  • Agent tool routing when the right tool is only implied; states longer than 512 tokens are truncated; English only.
  • Not for high-stakes decisions about people without human review. Bias in Bios (occupation) is a held-out task with known gender bias.

Identity and Version

Repository
cortex-agent-llc/kodiak-small-v2-preview
Publisher
Cortex Agent LLC
Task
Not stated by the source
Modality
Other
Library
kodiak
Parameters
152M parameters
Languages
en
Revision
939bd61959eeedd243e3ad66a96cfad4aebaca54
First published
2026-09-26
Last updated
2026-09-27

Files and Weights

9 files, 1.2 GB in total. The weights are 2 files totalling 1.2 GB in onnx, safetensors.

Weights2 files · 1.2 GB
Configuration3 files · 2.0 KB
Tokenizer1 file · 2.1 MB
Documentation1 file · 4.6 KB
Other1 file · 69 B
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.onnxWeights609.9 MB 38d806f4fcf6
model.safetensorsWeights607.9 MB 7fbc9e539a73
calibration.jsonConfiguration589 B —
handler.pyConfiguration948 B —
model_config.jsonConfiguration456 B —
README.mdDocumentation4.6 KB —
requirements.txtOther69 B —
.gitattributesRepository1.5 KB —
tokenizer.jsonTokenizer2.1 MB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
1.2 GB
Download from Cortex Agent LLC

Released by Cortex Agent LLC through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published1.2 GB
16-bit0.3 GB
8-bit0.2 GB
4-bit0.1 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About kodiak-small-v2-preview

How much GPU memory does kodiak-small-v2-preview need?

About 0.4 GB at 16-bit and 0.1 GB at 4-bit: the weights (152M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run kodiak-small-v2-preview on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use kodiak-small-v2-preview commercially?

Yes. kodiak-small-v2-preview is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.