NEWTry the playground — no API key required
Skip to content
APIOpenAI-compatible · 23 models · 8 providers

Every model.
One intelligent infrastructure.

Access, compare, and route AI models through a unified infrastructure built for performance, flexibility, and scale.

Start building Explore the platform
Route across 8 providers through one APIBrowse all 23 models
  • OpenAI5 models
  • Anthropic4 models
  • Google3 models
  • Meta1 model
  • Mistral4 models
  • DeepSeek2 models
  • Alibaba2 models
  • coCohere2 models
23 models,one key.
co

Frontier and open-weights models from 8 providers behind one endpoint. Test any of them in the playground — no key required.

Pivotra is built for your workload.

openai
anthropic
google
meta
mistral
deepseek
cocohere
alibaba
23 models · 8 providers
01 / 04

Routing that knows
your workload.

You set the bar for each task. Models below it are never sent your traffic; the rest are ranked on your policy — not on someone else’s leaderboard.

Open the routing simulator
Code task · complexity· balanced policy
BAR 73
score
  • Claude Haiku 5.566.8
  • Codestral76.7
  • Mistral Small 465.1
  • GPT-6 Luna66.5
  • Llama 3.3 70B—
  • coCommand R7B—
bars = eval index (demo) · grey = below the barselected: Codestral
Live trace

Watch a request find its model.

Classify, apply policy, score, dispatch, return. The decision takes a few milliseconds; then the provider starts streaming.

How routing works
routing-engine / traceSimulation
POST /v1/chat/completions
"Classify ticket sentiment"
Routing engine
task: extractionpolicy: cost14 scored
GPT-6 Luna
OpenAI
Claude Sonnet 5.5
Anthropic
Gemini 4 Argon
Google
Codestral
Mistral
Llama 3.3 70B
Meta
pending—
Model directory

Your entire model ecosystem, unified.

Search, filter and sort by provider, category, context window, price and latency — then call any model with the same request.

Open the marketplace
23 models

Sample catalog List prices per 1M tokens as published by each provider, checked Nov 26, 2026. Latency, throughput and quality scores are estimates.

View all 23 models
Analytics

Understand every request.

Requests, tokens, spend and latency — broken down by model, key and route. Pick a range and drill into any individual trace.

Usage overviewDemo data
API requests
—
Tokens processed
—
Estimated spend
—
Avg. latency (p50)
—
Request volume
  • Requests
  • Errors ×20
Model distribution
7
models
  • GPT-6 Luna31%
  • Claude Sonnet 5.519%
  • Gemini 3.8 Flash16%
  • GPT-6.2 Sol12%
  • Llama 3.3 70B10%
Cost breakdown
  • GPT-6 Luna$0.00
  • Claude Sonnet 5.5$0.00
  • Gemini 3.8 Flash$0.00
  • GPT-6.2 Sol$0.00
  • Llama 3.3 70B$0.00
Unified API

One integration. Multiple possibilities.

Use the SDK, or point any OpenAI-compatible client at a new base URL. Set model to a specific ID — or to auto and let routing decide.

  • Same request and response shape for every model
  • Streaming, tool calling and structured output
  • Per-request routing overrides and fallback chains
  • Cost and routing metadata on every response
1import Pivotra from "@pivotra/sdk";2 3const client = new Pivotra({ apiKey: process.env.API_KEY });4 5const response = await client.chat.completions.create({6  model: "auto",7  routing: {8    strategy: "balanced",9    fallbacks: ["gpt-6.2-sol", "gemini-4-argon"],10  },11  messages: [12    { role: "user", content: "Summarize this support ticket in one sentence." },13  ],14});15 16console.log(response.choices[0].message.content);17console.log(response.routing.model, response.usage.cost);
Works with clients that let you set a custom OpenAI base URL:
  • OpenAI SDK
  • Vercel AI SDK
  • LangChain
  • LlamaIndex
  • LiteLLM
  • Any HTTP client
Cost optimization

More intelligence. Less unnecessary cost.

A one-line classification rarely needs a frontier model. Compare how configurations trade cost, latency, context and quality on the same workload.

Modeled monthly costEstimate
Requests / month
ConfigurationEst. cost / monthAvg. latencyMin. contextEval index (demo)
Single premium model
Every request → Claude Opus 5.5
$13,140.00
1.05s
1M94
Single efficient model
Every request → GPT-6 Luna
$328.50
240ms
1.05M74
Routed · balancedRouting
Engine picks per request
uses: Command R7B, Codestral, GPT-6.2 Sol
$2,678.10
243ms
128K67
Routed · cost-firstRouting
Cheapest model above quality floor
uses: Command R7B, Codestral, Claude Haiku 5.5
$398.10
219ms
128K66
Workload: 45% classification · 30% support replies · 15% code · 10% reasoning. Illustrative prices from the sample catalog; your results will depend on your traffic and quality requirements.

Your next model,
one line away.

  • Same request, same response shape. Change a model ID — not your integration.

  • Test a new release in the playground, then shift traffic gradually with a preferred model.

  • Put it in a fallback chain first. Promote it once your logs say it’s ready.

Use cases

One policy per workload, not one model for everything.

Real workloads are pipelines. Here’s how the engine routes each step of common production patterns — computed live from the catalog.

Lowest cost strategy

Classify cheaply. Answer carefully.

Most support traffic is tagging and triage. Send it to fast, inexpensive models and keep stronger models for the replies customers actually read.

policy.json
{  "model": "auto",  "routing": {    "strategy": "cost",    "task_rules": {      "extraction": "command-r7b",      "general": "claude-haiku-5-5",      "reasoning": "claude-haiku-5-5"    },    "fallbacks": [      "gpt-6.2-sol"    ]  }}
Pipeline · routed per stepest. cost / call
  1. 01Intent classification
    Extraction / classification · 400 tok in · 60% of calls
    $0.00002
    coCommand R7B200ms TTFT
  2. 02Reply drafting
    General chat · 1,200 tok in · 35% of calls
    $0.00027
    Claude Haiku 5.5280ms TTFT
  3. 03Escalation review
    Multi-step reasoning · 3,000 tok in · 5% of calls
    $0.0005
    Claude Haiku 5.5280ms TTFT
Blended cost per 1,000 calls
$0.13
Modeled
Developer experience

Everything production needs, built in.

Tracing, spend limits, scoped keys, streaming and typed errors — the pieces every team ends up building around their LLM calls, available from the first request.

Request tracing

Every call records the routing decision, the model and provider that served it, latency, token usage and cost — searchable and exportable.

200req_7c1e…a90fgpt-6-lunabalanced284ms$0.00004
200req_31b0…11c2claude-sonnet-5-5quality912ms$0.00350
429req_e04d…7b3egemini-3.8-flashlatency41ms—
200req_90aa…c4d1codestraltask rule377ms$0.00061

Spend controls

Monthly limits, alert thresholds and an optional hard stop — per workspace and per key.

This month$1,912 / $2,500
76% usedalert at 80%

Scoped API keys

Inference, read and admin scopes. Shown once, stored hashed, revoked instantly.

  • productioninference
  • analyticsread
  • old-workerinference

Cost on every response

No waiting for the invoice. The exact USD cost comes back with the completion.

"usage": {
"total_tokens": 196,
"cost": 0.0000357
}

Model portability

Swap models by changing one string. Same request, same response shape.

- model: "gpt-6.2-sol"
+ model: "claude-sonnet-5-5"
// nothing else changes

Structured output & tools

Function calling and JSON output through one schema, mapped to each provider’s native format.

response_format: { type: "json_schema" }
tools: [{ name: "get_order" }]

Streaming, end to end

Server-sent events from every provider, normalised into one delta format. First tokens are forwarded as soon as the provider emits them.

data: {"delta":{"content":"Routing "}}
data: {"delta":{"content":"keeps cost "}}
data: {"delta":{"content":"predictable."}}
data: {"routing":{"model":"gpt-6-luna"},"usage":{"cost":0.00002}}
Security & governance

Secure by default. Honest about the rest.

The gateway sits in the path of your AI traffic, so it keeps as little as possible and makes every decision auditable.

Hashed credentials

Secret keys are shown once and stored only as a hash plus the last four characters.

Least-privilege keys

Separate inference, read and admin scopes. Rotate and revoke without downtime.

No prompt storage by default

Logs keep metadata — model, tokens, latency, cost — not request or response bodies.

Per-key spend limits

Cap what any one integration can spend, with alerts before the limit is hit.

Provider allow-lists

Restrict routing to approved providers to meet internal data policies.

Auditable decisions

Every routing decision is recorded with the reasons it was made.

Compliance roadmap
Not yet certified. We’ll publish reports here as each milestone is completed.
  • SOC 2 Type II planned
  • SSO / SAML planned
  • Audit log export planned
  • Regional data residency planned
Compare

Why not call providers directly?

For a single model, you can. Here’s what changes once you depend on more than one.

CapabilityDirect provider integrationsPivotra
Integrations to maintainOne per providerOne
Switching modelsNew SDK, schema changes, redeployChange one string
Failover on provider errors
Routing by task, cost or latency
Cost per requestReconciled from invoicesReturned on every response
Unified logs & latency metrics
Spend limits per keyVaries by provider
Open-weights and proprietary modelsSeparate hosting contractsSame API

Start routing in minutes.

One key, every model. Swap the base URL in your OpenAI client and you’re live.

Start building

Questions teams
ask first.

Still have questions?

Talk it through with the Pivotra team — 30 minutes, tailored to your workload.

Book a call
More answers in the docs