Bring your own keys. No token markup.

Every agent rides the pike. You set the tolls.

OpenPike is an LLM gateway built for AI agents. Point them at one endpoint, keep your own provider keys, and put hard budgets, kill switches and loop detection in front of every one.

Free for 3 keys and 10,000 requests a month. No card required.
agent.ts
const client = new OpenAI({
  baseURL: "https://api.openpike.dev/v1",
  apiKey: process.env.OPENPIKE_KEY,
  defaultHeaders: {
    "x-openpike-tags": "agent=pr-reviewer",
  },
});

// Same SDK, same models, your own provider keys.
await client.chat.completions.create({
  model: "deepseek/deepseek-chat", ...
});
LOOP STOPPED agent=triage-bot 410 requests in 60 s. Paused before it cost you a weekend.
agent=pr-reviewer76%
$38.10 of $50 daily budget

Works with the providers you already pay

  • OpenAI
  • Anthropic
  • Google
  • DeepSeek
  • TypeSafe Jev
  • Groq
  • Mistral
  • xAI
  • Together
  • Fireworks
  • OpenRouter
  • and more

Routing is free everywhere. Control is not.

Provider dashboards show spend per key. OpenPike shows it per agent, per developer and per project, and stops it before it gets away from you.

01

Budgets that actually block

Hard and soft caps per workspace, key, agent or project, by hour, day or month. Hit the hard cap and requests stop. No surprise invoices.

02

Loop detection

An agent stuck in a retry loop gets paused the moment its request rate or spend per minute spikes, not when you check the bill.

03

Spend per agent

Tag requests with agent, developer, project or environment. See exactly which agent spent what, on which model.

04

Your keys, your rates

Bring your own OpenAI, Anthropic, Google, DeepSeek and other keys. Keep your negotiated pricing and data agreements.

05

Fallbacks built in

When a provider rate-limits or goes down, requests retry across your own keys and backup models automatically.

06

Drop-in endpoint

OpenAI-compatible and Anthropic-compatible APIs. Your SDKs, coding agents and frameworks work by changing the base URL.

On the road in five minutes

STEP 1

Add your provider keys

Paste your keys once. They are encrypted at rest and never shown again.

STEP 2

Point your agents at OpenPike

Swap the base URL for api.openpike.dev and use an OpenPike key. Tag each agent with a header.

STEP 3

Set your tolls

Add budgets and loop limits. Get alerts in email or Slack before anything gets expensive.

Your keys are the whole job. We treat them that way.

You pay providers directly, at your own negotiated rates and under your own data agreements. We never resell tokens and never hold your money for inference.

  • Encrypted provider keysAES-GCM with a per-workspace key. Decrypted only in memory, for one request at a time.
  • Never loggedKeys never appear in logs, errors or responses. Upstream errors are scrubbed before they reach you.
  • Prompts are not storedWe keep request metadata for spend reporting. Prompt and response bodies pass straight through.
  • Runs at the edgeThe gateway runs on Cloudflare close to your agents, so it adds milliseconds, not seconds.

Flat pricing. Never a cut of your spend.

Spend $500 or $50,000 a month with your providers. Your OpenPike bill stays the same.

Compare plans
Free$0 /month

3 keys, 10K requests a month, budgets and fallbacks.

Business$199 /month

Unlimited keys, 10M requests a month, audit log, priority support.

Put a toll gate in front of your agents today.

Change one line of config. Keep your keys. Sleep through the next runaway loop.

Start free