All posts
Case study · Healthcare & regulated industries

Small Models, Frontier Scores: RL-Tuned 4B and 9B Models on HealthBench

With reinforcement learning on medical rubrics, Qwen3.5-9B rises from 48.5 to 72.1 on HealthBench, above the best frontier score, while staying small enough to run in your own environment at a fraction of frontier token prices.

HealthBench
72.1

Score for our tuned 9B model, above every frontier model listed

Claude Opus 5.5 reports 68.1
Gain from RL
+23.6

Points for the 9B, from 48.5 before training

+25.4 for the 4B, to 69.2
Token cost
$20 down to $0.20

100× lower price per 1M output tokens than Claude Opus 5.5

Inference price for Qwen3.5-9B, the model we tuned (Artificial Analysis)

The challenge

“Our patient data has to stay here. Can our engineers build and run the model here, too?”
  • Patient data needs to stay in-house: healthtech companies, providers, payers and life-sciences teams hold some of the most valuable data for AI, and some of the most tightly regulated. Patient messaging, triage support, note drafting and chart summaries all run on protected health information (PHI). Every prompt sent to an outside model API raises questions about governance, security, compliance and data residency that can stop a project before it starts.
  • Cost is the second wall: at frontier rates of $40 per million output tokens for Claude Fable 5.2, every new patient, chart summary and agent step adds to a bill that grows fast at production volume. Open models cost far less: on December 1, 2026, Kimi K3.1 Pro listed at $10, and DeepSeek V4.1 Flash is hosted from $0.40, up to 100 times less. But out of the box they miss what a good clinical answer looks like.
  • Tuning closes the gap, but it is hard to staff and build: building the stack yourself keeps the data in, but it usually takes months of engineering and specialist talent that most teams do not have.

You should not have to choose between using AI and keeping control of your data and your costs.

How Goaly helps

Goaly gives your existing engineering team an integrated workflow to train, evaluate, deploy and continuously improve domain-specialized models inside your own infrastructure. Your data, model weights and domain knowledge stay under your control, so you can build AI around your clinical and business requirements instead of adapting them to an outside model provider.

We are releasing recipes for vertical use cases: healthcare, banking and finance, and multi-turn agentic tasks on Terminal-Bench. Each one ships with the training setup, so your team can run the recipe and then swap in your own data. This post walks through the healthcare recipe. It shows that a smaller model, tuned on the task, can match or beat frontier quality at a far lower token cost.

Results at a glance

We ran reinforcement learning (RL) on Qwen3.5-4B and Qwen3.5-9B with rubric-graded medical chat data, using RubricHub[2] as a starting point. On all 5,000 HealthBench[1] conversations, our 9B model rises from 48.5 to 72.1, and our 4B model rises from 43.7 to 69.2. Both these models are above Claude Opus 5.5 (68.1).

Our tuned 9B and 4B models match the best models on HealthBench

Score out of 100, on all 5,000 HealthBench conversations.

  1. Qwen3.5-9B, tuned (ours)72.1
  2. Qwen3.5-4B, tuned (ours)69.2
  3. Claude Opus 5.5†68.1
  4. Claude Opus 5†67.1
  5. OpenAI o359.9
  6. gpt-oss-120b57.6
  7. GPT-6 Astra†56.9
  8. GPT-6.1 Sol†56.7
  9. GPT-6.1 Terra†51.1
  10. GPT-6 Luna†50.0
  11. Qwen3.5-9B, before training48.5
  12. GPT-4.147.8
  13. GPT-6 Sol†47.1
  14. Qwen3.5-4B, before training43.7
  15. gpt-oss-20b42.5
  16. OpenAI o142.0
  17. GPT-4o32.3
† Reported by the developer, as listed by BenchLM; grader and settings may differ from ours. o3, o1, GPT-4.1, GPT-4o: HealthBench paper (mean of 16 runs). gpt-oss: OpenAI model card, high reasoning. Qwen3.5: our evaluation, GPT-4.1 grader.

HealthBench: what it measures

A healthcare AI system has to give medically accurate information, respond to the clinical context, and communicate clearly with patients and clinicians. To test these, we use HealthBench, a widely used benchmark from OpenAI[1]. It covers patients asking for health advice and clinicians asking for help with treatment decisions, note drafting and related tasks.

Physicians wrote a rubric for each conversation, listing what a good answer should do and what it should avoid. GPT-4.1 grades each answer against that rubric. The rubrics check whether a model:

  • Recognizes an emergency
  • Tailors its answer to a patient or a clinician
  • Adapts to the user’s country and resources
  • Hedges only when the answer is truly uncertain
  • Asks for missing information that would change its advice

Most of the points reward completeness and medical accuracy. We chose HealthBench because it tests the situations that real healthcare providers care about.

How HealthBench grades an answer

One conversation, a physician-written rubric. Score = points earned ÷ points possible.

1 · Person asks

Man, this cold is kickin’ my ass. Would antibiotics help me bounce back?

2 · Model answers

Sorry to hear you’re feeling under the weather! If you’re dealing with a cold, antibiotics won’t help because the common cold is caused by viruses…

3 · Grader scores it
Rubric18 points possible
  • ✓ Met+8Colds are viral; antibiotics don’t help
  • × Missed+10Names red flags: high fever, short of breath, chest pain
  • ! Penalty−5Doesn’t explain why antibiotics miss viruses
0.17+8 earned, −5 penalty
= 3 of 18 points
Source: openai/healthbench (prompt 98024f2f; response from the meta-eval set). Response and criteria shortened. Verdicts are illustrative.

Training Qwen3.5 with async RL on medical rubrics

We train Qwen3.5-4B and Qwen3.5-9B with RL on the medical prompts of RubricHub[2], an open dataset from an ACL 2026 paper in the same format as HealthBench. Each response is rewarded by how well it meets its prompt’s rubric. Training runs on Goaly’s async RL stack, where sampling and training run in parallel instead of taking turns.

Training reward and validation score for Qwen3.5-4B and 9B over 1,000 steps. Validation rises from 49.8 (9B) and 43.3 (4B) untrained to a best of 74.4 and 69.9.
Training reward (mean of 256 answers per step, 25-step average) and validation score on 500 held-out conversations, graded by GPT-4.1. Best validation scores: 74.4 for the 9B and 69.9 for the 4B.

RubricHub’s reward alone was not enough to train stably. We made two changes to it.

1. Penalizing self-talk

  • The problemAs training went on, the model’s reasoning started to spill into its final answer as planning notes, a pattern we call self-talk. The grader kept rewarding these answers, because it checks whether each rubric item is met somewhere in the response, not whether the response works as a whole.
  • The solutionA self-talk gate before rubric grading, as a separate call to gpt-oss-120b. Any response that fails the gate gets zero reward, and its rubric is never graded.
  • The resultThe score holds up through many more steps. Without the gate, the validation score fell sharply after step 800, to 12.6 at step 1,000, with 385 of 500 answers never finishing. With the gate, the score at step 1,000 is 43.3 (+30.7).

2. Tailoring the rubric to who is asking

  • The problemA good answer to a patient uses plain language and gives clear next steps. A good answer to a clinician leaves out the basics they already know. RubricHub’s rubrics do not tell these users apart, and with them alone the model collapsed during training into long, unfocused answers.
  • The solutionWe use gpt-oss-120b to label each prompt as written by a patient or a clinician, and add penalties for each audience to the rubric. For patients, the penalties come from the Patient Education Materials Assessment Tool (PEMAT)[3]. For clinicians, they come from published guidance on clinical summaries and consultations[4][5][6].
  • The resultThe model stops collapsing and keeps improving through the whole run. At step 1,000, the full method scores 68.6, against 43.3 without tailored rubrics (+25.3), where 142 of 500 answers never finished.
Validation score during training. The full method holds near 68.6 to step 1,000; without tailored rubrics it drops to 43.3; without rubrics or the gate it drops to 12.6.
Validation score for Qwen3.5-4B during training: the full method, without tailored rubrics, and without either tailored rubrics or the self-talk gate.

We have the recipe for this healthcare use case ready, and you can use Looper to reproduce the results in this post exactly. The audience-tailored rubric data behind these results is available on request; contact us to get it.

Evaluation and results

We evaluate on all 5,000 HealthBench conversations with OpenAI’s simple-evals implementation[7]. This matches the official HealthBench evaluation, so our scores compare directly with those OpenAI reports.

  • Our models: up to 32,768 tokens per answer, temperature 0.6, top-p 0.95. Qwen3.5-4B at step 600 and Qwen3.5-9B at step 900, the best validation checkpoints.
  • Grader: GPT-4.1 (gpt-4.1-2025-04-14, temperature 0.5, up to 2,048 output tokens), judging each rubric item on its own.
  • Score: the mean across all 5,000 conversations, clipped to [0, 1] and reported out of 100.

RL raised Qwen3.5-4B from 43.7 to 69.2 (+25.4) and Qwen3.5-9B from 48.5 to 72.1 (+23.6). Both models improved on all seven HealthBench themes. The biggest gains are in the behaviors that make an assistant safe to put in front of patients: seeking missing context (+36.7 and +34.0), global health (+34.8 and +32.9), and responding under uncertainty (+26.7 and +20.9).

Our RL improved every HealthBench theme

Score out of 100 by theme, on all 5,000 conversations.

  • Overall43.7 → 69.2+25.4
  • Seeking context36.3 → 73.0+36.7
  • Global health37.9 → 72.7+34.8
  • Responding under uncertainty47.5 → 74.2+26.7
  • Tailoring to the person asking49.6 → 73.9+24.3
  • Emergencies61.5 → 74.6+13.1
  • Clinical data tasks36.9 → 55.8+18.9
  • Response depth32.4 → 39.1+6.6
  • Overall48.5 → 72.1+23.6
  • Seeking context40.2 → 74.1+34.0
  • Global health43.7 → 76.6+32.9
  • Responding under uncertainty54.3 → 75.1+20.9
  • Tailoring to the person asking60.0 → 77.9+17.9
  • Emergencies65.5 → 80.4+14.9
  • Clinical data tasks44.1 → 53.9+9.8
  • Response depth43.1 → 52.1+9.1
Graded by GPT-4.1 with OpenAI’s grading prompt. Qwen3.5-4B at step 600 and Qwen3.5-9B at step 900, each against the same model before training. Theme scores cover answers that reached the grader; the overall score also counts answers cut off at the token limit as 0.

Other models’ scores come from the HealthBench paper[1] for o3, o1, GPT-4.1 and GPT-4o, from OpenAI’s model card for gpt-oss, and from BenchLM[8] for the newer Claude and GPT models. Those newer scores are reported by each developer, and their grader and settings may differ from ours.

Frontier quality at a fraction of the frontier token cost

Our tuned 9B model scores higher on HealthBench than Claude Opus 5.5 (72.1 against 68.1), at 1% of its price per output token. These are inference prices: what you pay each time the model answers. Opus 5.5 lists at $20 per million output tokens[9]. Qwen3.5-9B, the model we tuned, is hosted at an average of $0.20[10], and RL tuning does not change the model’s size, so the tuned model runs on the same hardware. Against Claude Fable 5.2’s $40, that is 0.5%. Tuning is a separate, one-time cost and is not included here.

A higher HealthBench score at a fraction of the token price

Inference price per 1M output tokens, USD, with each model’s HealthBench score.

  • Claude Opus 5.5Anthropic API$2068.1
  • Qwen3.5-9B, tunedHosted Qwen3.5-9B price$0.201% of Opus 5.572.1
Input tokens follow the same pattern: $4 per 1M for Opus 5.5, against $0.135 for Qwen3.5-9B. Prices are for inference only; the one-time tuning cost is not included. Claude prices are Anthropic’s API list prices; Qwen3.5-9B is the average hosted price on Artificial Analysis. Both read December 2, 2026. Claude scores are developer-reported (see Figure 1).

At the same token count, one billion output tokens a month would cost about $20,000 on Opus 5.5 and about $200 at the 9B’s inference price. Here is why a tuned small model comes out ahead:

  • A small-model price for frontier-level quality: per-token prices follow model size. RL closes the quality gap on your task, so you pay a 9B price for the answers you need.
  • Or no per-token bill at all: a 9B model fits on a single data-center GPU. Run it on hardware you control, and a fixed cost replaces a metered bill that grows with every patient, feature and agent step.
  • PHI never leaves your environment: data, prompts and model weights stay inside your own infrastructure, with zero data egress to an outside API.
  • The model you evaluate is the model you serve: in our benchmark, the served model’s token log-probabilities differ from the trained model’s by about 0.004 per token, against an acceptance limit of 0.03.
  • Faster as you scale: in our benchmark, with 64 to 128 concurrent requests, Looper decoded 1.3 to 2.5 times faster per request than a leading hosted API, and matched it at small batches.

Price per token is not the whole cost: the number of tokens per answer depends on the model and its settings. Our free cost benchmark measures cost per task on your own workload. Speed and trained-versus-served figures are from Goaly’s benchmark, not a customer deployment; speed in your environment depends on your hardware.

What’s next

RL on medical rubrics can bring small open models to frontier quality in healthcare. Qwen3.5-4B and Qwen3.5-9B each gained more than 20 points on HealthBench, reaching scores comparable to far larger models while staying small enough to deploy inside a customer’s own infrastructure.

These gains depended on careful reward design. Without the self-talk gate, the model learned to exploit the grader. Without audience-tailored rubrics, it communicated less clearly with patients and collapsed into longer, less focused answers.

Next, we are taking on healthcare tasks that need tools, agents and interaction with live systems. If you want to build with us, we welcome collaborations.

See what a model of your own could do inside your environment

Exploring AI on patient data that has to stay in-house, or paying a growing frontier API bill? Bring us one use case, your eval set and your current bill.

Free AI workflow assessment.Pinpoint which clinical or operational workloads are worth moving to a model you run yourself, and how your engineers can build it.
Free cost-saving benchmark.See how much a smaller, domain-tuned model could cut your token bill, with quality measured on your own eval set.
Proof in your environment.We agree four acceptance tests up front: decode speed, the trained-versus-served check, zero data egress and cost per task.

No commitment. Just real benchmarks and a clear plan for your environment.

Join the beta and get your free assessment →

Goaly benchmark, not a customer deployment. Claude prices from Anthropic and Qwen3.5-9B prices from Artificial Analysis (the average across its listed hosts), December 2, 2026. Kimi K3.1 Pro, Claude Fable 5.2 and DeepSeek V4.1 Flash prices and scores from Artificial Analysis, Anthropic and getoffgridai.co, December 1, 2026.

References

  1. [1]Arora, Rahul K., et al. “HealthBench: Evaluating Large Language Models Towards Improved Human Health.” arXiv:2505.08775, May 2025. doi.org/10.48550/arXiv.2505.08775
  2. [2]Li, Sunzhu, et al. “RubricHub: A Comprehensive and Highly Discriminative Rubric Dataset via Automated Coarse-to-Fine Generation.” Proceedings of ACL 2026 (Volume 1: Long Papers), pp. 31320–44. doi.org/10.18653/v1/2026.acl-long.1445
  3. [3]Shoemaker, Sarah J., et al. “Development of the Patient Education Materials Assessment Tool (PEMAT).” Patient Education and Counseling 96(3), 2014, pp. 395–403. doi.org/10.1016/j.pec.2014.05.027
  4. [4]Croxford, Emma, et al. “Development and Validation of the Provider Documentation Summarization Quality Instrument for Large Language Models.” JAMIA 32(6), 2025, pp. 1050–60. doi.org/10.1093/jamia/ocaf068
  5. [5]Singhal, Karan, et al. “Large Language Models Encode Clinical Knowledge.” Nature 620, 2023, pp. 172–80. doi.org/10.1038/s41586-023-06291-2
  6. [6]Goldman, Lee. “Ten Commandments for Effective Consultations.” Archives of Internal Medicine 143(9), 1983, pp. 1753–55. doi.org/10.1001/archinte.1983.00350090131022
  7. [7]OpenAI. simple-evals. GitHub, 2024. github.com/openai/simple-evals
  8. [8]BenchLM. “HealthBench (raw).” Updated November 27, 2026. benchlm.ai/benchmarks/healthbench
  9. [9]Anthropic. Claude API pricing. Read December 2, 2026. platform.claude.com/docs/en/about-claude/pricing
  10. [10]Artificial Analysis. “Qwen3.5 9B: API provider benchmarking and pricing.” Read December 2, 2026. artificialanalysis.ai/models/qwen3-5-9b/providers