CarthageAI engineering & optimization

Frontier-level intelligence. Without the cost or complexity.

Carthage makes building, deploying and operating intelligence radically simple and inexpensive for every company, regardless of its size or resources.

Google Calendar will ask for your booking details after you choose a time.

assembled workload contractIllustrative example

Customer support resolution

Customer case resolved

  1. CAPTURING BASELINE
  2. ANALYZING
  3. OPTIMIZING
  4. EVALUATING
  5. QUALIFIED
METRIC BEFORE (BASELINE) AFTER (OPTIMIZED)REDUCTION / RESULT
Inference cost
0%lower
Tokens
0%lower
Model calls
0%fewer
P95 latency
0%faster
Accuracy
0%improved
Capturing the workload baseline

How it works

Build, optimize and deploy AI workloads.
We handle the underlying engineering.

Install the SDK

npm install @carthage/sdk

Integrate Carthage into your application without changing how your existing workloads run.

01 / CONNECT

Connect your workloads

Integrate our SDK once. Carthage discovers your AI workloads, observes how they operate and identifies opportunities to improve their cost, performance and reliability. You can also create new workflows directly in Carthage.

import { carthage } from "@carthage/sdk";

const cx = carthage({ apiKey: process.env.CARTHAGE_API_KEY });

export async function resolveTicket(ticket: Ticket) {
  return cx.workload("customer-support", async () =>
    supportAgent.run({ ticket })
  );
}

Carthage learns how your workloads operate before proposing, testing and deploying improvements.

02 / QUALIFY

Review and update your requirements

Carthage assembles a starting contract for each workload. Review it, then adjust or add requirements to refine the paths that qualify.

Assembled workload contract

Customer support resolution

Customer case resolved

Illustrative example

What Carthage discovered

Simulated sample timeline
  • mappedTools: Ticket lookup · refund check; state: Case state adapter
  • observedLlama local quality is 91.2%, below the 95% sample floor
  • updatedSample contract keeps paths below 95% out of production
  • observedLlama local does not support the required approval step
  • updatedSample contract requires an approval-capable path for consequential actions
  • mappedRetrieval uses the Support knowledge index and Resolution policy v5
  • mappedAll four paths meet the 99% reliability floor; policy and dependency checks pass
  • mappedCandidate paths span US and EU; the sample contract limits processing to the US

Review and update requirements

Human approval

Custom notes stay local to this illustration and do not change qualification results.

03 / COMPETE

Let qualified paths compete

Carthage evaluates the full path—from model and prompts to retrieval, tools and serving setup—against the workload. Only qualified paths serve production.

3 qualified · 4 tested
96.4% · 2.1sQUALIFIED
96.8% · 2.4sQUALIFIED
95.1% · 0.9sPRODUCTION
91.2% · 0.6sHELD

Paths that miss the requirements stay out of production. Qualified alternatives are ready when conditions change.

Reliability + switching

Every model competes.
Your workload decides.

Carthage continuously qualifies complete execution paths for each workload and switches production automatically when price, performance or availability changes. Qualified alternatives stay ready.

Changing the workload recalculates every route.

Scroll horizontally to follow all five stages

Customer support resolutionVersioned request + workflow state
OpenAIQUALIFIEDQuality96.4%P95 latency2.1sCost / 1K cases$5.42ClaudeQUALIFIEDQuality96.8%P95 latency2.4sCost / 1K cases$4.97Qwen + retrievalPRODUCTIONQuality95.1%P95 latency0.9sCost / 1K cases$1.46Llama localHELDQuality91.2%P95 latency0.6sCost / 1K cases$0.58Workflow confidencePassing paths by requirementProduction: 9 / 9 checksQuality threshold3 / 4P95 latency ceiling4 / 4Reliability floor4 / 4Data residency4 / 4Policy fit4 / 4State + tools4 / 4Dependencies4 / 4Human approval3 / 4Recovery objective4 / 4Counts out of 4 paths.Qwen + retrieval95.1% · $1.46 / 1KQUALIFIED · SERVINGOpenAI96.4%Claude96.8%Customer caseresolved
Qwen + retrieval is the lowest-cost path that passes every active requirement.
95.1% quality · $1.46 / 1K cases · 95% floor
Production pathQualified reserveHeld from production

Carthage

Intelligence, without the complexity.

Build new AI workflows or improve existing ones. Carthage handles the engineering and continuous optimization.

How does Carthage reduce AI costs?

We've basically built a step-up transformer for small language models. We enable cheaper models to perform complex workloads at perfect quality while reducing token usage, model calls and execution overhead.

Does Carthage compromise quality?

No. Only execution strategies that meet your quality, performance and business requirements qualify for production.

Do I need an AI engineering team?

Our Workbench is designed to spin-off and handle prompts, context, tools, evaluations, deployment and continuous optimization.

Can I use my own models and infrastructure?

Yes. Connect cloud APIs, self-hosted models or private infrastructure.

What happens when a model provider becomes unavailable?

Qualified alternatives stay ready. Carthage can automatically switch execution paths to maintain production continuity.

How much can I save?

We’re targeting 50–90%+ reductions in AI costs. In one experiment, we matched frontier-model accuracy at 93x lower inference cost.

What would you build
if intelligence was almost free?

We’re working with companies that want to build more with AI, without the engineering complexity or infrastructure costs.

Google Calendar will ask for your booking details after you choose a time.