Promptimizer

Promptimizer

Route each prompt to the best model for the job.

Classify the ask, step up when quality slips, and measure spend against always-frontier — same OpenAI-compatible API.

Three quiet roads on one desk
Sorting a quiet stack of notes

Classify

Know the ask before you spend.

Each request gets a complexity score and a quality risk before any model is called.

Read the guide →
A map choosing the shorter road

Route

Send it where it belongs.

Economy when the ask is light. Frontier when it isn't. Escalate only when the answer fails the gate.

Read the guide →
A folder and a coin left on the desk

Measure

Keep the ledger honest.

Cache repeated prefixes, record cost versus always-frontier, and keep a quality gate on every answer.

Read the guide →

One API.

OpenAI-compatible.

Drop-in chat completions from the SDK, CLI, or curl.

1import { Promptimizer } from "promptimizer";
2
3const client = new Promptimizer({
4 apiKey: process.env.PROMPTIMIZER_API_KEY,
5});
6
7const res = await client.chat.completions.create({
8 messages: [{ role: "user", content: "What is 17 * 24?" }],
9});
10
11console.log(res.choices[0].message.content);
12console.log(res.usage.cost);
15
gold tasks in the quality set
50%
input on a cached prefix
3
tiers — economy, standard, frontier

Start with a key.

Create an account, mint a pmz_live_ key, and route from the console, SDK, or CLI.

A card that passed a quiet check