Readable by design: pricing models people can check, even when AI writes them

AI can now write pricing logic faster than anyone can check it. That flips the problem. The question is no longer how quickly a model can be written, but how quickly a person can be sure it's right. Which makes the format of the model a governance choice, not just an engineering one.

Code or configuration

There are broadly two ways an AI can produce a rater.

It can write code. A general-purpose language gives it total freedom, and it will produce something fast. What you get back is a program: branches, helper functions, special cases. Checking it needs an engineer, and checking it against the rating guide needs an engineer who also understands rating guides.

It can write configuration. Here the AI fills in a constrained, declarative structure: typed inputs with descriptions, rate tables as rows, formulas, and underwriting rules with names. It can do less. That is the point. What it does do, anyone in the pricing team can follow.

What readable looks like

Take the pet insurance model on our developer pages. It has:

  • Inputs with labels and plain descriptions, so vet_fee_limit shows up as "Annual vet-fee limit", explained as the most the policy pays for vet treatment each policy year.
  • Rate tables kept as tables. The region factors are seven rows, Greater London at 1.30 down to Northern Ireland at 0.85, which you can hold against the rating guide line by line.
  • Formulas written out. The risk premium is round({{base_premium}} * {{pet_age_factor}} * {{breed_factor}} * {{region_factor}} * {{excess_factor}} * {{neuter_factor}}, 2), and tax is 12% on top.
  • Rules with names. "Pet older than 14 at inception" declines. "7,000 limit on a high-risk breed" refers.
  • Tests saved with the version, each one a set of inputs and the price or decision it should produce.

An underwriter can review that without reading code. An auditor can follow it. And an AI agent can read and edit it accurately, because the structure tells it where everything is.

Constraints help the AI too

It is tempting to think a more flexible format makes an AI more capable. For pricing, the opposite tends to hold. A constrained format gives an agent:

  • A schema to check against. Every Swallow model follows one JSON Schema, and the server validates against it, so structural mistakes surface straight away rather than at quote time.
  • A short list of step types. Collection lookups, calculations, exclusions, refers, excesses and endorsements line up with how rating guides are already written.
  • Precise targets. "Change the London factor" means one cell in one table, not a function rewrite.
  • Fast feedback. The suite can run after every edit.

Every version is a file you can compare

Because a declarative model is data, each version can be stored, compared and reproduced. "What changed between the last two versions?" becomes a comparison of two files, and Swallow's Review area shows which steps were added, removed or amended. Add a per-quote debug trace, which lists every lookup and formula with the values it used, and you can show how any price was produced on any date.

When the format isn't enough

Some products need something a declarative step can't express: a call to an outside data source, or an unusual aggregation. Swallow handles this with dedicated external and code steps. The code step runs sandboxed JavaScript and is kept for when it's genuinely needed. If most of a model reads like a rating guide and one small, well-tested step doesn't, reviewers know exactly where to spend their attention.

This matters more as AI enters regulated decisions. We look at the wider picture in AI in regulated industries: explainability.

In short

Writing pricing logic is no longer the slow part. Reviewing it is. A format that people can read and that AI can edit precisely keeps both the speed and the confidence. Every Swallow model is built this way, and you can see a complete one on our model building page.

Continue reading

From filing to rater: building pricing models from US rate filings

What sits inside a US rate filing, how to rebuild it as a working, tested rating model, where AI speeds things up and which gaps to expect.

Swallow compared: enterprise pricing platforms, core system raters and AI newcomers

Where Swallow sits against established insurance pricing and rating platforms and newer AI-led options, on model format, testing, approvals, AI and distribution.

Building pricing models with Claude and ChatGPT: what works, what doesn't

A practical look at building insurance pricing models with Claude and ChatGPT over MCP: where AI clients help, where they trip up and how to keep people in charge.

AI in insurance pricing: closing the gap between rating guide and live model

Pricing design is rarely the bottleneck. Implementation is. How AI shortens the path from signed-off rating guide to a tested, live pricing model.

Fair value under Consumer Duty: the evidence your pricing should leave behind

What the FCA's Consumer Duty and pricing rules ask of insurance pricing teams, and the records that make fair value something you can show, not just claim.

When the customer is an AI agent: getting your pricing ready

AI assistants are starting to shop for insurance on people's behalf. Here's what your rating engine has to give them to quote your products properly.

How to connect the Swallow MCP server to Claude

Connect Claude to your Swallow pricing infrastructure using MCP to analyse models, inspect rating logic and interact with your tools using natural language

Regression testing insurance pricing: why every rate change needs a test suite

How to build a regression test suite for an insurance pricing model, from worked examples and band edges to declines, refers and real quotes.

A safer rate change: eight steps from analysis to monitoring

A repeatable process for insurance rate changes, from the change statement and draft version to tests, approval, release and monitoring, and where AI helps.

Moving off a spreadsheet rater without changing a single price

How to tell when an Excel rater has outgrown its job, what keeping it really costs, and a migration plan that uses the spreadsheet's own answers as the tests.

Starting an MGA: from rating guide to first live quote

A practical route for a new MGA's first product: agreeing terms with capacity, building and testing the model, picking channels and watching rates after launch.

AI and insurance distribution: one price, every channel

Aggregators, embedded journeys, chat, voice and AI agents all need the same thing from pricing. Why one explainable rating engine should sit behind them all.

AI in regulated industries: why explainability has to come first

Insurers can get real gains from AI and still meet what the FCA, the EU and US regulators expect, provided every decision can be explained, reproduced and signed off.

Swallow vs Earnix

Swallow and Earnix Price-It compared for insurance pricing and rating: who each is for, how models are built, tested and released, how AI is used, and distribution.

Swallow vs Guidewire PricingCenter

Swallow and Guidewire PricingCenter compared: who each suits, how each relates to PolicyCenter, how models are built, tested and released, AI and distribution.

Swallow vs Duck Creek Rating

Swallow and Duck Creek Rating compared: who each suits, suite and standalone use, how rates are built, tested and released, deployment, AI and distribution.

Swallow vs Oracle Insbridge

Swallow and Oracle Insurance Insbridge Enterprise Rating compared: architecture, how rates are built and changed, testing, integration, AI, and how to migrate.

Swallow vs Akur8 Deploy

Swallow and Akur8 Deploy compared: where each rating engine fits, how rates reach production, testing and sign-off, how AI is used and when to pick which.

Swallow vs hyperexponential (hx Renew)

Swallow and hyperexponential's hx Renew compared: who each suits, Python models versus readable JSON, testing and approvals, AI and the Guidewire deal.

Swallow vs WTW Radar

Swallow and WTW Radar compared for pricing and real-time rating: who each suits, how models are built and changed, testing and approvals, and AI features.

Swallow vs building a rating engine in house

Build or buy? A fair look at writing your own insurance rating engine versus using Swallow: testing, versioning, audit, serving at volume and rate changes.

How to connect the Swallow MCP server to ChatGPT

Connect ChatGPT to your Swallow pricing infrastructure using MCP to analyse models, inspect rating logic and interact with your tools using natural language

Swallow Data: Live insight into your pricing performance

See how Swallow’s Data area gives you real-time visibility over quotes, performance, and customer behaviour across your entire pricing model

Swallow Tests: Validate your pricing with real-world scenarios

See how Swallow’s Tests area lets you simulate quotes, inspect calculations, and perfect your pricing model before publishing

Swallow Build: Bring your pricing model to life

A quick look at how Swallow’s Build area lets you edit, test, and publish pricing models with complete control and instant feedback

Swallow Overview: Core features at a glance

See how the AI actuary inside Swallow turns a simple prompt into a fully tested and deployable insurance pricing model for electric vehicles in just a few clicks

Why Modern Insurers Are Moving to AI-Powered Enterprise Pricing Engines

A look at how AI is transforming insurance pricing, from spreadsheet-based models to enterprise-grade rating engines built for speed, consistency, and control

Swallow / MGT

How MGT use Swallow to power AI-driven pricing, accelerate model updates and support fast, reliable commercial insurance quoting.

AI Agent for Insurance Products

Sam talks through our new AI Agent for Insurance products. Get a new Insurance product built and live within a couple of minutes.

Swallow / Ouch!

How Ouch! used Swallow to launch digital takaful products faster, with transparent pricing, audit readiness and seamless model updates.

Pricing Pain Point #4 - Slow deployment

Whilst the modelling process is where pricing strategy begins, getting changes in front of customers is where the rubber hits the road and new pricing is tested with real customers. Moving quickly to make changes to live pricing offers pricing teams an opportunity to respond to the market, test and iterate, and roll out new products.

Pricing Pain Point #3 - Testing concerns

With pricing critical to growth and profitability, businesses must understand the impact of any price changes, as well as ensure what goes live to customers is identical to that modelled. With pricing driven by complex financial models, this is particularly true - a percentage point error in the code deployed could easily lead to a significant financial impact.

Swallow / Open

How Open used Swallow to launch embedded insurance in the UK faster, with flexible pricing, rapid updates and lower operational cost.

Pricing Pain Point #2 - Lengthy process

In any fast moving business, having a clear record of decisions, changes and their impacts is key to operating efficiently and successfully. For regulated industries, a clear governance process is a requirement and critical to ensuring compliance with local regulations.

Pricing Pain Point #1 - Data issues

Underlying all pricing strategy is data, whether it be on the market and competition or a company’s own quote, sales and cost data. Collecting this data and using it to inform future pricing decisions is one of a pricing team’s key objectives.

Swallow / Rivr

How Rivr uses Swallow to deliver pricing models faster, with better governance, smoother client handovers and one-click deployment.

What we've learned about pricing

Over the past few months, we've talked to over 100 pricing and technology professionals from a range of industries. From our conversations, many pricing pain points have emerged, helping us to better understand the challenges businesses face and inform the direction of our platform.

Why I created Swallow

Financial pricing models (think insurance, credit, mortgages, financing, leasing, memberships) have, and continue to be, designed in spreadsheets and published through in-house custom code or legacy enterprise software. Pricing changes can take weeks instead of hours.

We feel you, pricing is hard...

Dynamic pricing is hard to create and serve to your customers. Because it is hard, it can become a technical concern rather than a business concern. Here be where the dragons lie.