A large online learning platform

Faster and cheaper, without quality quietly slipping

Work on the AI that helps students on a large online learning platform, and on the checks that decide whether a faster or cheaper model may go live. The result: about 70% lower cost per automatically generated practice exam, and 37.6% less waiting at equal quality.

Work as an employee of the platform, inside its own team. The work was in the existing backend with AI agents and on the evaluation.

Updated on

What did it deliver?

lower cost per automatically generated practice exam, without quality quietly slipping
c. 70%
less waiting, at equal quality
37.6%
lower cost for spotting spam and scams, as a team result
c. 50%

Relative numbers. The 70% is rounded: the saving was between 68% and 77%. The 37.6% comes from a faster setting of the same model, measured by running the same task 93 times both ways; that setting does cost more per exam.

What was the problem?

A large online learning platform uses AI agents to help students, for example with generated practice exams. Every new, faster or cheaper model can quietly lower the quality. With every change the question is: may this go live, and how do you know for sure?

What did we build?

  • A well-founded decision on every model change: owned the evaluation, comparing item by item instead of only an overall score, with an AI judge and a check on what that overall score does not measure.
  • Found a hidden quality loss in a cheaper model: the questions became more generic and less grounded in the study material, which the overall score did not show. Fixed with one targeted prompt change, keeping the cost saving.
  • Measured a faster service tier of the same model on 93 paired runs before it went to production. Along the way, found and fixed the monitoring system counting that tier's cost wrongly.
  • Work in the existing production backend with AI agents: a coordinating agent with specialist agents, and points where the user can step in. Tracked down and fixed a bug that left users stuck after cancelling.
  • A tool for blind A/B tests of prompts, so the team compares versions without one-off scripts.
  • The evaluation and the route to production for a classifier that spots scams and spam in what users post.

What is it built with?

  • Python
  • FastAPI
  • LangGraph
  • LangChain
  • Langfuse
  • LLM-as-judge
  • AWS
  • Argo CD
Next step

What could we take off your hands?

Tell us in a short call where your time goes or what you want built. You hear honestly what's possible, and what it costs before we start.

Book a free call

15 minutes, no obligation. Even if you do not know yet exactly what you need.

Rather send an email? info@lanceerstudio.nl