Skip to main content

Reducing AI costs by 41% per request on Amazon EC2 with Iris.ai

Learn how AI software company Iris.ai made production-scale AI viable with a parallel CPU–GPU architecture on AWS.

Benefits

lower cost per request
41%
cheaper on the CPU inference track
5x
output accuracy maintained
99.98%
saved per 1 million requests
$90,000

Overview

Since 2015, Iris.ai has helped regulated industries unify enterprise data to power AI agents and applications. Its clients cannot deploy off-the-shelf models, which lack the accuracy, data traceability, and domain-specific context that their work requires. Iris.ai closes that gap, but delivering these AI capabilities at production scale required expensive, underused compute that increased the cost of every request. To reduce those costs, the company built a second inference track using Amazon Elastic Compute Cloud (Amazon EC2) CPU-based instances, which run in parallel with its GPU pipeline and take on work during windows when GPU capacity would otherwise sit idle. The new architecture cut the cost of every request with virtually no effect on accuracy.

 

Missing alt text value

About Iris.ai

Based in Norway, Iris.ai provides software that structures enterprise data and controls what flows in and out of AI models. The company serves customers across industries, including manufacturing, healthcare, life sciences, and telecommunications.

Opportunity | Using AWS to improve AI pipeline efficiency for Iris.ai

Iris.ai’s enterprise clients kept encountering the same issues as they expanded their use of AI: Each new use case needed its own pipeline to find relevant information, structure it, and feed it to a model. Their teams rebuilt the same semantic and data layer every time and assembled context case by case, with no mechanism to verify the answers. Iris.ai solves both problems. Its software gives clients a reusable data foundation to build on, along with a control layer that governs what reaches the AI model and verifies the output.

Because Iris.ai ran inference entirely on GPU instances, delivering that control layer at scale created a cost problem. GPUs must stay provisioned to respond on demand; spinning up a new one takes time. Between jobs, reserved hardware sat idle while Iris.ai paid for capacity that it was not using. When the company needed more compute, it would add another GPU that would spend much of its time idle as well, raising the cost of every request. Iris.ai needed a way to absorb growing demand without expanding its GPU footprint, so it engaged Amazon Web Services (AWS) compute specialists to find an alternative.

Solution | Building a parallel CPU–GPU processing architecture

The range of compute options on AWS gave Iris.ai room to experiment; the team could benchmark configurations against real-world workloads before committing to an approach. The company first mapped its usage patterns to identify when GPU capacity went unused. AWS compute specialists pointed Iris.ai to an open source project for running model inference on CPUs, providing the team with a tested method that it could adapt to its workflows and validate against production requirements.

Next, Iris.ai reviewed the tasks in its inference pipeline to identify those that a CPU could run without changing the output that the client receives. Tasks that surface intermittently between jobs made the strongest CPU candidates; adding GPU capacity to absorb them would leave that hardware idle for much of its runtime. Steady, heavy workloads that require sustained parallel processing remained on the GPUs.

“The GPU is still running for the main load, but the CPU splits into another branch and can reduce cost quite a lot,” says Viktor Botev, CEO and chief technology officer of Iris.ai. “We can also increase throughput, because spinning up GPUs also requires a significant amount of time.”

With the workload defined, Iris.ai explored options for running the second inference track. The company benchmarked Amazon EC2 C7a Instances—compute-optimized instances powered by fourth-generation AMD EPYC processors—against multiple instance types. Iris.ai ultimately selected Amazon EC2 C7a Instances because the libraries in its software stack were better optimized on AMD. The instances also returned more processing output per dollar spent for this workload.

After several weeks of testing, Iris.ai moved its architecture into production. The company was already running this infrastructure on AWS, so the deployment required no new provisioning.

Outcome | Reducing costs while maintaining accuracy

When the parallel architecture went live, the change was invisible to Iris.ai’s clients but transformative for the company’s economics. The CPU track runs on Iris.ai’s existing AWS infrastructure, and each request now costs less to process. Per-request costs fell from $0.22 to $0.13, representing roughly $90,000 in savings per 1 million requests. That drop makes the solution affordable for enterprise clients to deploy. “Using AWS, we have reduced cost per request by 41 percent for our full AI pipeline,” says Botev. “On the CPU track alone, it’s about five times cheaper.”

Iris.ai validated that the second inference track did not compromise quality. Output accuracy on the CPU track came within 0.02 percent of the GPU-only baseline, maintaining 99.98 percent accuracy overall. Its clients also gained visibility into GPU warm-up times and parallel processing options, informing how they plan projects. “A 41 percent cost reduction is quite significant, and it makes our solution business-viable for the clients,” says Botev. “That solidifies our position as a core provider for this particular service.”

Building on these results, Iris.ai plans to bring parallel processing to more pipeline stages and optimize its usage of Amazon OpenSearch Service, a real-time retrieval engine for AI, search, and analytics. With CPU-based inference now a proven part of its pipeline, Iris.ai has a repeatable way to deliver advanced AI at production scale.

Iris AI Logo
Using AWS, we have reduced cost per request by 41 percent for our full AI pipeline. On the CPU track alone, it’s about five times cheaper.

Viktor Botev

CEO and Chief Technology Officer, Iris.ai

Did you find what you were looking for today?

Let us know so we can improve the quality of the content on our pages