Bring your own key

Any OpenAI-compatible /v1. We fetch models and route against your prices.

Promptimizer does not sell tokens. You already have a provider.

Presets

Known hosts include OpenAI, Groq, Baseten, OpenRouter, Together, Fireworks, DeepSeek, Mistral, Cerebras, xAI, Google, Perplexity, NVIDIA NIM, SambaNova, Hyperbolic, Moonshot, and Ollama. We fill the base URL. Custom is the only case that asks for one. The endpoint must speak GET /models and POST /chat/completions.

example.ts
TYPESCRIPT
1await Promptimizer.connect({
2 gatewayURL: process.env.PROMPTIMIZER_URL,
3 provider: "baseten",
4 apiKey: process.env.BASETEN_API_KEY,
5});

What we store

Auto-tiering

Known catalog, then name heuristics, then price blend. Override any row in the console or PATCH /v1/models. Embeddings, whisper, TTS, and image models are dropped.