Leaving Claude or GPT without a worse product

Short answerTest open models on your own requests before you move any traffic. Lyceum's serverless inference runs Kimi, GLM, DeepSeek and Qwen through one OpenAI-compatible API, billed per token, so a test run costs only its tokens. An open-source eval tool compares the answers, and a gateway keeps the old model as fallback. Free basics: a test set from real requests, a judge with a rubric and a shadow test.

01

Run your test set against several open models through Lyceum

Lyceum's serverless inference serves open models such as Kimi, GLM, DeepSeek and Qwen through one OpenAI-compatible API, billed per token with no base fee, so a test run costs only the tokens it uses. In the OpenAI client you already have, you set the base URL, your API key and a model ID, then send the same requests to each model in turn. Serverless models run in Paris and Finland, and Lyceum does not keep your prompts or outputs or use them for training.

Good if you want to try several open models without a contract or a new client

Serverless and dedicated inference · Model library and inference pricing

Tool
Cost€
EffortLow
HelpsToday
02

Compare the answers side by side with an open-source eval tool

promptfoo is an open-source command-line tool and library for evaluating LLM apps. You list your prompts, test cases and API providers, including OpenAI, Anthropic, open models or any custom API, and it shows the outputs in a matrix so you can compare them side by side. It runs on your own machine and can score outputs automatically against the metrics you define.

Good if you want the same test run repeatable for every candidate model

promptfoo Docs

Tool
CostFree
EffortMedium
HelpsThis week
03

Keep the old model as a fallback behind a gateway

Put a gateway such as the open-source LiteLLM proxy in front of your model calls and list the old model as the fallback. Fallbacks run in the order you set, so if the new model fails or hits a rate limit, the request goes to the old one and the user still gets an answer.

Good if you are ready to send real traffic to the new model

LiteLLM Docs

Tool
CostFree
EffortMedium
HelpsThis week
04

Build a test set from 100 real requests

Pull real requests from your logs, including typical ones, edge cases and the awkward ones users actually send, and write down what a good answer looks like for each. OpenAI warns against test sets that do not reproduce your production traffic, and Anthropic advises more test cases with automated grading over a few hand-graded ones. Epoch AI reported on 29 May 2026 that, since January 2026, the most capable open-weight models have lagged frontier closed models by an average of four months. Measure the gap on your own tasks, not on a leaderboard.

Good if you have logs of what users ask today

OpenAI · Claude Platform Docs · Epoch AI

Do it yourself
CostFree
EffortMedium
HelpsThis week
05

Grade the answers with an LLM judge and a written rubric

Let a strong model grade each answer against a rubric that says exactly what counts as correct. Ask it to compare two answers or give pass or fail, which OpenAI calls more reliable than open scores, and watch for its known biases toward the first or the longer answer. Check the judge against a few dozen answers your team graded by hand before you trust it.

Good if your answers are free text that a string match cannot check

OpenAI · Claude Platform Docs

Do it yourself
CostFree
EffortMedium
HelpsThis week
06

Shadow-test the new model on live traffic

Send a copy of live requests to the new model while users still get their answers from the old one. Microsoft calls this traffic mirroring or shadow testing: it does not change the results users get, and you collect metrics such as latency and errors from the new model. Log both answers and run them through your judge.

Good if the offline test set looks good and you want real-world proof

Microsoft Learn

Do it yourself
CostFree
EffortMedium
HelpsThis week
07

Switch one task at a time

Move one feature, such as summaries or classification, to the new model first, and send it a small share of live traffic before you send all of it. This is the order Microsoft's safe-rollout guide uses: test in isolation, mirror traffic, then a small percentage, then everything. Keep the old setup until the numbers hold.

Good if your product has several AI features with different risk

Microsoft Learn

Do it yourself
CostFree
EffortLow
HelpsThis month

When it's bigger than a quick fix

Bring in an ML engineer or an evaluation specialist when your judge's scores and your team's own ratings disagree, or when the answers carry legal, medical or financial weight. OpenAI's guide says to calibrate automated scoring against human judgment, and that takes people who know the domain.

OpenAI

Questions people ask

Is there an open source alternative to Claude?

Open models such as Kimi, GLM, DeepSeek and Qwen are available behind OpenAI-compatible APIs. Test them on your own requests to see whether one can replace Claude in your product.

How far behind closed models are open models?

Epoch AI reported in May 2026 that, since January 2026, the most capable open-weight models have lagged frontier closed models by an average of four months. Measure the gap on your own tasks.

How many test cases do I need?

More is better than perfect. Anthropic advises more test cases with automated grading over a few hand-graded ones, drawn from real traffic.

Can an LLM grade another LLM's answers?

Yes, with a clear rubric. Check it against human grades first and watch for its bias toward the first or the longer answer.

What is shadow testing?

The new model gets a copy of live requests while users still get answers from the old one, so you can compare both without any risk to users.

Sources

  1. Lyceum: Serverless and dedicated inference
  2. Lyceum: Model library and inference pricing
  3. promptfoo Docs: Intro
  4. LiteLLM Docs: Fallbacks (Provider Failover)
  5. OpenAI: Evaluation best practices
  6. Claude Platform Docs: Define success criteria and build evaluations
  7. Epoch AI: Open models lag state-of-the-art closed models by 4 months
  8. Microsoft Learn: Safe rollout for online endpoints (Azure Machine Learning)