TemprTempr
Tempr Gateway

Your keys and your AI plans, behind one endpoint.

An OpenAI-compatible API in front of the provider keys and AI plans you already pay for. Run Claude Code on your Claude plan, Codex on ChatGPT, or any tool on one of 30 coding plans, and get virtual keys, request logs, guardrails and budgets on every request. No IDE license required.

your provider keys, Claude, ChatGPT & 30 coding plansdrop-in /v1/chat/completionsyour MCP servers in claude.ai & ChatGPT
Request log · the last minute sample data
Claude Codeanthropic/claude-sonnet-5.5 · Claude Maxallowed
checkout-apiopenai/gpt-5-mini · OpenAI key · $0.0021allowed
Codexopenai/gpt-5.2-codex · ChatGPT Businessmasked aws-key
support-botanthropic/claude-haiku-4.5 → google/gemini-3-flash-previewfell back
ci-review-bot429 rule_limit_exceeded · hour requests 300limited
Drop-in

Drop-in for your existing SDK

Add your provider keys or plans in the Portal, issue a virtual key, and change the base URL. The request and response shapes are OpenAI's, so nothing else in your code changes.

# Point any OpenAI SDK at Tempr Gateway
curl https://api.temprhq.io/v1/chat/completions \
  -H "Authorization: Bearer tvk_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o",
    "messages": [{"role": "user", "content": "Say hi"}]
  }'

Chat completions, the Responses API, Anthropic's Messages API, embeddings and models, streaming included. Python and Node examples in the Gateway quickstart.

Your AI plans

Bring your AI plans, not just your keys

Claude Code, Codex and today's coding tools run on flat-rate plans. Put them through Tempr and the plan keeps paying for the tokens, while every request gets the logs, limits and guardrails you'd have on an API key.

Claude Code on your Claude plan

Keep Claude Code signed in to Claude Pro, Max, Team or Enterprise. Set the base URL, send your virtual key in a header, and your plan pays for Claude, with its 5-hour and weekly usage on every request.

Codex on your ChatGPT plan

Codex keeps its ChatGPT sign-in, and Tempr relays it to ChatGPT's own Codex backend, so your Plus, Pro or Business plan pays for OpenAI's models.

30 coding plans

Z.AI GLM, Kimi Code, MiniMax, Alibaba Cloud, Volcengine, Tencent, Xiaomi MiMo, StepFun and more, from Claude Code, OpenCode, Cline or your own app. Store the plan's key or send it with each request.

Each request is logged with the plan that paid, a cost of $0 and its value at API prices. When a plan runs out, requests carry on with the same model on your own API key, unless the key names another model or says stop. Your sign-in is forwarded with each request and never stored.

A plan's terms are its vendor's: some limit a plan to their own tools or forbid proxies. Check yours before you rely on it. How it works, plan by plan.

The Portal

See it in action

The Gateway side of the Tempr Portal: what your keys are doing, what each request cost, and what every key is allowed to do.

Features

Everything between your app and the model

Bring your own keys all the way through: Tempr fronts no tokens and resells none.

Virtual keys over your own

Connect keys from OpenAI, Anthropic, Google, xAI and about 30 more, encrypted at rest and never pooled. Hand out tvk_ keys per app or person with a model allowlist, budget, rate limits, expiry and IP allowlist, and revoke one without rotating anything.

Logs and analytics

Every request, searchable by key, model, status, session or metadata, with its cost, latency and routing. The dashboard breaks down tokens, cost, p50/p95 latency and errors. Capture full content, or metadata only. On Pro and up, ask an AI agent about them from Claude Code, Codex or claude.ai.

Fallback chains and pools

List candidate models per key, and an outage or rate limit moves traffic to the next. A chain can run in order, cheapest first, fastest first, or spread evenly while each conversation stays on one model. Or ask for a model, not a host: any/openai/gpt-oss-120b runs on whichever of your providers serves it, cheapest first, skipping hosts that can't take the request.

Prompt and response caching

Tempr places Anthropic's cache breakpoints for you, so repeated context bills at about a tenth of the input price, and every request shows its savings. Exact-match response caching skips the call for identical requests.

Guardrails and data-loss prevention

Flag or block secrets and personal data before they reach the provider, on every plan. From Pro, mask them in prompts and in answers, streams included, add patterns of your own, and a model check for prompt injection.

Budgets, quotas and teams

Give each key a monthly budget and rate limits on every plan. From Pro, cap cost, tokens or requests per hour, day, week or month on a key, a team or the account, with a warning first, and group an organization's keys into teams.

Custom models on your own servers, model routing, webhooks, log streaming and the rest are in the Gateway reference.

MCP

Your MCP servers, governed, in every app

Add a remote MCP server once, or pick a popular one, such as Linear, Notion, Sentry or Atlassian, from the Portal's catalog with its URL and sign-in filled in. Every call to it, from claude.ai, ChatGPT, an IDE or your own agent, runs through Tempr's relay, which signs it in, checks it and logs it.

Connectors for claude.ai and ChatGPT

Paste one connector URL into claude.ai, ChatGPT, Claude Desktop or Claude Code and sign in to Tempr. The app gets every MCP server you can reach, and no secret ever goes into it.

Every call as the person asking

Each member connects their own GitHub, Linear or Notion account, so the agent acts with their permissions and the tool's own audit trail shows who did what. No shared bot token.

Secrets never reach the laptop

Server URLs, headers and members' tokens stay encrypted on Tempr's servers and are attached on the way out. Tokens refresh on their own and are revoked when someone leaves.

Tool traffic checked both ways

Secrets in a tool call's arguments are flagged or blocked, and in its results masked before the model reads them. Planted instructions are flagged, and a server quietly changing a tool shows up in your audit log.

Least privilege, per tool

Tool Packs give a group or a key only the tools a job needs; anything else is hidden and refused. Rewrite a tool's description, and every app and agent sees yours.

Admins stay in charge

Allow only the apps you list, see who is signed in to what, and revoke one person or everyone. With Team seats or Gateway Enterprise, Enterprise Managed Auth signs members in from your identity provider.

The checks match common shapes of secrets, personal data and injected instructions, plus patterns of your own; no filter catches everything, or makes prompt injection impossible. Setup in the MCP connectors guide and the MCP docs.

Providers

Bring a key from any of these

The same provider allowlist as Tempr Chat, enforced server-side: your key, routed straight to the provider. Aggregators such as OpenRouter work in Chat and the CLI, not the Gateway. A few of the most popular:

OpenAIOpenAIFirst-party
AnthropicAnthropicFirst-party
Google GeminiGoogle GeminiFirst-party
DeepSeekDeepSeekFirst-party
xAIxAIFirst-party
MistralMistralFirst-party
Meta AIMeta AIFirst-party
CohereCohereFirst-party
Together AITogether AIInference
Fireworks AIFireworks AIInference
Hugging FaceHugging FaceInference
DeepInfraDeepInfraInference

View all providers & models →

Early users

What early users are saying

Illustrative quotes for preview purposes, to be replaced with real customer feedback before launch.

"We swapped the base URL, kept our OpenAI client code exactly as-is, and suddenly had request logs we never had before. Took ten minutes."

Platform engineer, devtools startup

"Fallback chains saved us during a provider outage. Traffic just moved to the next candidate instead of paging anyone at 2am."

Backend lead, e-commerce team

"No token markup, no shared pool. It's our own key with a much better dashboard in front of it. Exactly what we wanted from a gateway."

Independent developer
Pricing

Priced by request volume, not tokens

You pay your provider directly for tokens; this is what you pay Tempr for the gateway itself. Start on the Free tier in minutes: no credit card, no IDE license required.

What changes by planFreeProScale
Requests included / month10,000250,0002,000,000
Rate limit30 req/min120 req/min480 req/min
Log retention7 days30 days90 days
Cached responses kept1,00010,00050,000
Beyond the included requestsBlocked$0.30 / 1,000, capped$0.20 / 1,000, capped
Redaction, your own data-loss rules, answer scanning, the LLM check—✓✓
Routing rules: send requests by model, team, user, tag or content—✓✓
Budget rules (hourly to monthly, warn or block)—✓✓
Organization with teams and shared keys—✓✓
Management API, MCP server for AI agents, alert rules—✓✓
Plans passthrough, fallback chains and pools, caching, logs, MCP connectors, flag and block guardrails✓✓✓

Enterprise adds SSO, an uptime SLA and VPC deployment or self-hosting, with volume pricing. Every plan compared, row by row.

Questions

Gateway FAQ

The questions specific to the API. Account, BYOK, and billing questions live on the general FAQ page.

Can I use OpenRouter (or another aggregator) with the Gateway?

No. The Gateway fronts the provider keys you hold directly: OpenAI, Anthropic, Google, xAI, and the rest of the first-party allowlist. Aggregator keys like OpenRouter are supported in Chat and the CLI, where they're just another provider in your key list.

Is it really OpenAI-compatible?

Yes: POST /v1/chat/completions and POST /v1/responses (each streaming and non-streaming), POST /v1/embeddings, and GET /v1/models, with the same request and response shapes the OpenAI SDKs already expect. Point the SDK's base URL at Tempr Gateway and use a virtual key in place of your OpenAI key. The Responses API works on non-OpenAI models too, which is how Codex CLI runs on Claude or DeepSeek through the gateway, and embeddings work with Gemini, Mistral, Cohere and Bedrock models as well as OpenAI's, which is how Kilo Code indexes a codebase through it.

Can Claude Code or Codex run on my Claude or ChatGPT plan through the Gateway?

Yes. Leave Claude Code or Codex signed in to your plan and send your virtual key in the x-tempr-key header: your plan pays for the requests, and you still get request logs, key limits, guardrails and the dashboard, which shows each plan's usage and what the traffic would have cost at API prices. The 30 coding plans with an API key of their own, such as the Z.AI GLM Coding Plan, Kimi Code or the Alibaba Cloud Coding Plan, work from any tool, with the key stored in Tempr or sent with each request. Give a key a used-up model and requests carry on there when a plan runs out. Tempr forwards your sign-in with each request and never stores it. Check your plan's terms before relying on this; see Your AI plans.

Can I use my own model server (vLLM, SGLang, LiteLLM)?

Yes, on every plan. Add your server's OpenAI-compatible base URL and API key in the Portal, pick models from its model list, and give each one a name, then call it as custom/your-name like any other model, with allowlists, fallback chains, and request logs. The server has to be reachable over public HTTPS and require an API key. Custom models aren't priced unless you set a price, so budgets only count their usage once you do. See the custom models guide.

Can we run cloud agents in our own AWS, Google Cloud or Azure account?

Coming soon: background coding agents, such as Claude Code or OpenCode, that pick up a task, work on your repository in your own cloud account and open a pull request, with the Gateway's keys, logs, guardrails and budgets on every request. Your repository checkout, the agent's machines and its tool runs stay in your account. Today you can already run Claude Code or OpenCode headless in your own CI or containers with a virtual key; see the Claude Code and OpenCode guides. Want it for your team? Talk to us.

Which MCP servers can go through the Gateway?

Any remote server that speaks MCP's Streamable HTTP transport, whether it authenticates with headers you can store, such as an API key or a bearer token, or with OAuth. Add it in the Portal under MCP servers, then call POST /mcp/proxy/{server} with a virtual key, or use it from any Tempr client once you're signed in. A server that signs people in with OAuth can sign each member in with their own account; see per-member sign-in. The Portal’s catalog fills in the URL and sign-in for popular ones, such as Linear, Notion, Sentry, Atlassian, Stripe and GitHub; see remote servers. Local servers that run as a process on your machine don't go through the Gateway; the Portal can still store their environment variables for Tempr's clients. See the MCP docs.

Can claude.ai or ChatGPT use our MCP servers?

Yes. Copy a connector URL from the Portal, add it as a custom connector in claude.ai or Claude Desktop, or as a custom MCP server in ChatGPT, and sign in to Tempr when the app asks. One URL gives the app all the MCP servers you can reach, or one server's URL gives it just that one. Every call then goes through Tempr with your stored credentials, Tool Packs, guardrails and logs. An organization can turn connectors off, allow only the apps it lists, and sign members in with its identity provider through Enterprise Managed Auth. See MCP connectors.

How does prompt caching work, and how is it different from response caching?

Response caching replays a stored answer for an identical request, skipping the model call entirely. Prompt caching still calls the model, but the provider serves the repeated part of your prompt (tools, system prompt, earlier turns) from its own cache, which on Anthropic bills at about a tenth of the normal input price (writing the cache costs 25% more, so it pays off as soon as a prefix is reused). Turn it on in the Portal or per request with x-tempr-prompt-cache and the gateway places the cache breakpoints for you; OpenAI, Gemini, DeepSeek, and xAI already cache long prompts automatically. Clients that set their own breakpoints, like Claude Code, keep them intact, and each request's log shows its cached tokens and savings. See the docs.

What happens if I go over my plan's request quota?

The Free tier hard-blocks at 10,000 requests/month with an upgrade prompt. Pro and Scale keep serving past their allotment on metered overage, billed per 1,000 requests, until you hit your own configurable overage cap (default $50). Then it hard-blocks too, so a runaway script can't run up an open-ended bill.

Is my prompt and response content stored?

Content capture is on by default (7-day retention on Free, longer on paid plans, truncated at 256 KB) so you have real request/response detail to debug against, but it's a per-account toggle, and metadata-only mode is always available if you'd rather nothing be stored.

How is this different from a token-reselling gateway?

Tempr Gateway never fronts provider keys or resells tokens: every request goes out on a key you supplied, or a plan you pay for, at your provider's own rates. What you pay Tempr for is the gateway layer itself: virtual keys, logs, analytics, guardrails and quota management, priced by request volume.

Put one endpoint in front of every model.

Start on the Free tier in minutes: no credit card, no IDE license.