You have an AI agent that calls LLMs. It always uses the same model. You want it to pick the right model for each task — optimising for cost, capability, and quality — without maintaining a pricing database yourself. Here is how to build a model router in 20 lines using WhichModel and the MCP TypeScript SDK.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Simon sharp
How to Add Cost-Aware Model Selection to Your AI Agent
Every AI agent picks a model. Most pick the same one every time — usually the most expensive one. That is a fine default when you are prototyping, but in production it means you are overpaying for simple tasks and underpowering complex ones. This tutorial shows how to add dynamic, cost-aware model selection to any AI agent using WhichModel, an open MCP server that tracks pricing and capabilities across 100+ LLM models. The Problem LLM pricing changes constantly. New models launch weekly.
AI Model Pricing Is a Mess — Here Is How We Track It
There are over 100 LLM models available through commercial APIs today. Their pricing changes constantly — sometimes multiple times per week. New models launch, old ones get deprecated, and providers quietly adjust rates. If you are building with LLMs, you have probably experienced this: you pick a model, hardcode it, ship it, and three months later discover you are paying 10x what a newer model would cost for the same quality. We built WhichModel to fix this.
Spatial and Temporal Dynamics of Chemical and Microbial Contamination in Nonurban Floodwaters
Introduction Click to copy section linkSection link copied! Anthropogenic climate change is increasing the frequency, duration and severity of extreme weather events, (1−4) prompting global concerns about flood-borne contaminant risks. (5,6) During 13–14 October 2022, up to 300 mm of rain fell in parts of Victoria, Australia (Figure 1). Due to prevailing wet conditions, rivers and catchments had limited capacity to absorb additional rainfall.
Emerging contaminants in recycled water: final report
Description Recycled water has become a valuable resource in our drying climate. As Victoria’s population grows, we need to make better use of recycled water and understand emerging and legacy contaminants. Emerging contaminants include pharmaceuticals, pesticides, industrial chemicals, and personal care products. They are natural or manmade chemicals that may cause known or suspected changes to our environment and/or human health.
Spies among us: Defending against state-sponsored insider threats
Many types of organisations can end up finding themselves on the receiving end of nationstate sponsored insider threats as other countries seek to access valuable trade secrets and intellectual property. At the end of 2018, we predicted that nation-state threats would increase significantly in the year to come, particularly targeting critical infrastructure.
Spies among us: Defending against state-sponsored insider threats
Many types of organisations can end up finding themselves on the receiving end of nation-state sponsored insider threats as other countries seek to access valuable trade secrets and intellectual property. by Simon Sharp To access this content please sign in or register below for free SIGN IN Email address Password Stay signed in for 30 days Forgotten password? Having trouble signing in?
Dark Net Recruitment is Turning Employees into Malicious Insiders For-Hire
We all know the dark web covers a dizzying amount of illegal activity. Known as the go to marketplace for hackers to buy and sell their wares, from advertising their services for hire, to selling sensitive corporate information, credit card numbers, and identity details. What is increasingly concerning is how the dark net is being used to recruit more than career hackers and crypto-geniuses to the security and espionage services of governments.
The insider-threat manager is business' newest line of defence: making the trend work for you
To access this content please sign in or register below for free
Can('t) You See? Or, The Ethics of Photographing Vulnerable People
My name is Simon Sharp, and I’m a documentary photographer. In this article, I will explore why I believe a photographer took pictures he should have refrained from taking and why the industry — both print and NGO — promoted them without apparently seeing what they were. Here’s the first photo by photographer Bulent Kilic: The caption reads, “A Syrian Kurdish woman and her baby on Thursday in the Rojava refugee camp,” in the Financial Times.
Top 5 Ways to Pregame a Midterm - The Yale Herald
Top 5 Ways to Pregame a Midterm By Simon Sharp / March 31, 2017 / 0 5. Drink every time you hear someone in Bass crying. 4. Email your TA to introduce yourself and to ask why you have a 0 for section attendance – take a drink every ten minutes until she responds. 3. Find out what building the class meets in and drink in the classroom. 2. Take a shot for every lecture you didn’t attend. 1. Drop the class and go to Woads – DJ Action is spinning.
Simon sharp, Victor Martinez homers as Tigers beat Rays 1-0 - The Monitor: Games
"Victor only knows one way to hit, whether it's an exhibition game or Game 7 of the World Series," Tigers manager Brad Ausmus said. "Vic is going to battle with every ounce of his energy." Martinez went for 1 for 3 and ended the exhibition season hitting .143 (5 for 35). Simon retired his first 14 batters before Desmond Jennings singled with two outs in the fifth. He struck out three. "His curveball was very good," Ausmus said. Joba Chamberlain and five other relievers completed a two-hitter.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Simon
Contact Simon, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack