Nimble: Bespoke Labs' 9B decision model runs in Ollama
Bespoke Labs has released Nimble, a 9-billion-parameter model that doesn't write free-form answers. Instead, it scores questions with fixed answer options and probabilities. It's available in Ollama and suits jobs like ticket triage, model routing or vetting agent actions.

What this is about
Bespoke Labs has released Nimble, a decision model with 9 billion parameters (roughly speaking, the tunable settings learned during training). It's available in the Ollama library and was fine-tuned from Qwen3.5-9B. You can start it with ollama run nimble or download it with ollama pull nimble. There's one catch, though: Nimble is not a chatbot. You give it a text and a set of questions. For each question, it picks an answer and reports the probability of every allowed answer.
How it works
Nimble reads the prompt once per question and directly scores the probabilities of the answer tokens (small units of text). There is no thinking or reasoning step. According to the Ollama page, that's exactly what makes the model fast. In the sample response, usage for three questions is just 841 input tokens and 3 output tokens.
Each question has a type, instructions and usually criteria. These are the types:
- choice: Pick from 2 to 26 options, e.g. which team should handle a ticket. The output is the chosen option and the probability of each option.
- score: A scale with 2 to 26 levels, e.g. "Routine, Soon, Urgent". The output is a value between 0 and 2 plus the probabilities for each level.
- noul: A yes/no-style question that returns a value between 0 and 1, for example whether a customer explicitly demands a refund.
The confidence field ranges from 0 to 1 and shows how concentrated the probabilities are. The source stresses that it is not the chance that the answer is correct.
Example and access
In the sample ticket "I was charged twice. Please refund the extra payment.", Nimble assigns the ticket to the "billing" team with 0.984. The refund question gets 0.997, and urgency comes out at 0.693 (with a low confidence of 0.068, since the probabilities are spread out).
Decision models use the Ollama endpoint /v1/systemone, which follows TypeSafe's Jev API. The text to be assessed goes in state, and the questions go in questions. Ollama builds the prompt itself. Alternatively, there's the official Python SDK typesafe-sdk, which you point at Ollama (TYPESAFE_BASE_URL=http://localhost:11434). It requires an API key, which Ollama ignores, so any value works. This kind of model isn't yet supported in the Ollama CLI or in the Python and JavaScript libraries.
Use cases
- Ticket triage: Options can also be given without a description (null), in which case the names "explain themselves".
- Model routing: Each request goes to the right model, such as a small model for simple tasks and a large one for hard tasks like a database schema.
- Vetting tool calls: An agent call like
rm -rf ~can be checked for possible damage before it runs.
Training and benchmarks
Bespoke Labs builds training data in pairs: two examples are identical except for one fact, and when that fact changes, the correct answer flips. This is meant to teach the model which evidence should change a decision. Before an example is admitted, separate model calls check that the facts fit the rule, that the text doesn't give away the answer, and that dropping either of the two evidence sentences leaves the decisive fact open. The labels are produced by running the verified rules in code.
Bespoke Labs held back 324 examples (162 contrast pairs) for testing. The company also ran Nimble and Jev 1.13.0 on the same 3,880 records from 13 public datasets with human labels. None of the tasks belongs to Nimble's training categories. Accuracy means agreement with the human label. For rubric subsets, only an exact match of the level counts, which is why some values come out low for both models. Nimble and Tev1 ran on Ollama, while the Jev result comes from Bespoke Labs' own run through TypeSafe's API. The source at hand gives no concrete numbers, and all claims come from the vendor and apply to the original Nimble version.
What you need to try it
The source gives no hardware figures. As a rough estimate, a 9B model in 4-bit needs about 6 to 8 GB of VRAM (video memory) or matching system RAM. Ollama also runs on Mac and on CPU, though more slowly. Plan for a few GB of disk space.
Our take
Nimble shows a trend: small, specialized models for structured decisions instead of long text answers. For classification, routing and moderation, that's practical, because you get probabilities instead of free text and can set thresholds. On the critical side, the quality claims come from Bespoke Labs itself, and the source gives no concrete numbers. Confidence isn't a measure of correctness. Integration into Ollama's CLI and libraries is also still missing, and the API format depends on TypeSafe's Jev API.
Sources
- Ollama-Bibliothek ollama.com
- Ollama-Bibliothek ollama.com
- InfoQ China (CN) infoq.cn
Try it yourself: Nimble
Explained step by step, no prior knowledge needed – on your own computer or free in your browser.
What can I do with it?
Nimble doesn't answer open-ended questions. It assesses a text using questions with fixed answers. You get probabilities for each option, for example to sort tickets, route requests to suitable models or vet an agent's tool calls.
Who is it worth it for?
Worth a look for developers who want to build fast classification, routing or moderation locally. It isn't meant for normal chat or long texts.
What your computer needs
Which variant is right for me?
Many models come in several sizes or "quantizations." These are compressed versions: smaller and faster, but slightly less accurate. Rule of thumb: pick the largest variant whose memory requirement fits in your VRAM (video memory). The scripts below choose this for you automatically.
| Variant | Download | Needs approx. | Compatible graphics cards |
|---|---|---|---|
9b-q4_K_M |
5.6 GB | 7.5 GB | e.g. RTX 3060 Ti, RTX 4060, RTX 5060, RX 7600 |
9b Default |
9.3 GB | 12 GB | e.g. RTX 3060 12 GB, RTX 4070, RTX 5070, RX 7700 XT |
9b-q8_0 |
9.5 GB | 12 GB | e.g. RTX 3060 12 GB, RTX 4070, RTX 5070, RX 7700 XT |
9b-bf16 |
18 GB | 21 GB | e.g. RTX 3090, RTX 4090, Tesla P40 |
Only the 9B variant exists. The source says nothing about quantization or hardware. As a rule of thumb, about 6 to 8 GB of VRAM is enough for 4-bit.
- The source gives no hardware figures. A 9B model in 4-bit needs roughly 6–8 GB of VRAM.
- Ollama also runs on Apple Silicon and on CPU, though more slowly.
- Since there's no thinking step, responses are very short (e.g. 3 output tokens).
How do I find out what my computer has?
- Windows: Press Ctrl + Shift + Esc → Task Manager → Performance tab → click GPU on the left. At the bottom you'll see Dedicated GPU memory (that's your VRAM). You'll find system memory under Memory.
- Mac: Apple menu at the top left → About This Mac. You'll see your chip (e.g. M2) and memory (e.g. 16 GB). On Apple chips, graphics and processor share this memory.
- Linux: Type
nvidia-smiin the terminal (shows your graphics card and its memory) andfree -hfor system memory.
Guide
Google Colab (in your browser, no installation)
Google Colab is a free service from Google. It gives you a computer with a graphics card in your browser for a few hours. All you need is a Google account. For this model: runs for free – The free Tesla T4 GPU with 15 GB is enough.
- Download the notebook. Click the button and save the file.
- Open Colab. Go to colab.research.google.com and sign in with your Google account.
- Upload the notebook. In the window that appears, click Upload on the left (or choose File → Upload notebook at the top) and select the file
colab.ipynb. - Turn on the GPU. In the top menu, go to Runtime → Change runtime type → under Hardware accelerator, select T4 GPU → Save.
- Start everything. Runtime → Run all (keyboard shortcut Ctrl + F9). If you see the warning “This notebook was not authored by Google,” click Run anyway.
- Wait. The cells run one after another. A green checkmark appears to the left of each cell when it's done. Installation and download take about 7 minutes here.
- Try it out. The result appears below the last cell. To test something else, change the text in the cell and run it again with Shift + Enter. The last cell starts a proper chat with an input field.
- Clean up. When you're done: Runtime → Disconnect and delete runtime. This saves your free quota.
Good to know: The free GPU is limited (usually a few hours per day). After about 90 minutes of inactivity, Colab disconnects, and you'll have to start everything over.
Windows 10 / 11
The easiest way is Ollama, a free program that launches AI models with a single command.
- Update your graphics driver (NVIDIA cards only): Install the NVIDIA app or the latest driver. For AMD cards, use the latest Adrenalin driver.
- Install Ollama. Download the file OllamaSetup.exe from ollama.com/download/windows, double-click it, and choose Install. Afterward, a small llama icon appears in the taskbar at the bottom right.
- Open a terminal window. Press the Windows key, type PowerShell and press Enter. A blue or black window opens.
- Start the model. Copy this command ("Copy" button), paste it into the window with a right-click, and press Enter:
The first time, Ollama downloads the model (9.3 GB (about 12 min at 100 Mbit/s)). After that, it's instant.ollama run nimble:9b - Start typing. Once
>>> Send a messageappears, type your question and press Enter. Type/byeto end the chat.
Not enough memory? Pick a smaller variant from the table above, e.g. ollama run nimble:9b-q4_K_M.
Prefer automatic? A script that picks the right variant for you
- Download both files into the same folder: try_windows.ps1 demo.py
- Open the folder in File Explorer, right-click an empty spot and choose Open in Terminal.
- Paste this command and press Enter:
powershell -ExecutionPolicy Bypass -File try_windows.ps1
If needed, the script installs Ollama via winget, measures your VRAM (video memory) and downloads the matching variant.
macOS
Macs with an Apple chip (M1 to M5) are ideal. Older Intel Macs are very slow.
- Install Ollama. Download it from ollama.com/download/mac, open the file, and drag Ollama into your Applications folder. Launch Ollama once – a llama appears in the menu bar at the top.
- Open Terminal. Press Cmd + Space, type Terminal, and press Enter.
- Start the model. Paste the command (Cmd + V) and press Enter:
The first time, the model is downloaded (9.3 GB (about 12 min at 100 Mbit/s)).ollama run nimble:9b - Start typing. Type your question and press Enter. Quit with
/bye.
Linux
- Check your GPU.
nvidia-smishould show your card. If it doesn't, install the driver on Ubuntu and restart:sudo ubuntu-drivers install - Install Ollama:
curl -fsSL https://ollama.com/install.sh | sh - Start the model:
Exit withollama run nimble:9b/bye. Useollama psto check whether the model is running on the GPU. - Or let it pick the right variant automatically:
bash try_linux.sh
Try it
state: "I was charged twice, please refund the payment." Question (choice): Which team is responsible? Options: billing, engineering, otherstate: "Our checkout has been returning error 500 since 9 a.m." Question (choice): Which label fits? Options: billing, bug, accountstate: "run_shell(command=\"rm -rf ~\")" Question (noul): Could this tool call cause damage?
If something goes wrong
Nimble doesn't work as a chat via `ollama run`. Use the /v1/systemone endpoint or the typesafe-sdk instead.
The Python SDK requires an API key. Any value, such as "ollama", will do.
The text goes in `state` and the questions in `questions`. Ollama builds the prompt itself.
Confidence is not a measure of correctness.
“out of memory,” a crash, or your computer freezes
The model is too big for your VRAM (video memory). Pick a smaller variant from the table above and close other programs, especially games and browsers with lots of tabs.
It runs, but extremely slowly
Your CPU is probably doing the work instead of your graphics card. In Ollama, the PROCESSOR column of ollama ps shows how much runs on the GPU. If it says "100% CPU", update your graphics driver or pick a smaller variant that fits entirely into VRAM (video memory).
“ollama” or “python” is not found
Close the terminal window and open it again so it recognizes the newly installed program. For Python on Windows: reinstall it and check Add python.exe to PATH.
Windows: "Running scripts is disabled on this system"
Run the script with exactly the command above: powershell -ExecutionPolicy Bypass -File try_windows.ps1. This allows execution for this one time only.
Error message when loading the model (version, "trust_remote_code", unknown architecture)
Brand-new models often need the latest software version. With Ollama: update Ollama. With Python: pip install -U transformers in the activated environment. The Model Card usually lists the exact version.
Tokenstrom generates the scripts and notebook automatically. Please take a quick look before running them – they're plain, readable text. Mind the model's license: custom license (see Model Card).
Ask the AI assistant
Questions about this article, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.
The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.
Comments
What do you think? Already tried it? Write it here, no sign-up needed.
Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.