Choosing a small model for generated text with a blind test

Many apps generate prose for users: product descriptions, personalised reports, story continuations, summaries in several languages. The default choice is often the smallest tier of a well-known commercial family, such as Claude Haiku, with the plan to upgrade to a larger model once quality matters more. Then someone runs a side-by-side test and finds that a cheap open-weight model produced text that readers preferred, and faster.
Results like that are worth taking seriously, and also worth testing for yourself, because they depend heavily on the task, the language and the prompt. This comparison explains where small commercial models and open-weight models typically differ, why one can win in one app and lose in another, which quirks to watch for in long outputs, and how to run a blind A/B test that produces a decision rather than an opinion.
Frequently asked questions
What is an open-weight model?
A model whose trained weights are published so anyone can run it, fine-tune it or serve it through their own API. Licences differ; some allow commercial use freely, others add conditions. Quality ranges from small experimental models to ones that rival commercial mid-tier offerings on some tasks.
What is Claude Haiku in general terms?
Haiku is the name Anthropic uses for its smallest, fastest Claude tier, positioned for high-volume and latency-sensitive work. Specific versions, prices and capabilities change, so check Anthropic's current models and pricing pages for details.
How can a smaller or cheaper model beat a commercial one on prose?
Prose quality depends on style, fluency in the target language and how well the model follows a format, more than on raw reasoning. A model tuned on lots of text in a specific language or genre can sound more natural there than a general model, even a stronger one.
Which is better for strict formatting and safety-sensitive content?
Commercial small tiers tend to be more consistent at following detailed instructions and handling sensitive topics carefully, and they come with documented terms and support. Open models vary much more from one to another.
Why do some models repeat themselves in long outputs?
Repetition comes from the way models continue text: once a phrase or action pattern appears, it becomes more likely to appear again. Long role-play and story continuation are especially prone to it, across commercial and open models alike.
Is free-ai the open model that beat Haiku in such tests?
No claim of that kind is made here. free-ai is an independent open-weight model of about 35B parameters, tuned to refuse less often. It is one option you can include in your own A/B test, not a known winner.
How many samples does a fair comparison need?
Enough that the result is not noise: at least a few dozen real inputs, each judged blind. For a high-stakes switch, a couple of hundred is better, ideally rated by people who resemble your actual users.
Does speed matter as much as quality?
For long outputs, often yes. Users waiting for a long report notice the difference between a fast and a slow model, and streaming the output makes a faster model feel even more responsive.
Why the obvious default is not always right
Small commercial tiers are a sensible starting point: easy to integrate, well documented, consistent and usually cheap. The usual plan is to start small and move up the family when quality complaints arrive. That plan assumes the commercial family is the best option at every size, which is not always true for a specific task.
Generated prose is a case where the assumption often breaks. A report written in a language other than English, in a particular register, for a particular audience, is judged by how natural it reads. Some open-weight models have been trained or tuned on large amounts of text in exactly that language and style. In such cases, they can produce text that readers prefer, at lower cost and higher speed.
Language matters
General models are strongest in English. In other languages, rankings between models can shift, and a model's fluency there should be tested rather than assumed.
Genre matters
Warm, narrative or culturally specific writing rewards different strengths than technical summaries. Test with the kind of text your app actually produces.
What each side usually does well
Neither side wins everywhere, and the differences are fairly predictable once you know what to look for. The comparison below is general and should be confirmed with your own data.
Commercial small tiers
Consistent instruction following, careful handling of sensitive subjects, stable formatting, published data terms, support channels and an SLA on paid plans.
Open-weight models
Choice of many models and fine-tunes, possible strength in specific languages or genres, self-hosting for data control, and often fewer refusals on creative content.
Shared weaknesses
Both can drift into repetition on long outputs, both can hallucinate facts, and both need validation when output feeds into other systems.

The repetition problem in long outputs
Writers using models for interactive fiction often describe a frustrating loop: the model keeps repeating an action or phrase it just used, even after being told not to. This is not specific to one model family. Language models continue patterns, and a recent pattern in the context is a strong signal for what comes next.
Mitigations are mostly about the context. Summarise older passages rather than leaving them verbatim, vary the instructions over a long session, and check for repeated phrases in code before showing output. Sampling settings such as a moderate temperature help a little. Telling the model to avoid repetition helps less than people expect, because the instruction itself does not remove the pattern from the context.
Check for loops in code
A simple check that counts repeated sentences or near-identical paragraphs in a response catches most loops before a user sees them. Regenerate with a refreshed context when it fires.
- Replace older turns with a short summary
- Detect repeated sentences in code and regenerate
- Keep temperature moderate rather than very low
- Vary scene or section prompts in long generations
Setting up a blind A/B test
A fair comparison has three properties: real inputs, identical prompts and blind judging. Take a sample of real user inputs, or realistic synthetic ones if privacy prevents that. Send each input to both models with the same system prompt. Shuffle the two outputs, hide which came from where, and ask raters to pick the better one or mark them equal.
Record cost and latency alongside the votes. A model that wins slightly on quality but takes three times longer may still be the wrong choice for an interactive app. The script below collects paired outputs from two OpenAI-compatible backends into a file you can hand to raters.
Keep the key separate
Raters see only the pairs file. The key file, which records which side came from which model, stays with whoever analyses the votes.
import csv, os, random
from openai import OpenAI
A = {'client': OpenAI(base_url='https://api.anthropicapifreekey.com/v1', api_key='unused'),
'model': 'free-ai'}
B = {'client': OpenAI(base_url=os.environ['B_BASE_URL'], api_key=os.environ['B_API_KEY']),
'model': os.environ['B_MODEL']}
SYSTEM = 'Write a warm, 150-word personalised weekly outlook for the reader.'
INPUTS = ['Reader: likes hiking, starting a new job.',
'Reader: student, exams next week, loves cooking.']
def gen(backend, text):
r = backend['client'].chat.completions.create(
model=backend['model'], max_tokens=400, temperature=0.7,
messages=[{'role': 'system', 'content': SYSTEM},
{'role': 'user', 'content': text}])
return r.choices[0].message.content.strip()
with open('ab_pairs.csv', 'w', newline='') as f, open('ab_key.csv', 'w', newline='') as k:
pairs, key = csv.writer(f), csv.writer(k)
pairs.writerow(['id', 'input', 'left', 'right'])
for i, text in enumerate(INPUTS):
outs = [('A', gen(A, text)), ('B', gen(B, text))]
random.shuffle(outs)
pairs.writerow([i, text, outs[0][1], outs[1][1]])
key.writerow([i, outs[0][0], outs[1][0]])
Judging quality without fooling yourself
Prose quality is subjective, which makes it easy to see what you expect to see. Blind judging is the main defence. A second one is a short rubric: fluency, accuracy to the input, tone, length and absence of repetition. Raters who score against a rubric agree with each other more than raters asked which text is better.
If possible, include people who resemble your users, especially for non-English text. Native speakers notice unnatural phrasing that a fluent second-language speaker accepts. Automated judging with another model can help screen large samples, but treat it as a first filter, not the final word, because model judges have their own biases toward certain styles.
Use a rubric
Five criteria scored from one to five give more stable results than a single preference vote, and show why a model wins.
Count ties
A high share of ties means the models are interchangeable for this task, and cost or speed should decide.
Cost, speed and operations
Once quality is known, practical factors decide. Cost per output depends on output length and the price per token, which for commercial models you should take from the provider's current pricing page. Speed matters for long outputs that users wait for. Operations matter too: a commercial API comes with an SLA on paid tiers, documentation and support, while a self-hosted open model requires you to run and scale servers.
There are intermediate options. Hosted providers serve popular open-weight models through standard APIs, and new commercial and open releases appear on routing platforms frequently, which makes adding a candidate to your test cheap. The real cost of switching is in validation and prompt adjustment, not in code.
- Measure average output tokens per request for each model
- Record median and slow-case latency, not just averages
- Price commercial models from the official pricing page
- Include hosting effort if you plan to self-host

Using the free endpoint as a candidate
The endpoint on this site is a convenient third candidate for early tests because it needs no key. It serves free-ai, an independent open-weight model of about 35B parameters, tuned to refuse much less often than commercial assistants while keeping two hard rules: no sexual content involving minors and no operational instructions for mass-casualty weapons. The site is not affiliated with Anthropic and free-ai is not Claude.
It is not meant to be a production backend: there is no SLA, limits are per IP and the context is 32,000 tokens with answers up to 16,000. Use it to learn how a mid-sized open model handles your prompts and language, then decide whether a hosted open model or a Claude tier deserves a full test.
Respect the pace
Generating many pairs? Keep requests sequential: 1 per second with bursts of 3 and 2 in parallel is the per-IP ceiling.
Mind the data
Each request leaves a technical log with time, IP, country, endpoint, status, latency, sizes and tokens. Use synthetic profiles, not real user data.
Making the decision
If the open model wins clearly on quality and the operational picture is acceptable, switching is reasonable, and the A/B harness becomes your regression test for future changes. If the commercial tier wins or ties, its consistency, support and documented terms are worth a lot for a product. If results are mixed, consider routing: one model for the language or genre where it excels, another for the rest.
Whatever you choose, keep the test set. Models improve, prices change and new releases arrive frequently; rerunning the same blind test every few months takes an afternoon and keeps the choice honest. For what to watch for after a switch, see the article on output drift, and for budgeting, the cost estimation guide.
It also helps to write down, before the test begins, what result would make you switch. Deciding the threshold in advance, for example a clear majority of preferences plus no increase in latency, prevents the common trap of reading an ambiguous result as support for whatever you already wanted.
Plan for a hybrid
Routing by language or by feature is ordinary engineering: one function picks the backend from a small table. Starting with that structure keeps the door open for whichever model wins the next test.

Send a prototype prompt from the chat box on the home page: no key, no account and no card needed, just the usual per-IP limits.
Read also
- How to Connect Open WebUI to an OpenAI-Compatible Model Endpoint
- Why Does the Same Claude Prompt Behave Differently Over Time?
- Claude Subscription vs API Key: Which Should a Builder Pay For?
- Why Does a Newer Claude Model Fill the Context Window So Fast?
- How Should an AI Agent Handle API Rate Limits and Request Errors?