Claude Code gateway for enterprise teams

Production
stack for Gen AI builders

Production stack for Gen AI builders

Route Claude Code through Portkey to get centralized logs, enforce usage policies, track costs, and control access, so your teams can scale it safely and reliably.

Portkey equips AI teams with everything they need to go to production - Gateway, Observability, Guardrails, Governance, and Prompt Management, all in one platform.

Portkey equips AI teams with everything they need to go to production - Gateway, Observability, Guardrails, Governance, and Prompt Management, all in one platform.

Enabling 3000+ leading teams to build the future of GenAI

Enabling 3000+ leading teams to build the future of GenAI

Enabling 3000+ leading teams to build the future of GenAI

Get the control layer Claude Code is missing

Get the control layer Claude Code is missing

Get the control layer Claude Code is missing

Portkey's Claude Code gateway brings visibility, governance, and performance so platform teams can manage usage without slowing teams down.

Portkey's Claude Code gateway brings visibility, governance, and performance so platform teams can manage usage without slowing teams down.

Portkey's Claude Code gateway brings visibility, governance, and performance so platform teams can manage usage without slowing teams down.

Get cost visibility across providers

Track token usage and cost per request broken down by provider, route, team, and user.

Increase throughput with multi-provider routing

Use routing strategies like fallbacks and load balancing across Anthropic, Bedrock, and Vertex AI providers to maintain throughput even when you hit rate limits.

Get end-to-end visibility with detailed logging

Log every Claude Code request with metadata like team, user, provider, route, and token usage. 

Govern Claude Code usage with fine-grained controls

Set up role-based access, apply rate limits, and manage credentials centrally through the Claude Code gateway.

Enforce content policies with guardrails

Protect your AI stack from threats like prompt injections and data leaks using built-in guardrails, without compromising performance.

Reduce latency and spend with caching

Speed up repeated requests with simple and semantic caching

Built for scale and control

An OpenTelemetry-compatible module that offers end-to-end observability

Fallbacks

Automatically reroute Claude Code requests when a provider fails.

Retries

Retry failed or timed-out requests with configurable logic.

Load Balancing

Distribute traffic intelligently across Claude Code providers to optimize performance.

Analytics Dashboard

Track usage, cost, latency, and error rates across teams and environments.

Guardrails

Enforce prompt filters, token limits, and safety checks before requests are sent.

Metadata Logging

Capture detailed metadata on every request—including user, route, and cost.

SSO

Integrate with your identity provider for seamless authentication and access control.

Org Management

Define teams, roles, and environment-specific access at the org level.

Audit Logs

Maintain a complete record of usage and policy enforcement for compliance.

Built for scale and control

An OpenTelemetry-compatible module that offers end-to-end observability

Fallbacks

Capture every request and trace its complete journey. Export logs to your reporting tools

Retries

Retry failed or timed-out requests with configurable logic.

Load Balancing

Distribute traffic intelligently across Claude Code providers to optimize performance.

Analytics Dashboard

Track usage, cost, latency, and error rates across teams and environments.

Guardrails

Enforce prompt filters, token limits, and safety checks before requests are sent.

Metadata Logging

Capture detailed metadata on every request—including user, route, and cost.

SSO

Integrate with your identity provider for seamless authentication and access control.

Org Management

Define teams, roles, and environment-specific access at the org level.

Audit Logs

Maintain a complete record of usage and policy enforcement for compliance.

Built for scale and control

An OpenTelemetry-compatible module that offers end-to-end observability

Fallbacks

Capture every request and trace its complete journey. Export logs to your reporting tools

Retries

Retry failed or timed-out requests with configurable logic.

Load Balancing

Distribute traffic intelligently across Claude Code providers to optimize performance.

Analytics Dashboard

Track usage, cost, latency, and error rates across teams and environments.

Guardrails

Enforce prompt filters, token limits, and safety checks before requests are sent.

Metadata Logging

Capture detailed metadata on every request—including user, route, and cost.

SSO

Integrate with your identity provider for seamless authentication and access control.

Org Management

Define teams, roles, and environment-specific access at the org level.

Audit Logs

Maintain a complete record of usage and policy enforcement for compliance.

 Enterprise-ready LLMOps platform

Highest standards for security & compliance

Portkey complies with stringent data privacy and security standards so that you can focus on innovation without worrying about data security.

Audited every quarter
100% secure on-prem deployment with full control

Deploy Portkey in your private cloud for enhanced security, control, and 100% data ownership.

The most popular open source AI Gateway

Portkey’s AI Gateway is actively maintained by 50+ contributors worldwide, bringing the cutting edge of AI work into the Gateway.

Portkey provides end-to-end support for Azure

Portkey plugs into your entire Azure ecosystem, so you can build and scale without leaving your existing infrastructure

New Integration: Inference.net (wholesaler of LLM...

Kierra Westervelt • Oct 03, 2024

New Integration: DeepSeek AI on Gateway

Alfonso Workman • Oct 01, 2024

Enhance RAG Retrieval Success by 67% using...

Lincoln Geidt • Sep 30, 2024

OpenAI o1-preview and o1-mini on Portkey

Zain Aminoff • Sep 27, 2024

New Integration: Inference.net (wholesaler...

Omar Calzoni • Sep 23, 2024

Changelog

We’re open-source!

Join 50 other contributors in collaboratively developing Portkey’s open-source AI Gateway and push the frontier of production-ready AI.

 Enterprise-ready LLMOps platform

Highest standards for security & compliance

Portkey complies with stringent data privacy and security standards so that you can focus on innovation without worrying about data security.

Audited every quarter
100% secure on-prem deployment with full control

Deploy Portkey in your private cloud for enhanced security, control, and 100% data ownership.

The most popular open source AI Gateway

Portkey’s AI Gateway is actively maintained by 50+ contributors worldwide, bringing the cutting edge of AI work into the Gateway.

Portkey provides end-to-end
support for Azure

Portkey plugs into your entire Azure ecosystem, so you can build and scale without leaving your existing infrastructure

New Integration: Inference.net (wholesaler of LLM...

Kierra Westervelt • Oct 03, 2024

New Integration: DeepSeek AI on Gateway

Alfonso Workman • Oct 01, 2024

Enhance RAG Retrieval Success by 67% using...

Lincoln Geidt • Sep 30, 2024

OpenAI o1-preview and o1-mini on Portkey

Zain Aminoff • Sep 27, 2024

New Integration: Inference.net (wholesaler...

Omar Calzoni • Sep 23, 2024

Changelog

We’re open-source!

Join 50 other contributors in collaboratively developing Portkey’s open-source AI Gateway and push the frontier of production-ready AI.

 Enterprise-ready LLMOps platform

Highest standards for security & compliance

Portkey complies with stringent data privacy and security standards so that you can focus on innovation without worrying about data security.

Audited every quarter
100% secure on-prem deployment with full control

Deploy Portkey in your private cloud for enhanced security, control, and 100% data ownership.

The most popular open source AI Gateway

Portkey’s AI Gateway is actively maintained by 50+ contributors worldwide, bringing the cutting edge of AI work into the Gateway.

Portkey provides end-to-end support for Azure

Portkey plugs into your entire Azure ecosystem, so you can build and scale without leaving your existing infrastructure

New Integration: Inference.net (wholesaler of LLM...

Kierra Westervelt • Oct 03, 2024

New Integration: DeepSeek AI on Gateway

Alfonso Workman • Oct 01, 2024

Enhance RAG Retrieval Success by 67% using...

Lincoln Geidt • Sep 30, 2024

OpenAI o1-preview and o1-mini on Portkey

Zain Aminoff • Sep 27, 2024

New Integration: Inference.net (wholesaler...

Omar Calzoni • Sep 23, 2024

Changelog

We’re open-source!

Join 50 other contributors in collaboratively developing Portkey’s open-source AI Gateway and push the frontier of production-ready AI.

Trusted by Fortune 500s & Startups

Portkey is easy to set up, and the ability for developers to share credentials with LLMs is great. Overall, it has significantly sped up our development process.

Patrick L,
Founder and CPO, QA.tech

With 30 million policies a month, managing over 25 GenAI use cases became a pain. Portkey helped with prompt management, tracking costs per use case, and ensuring our keys were used correctly. It gave us the visibility we needed into our AI operations.

Prateek Jogani,
CTO, Qoala

Portkey stood out among AI Gateways we evaluated for several reasons: excellent, dedicated support even during the proof of concept phase, easy-to-use APIs that reduce time spent adapting code for different models, and detailed observability features that give deep insights into traces, errors, and caching

AI Leader,
Fortune 500 Pharma Company

Portkey is a no-brainer for anyone using AI in their GitHub workflows. It has saved us thousands of dollars by caching tests that don't require reruns, all while maintaining a robust testing and merge platform. This prevents merging PRs that could degrade production performance. Portkey is the best caching solution for our needs.

Kiran Prasad,
Senior ML Engineer, Ario

Well done on creating such an easy-to-use and navigate product. It’s much better than other tools we’ve tried, and we saw immediate value after signing up. Having all LLMs in one place and detailed logs has made a huge difference. The logs give us clear insights into latency and help us identify issues much faster. Whether it's model downtime or unexpected outputs, we can now pinpoint the problem and address it immediately. This level of visibility and efficiency has been a game-changer for our operations.

Oras Al-Kubaisi,
CTO, Figg

Used by ⭐️ 16,000+ developers across the world

Trusted by Fortune 500s & Startups

Portkey is easy to set up, and the ability for developers to share credentials with LLMs is great. Overall, it has significantly sped up our development process.

Patrick L,
Founder and CPO, QA.tech

With 30 million policies a month, managing over 25 GenAI use cases became a pain. Portkey helped with prompt management, tracking costs per use case, and ensuring our keys were used correctly. It gave us the visibility we needed into our AI operations.

Prateek Jogani,
CTO, Qoala

Portkey stood out among AI Gateways we evaluated for several reasons: excellent, dedicated support even during the proof of concept phase, easy-to-use APIs that reduce time spent adapting code for different models, and detailed observability features that give deep insights into traces, errors, and caching

AI Leader,
Fortune 500 Pharma Company

Portkey is a no-brainer for anyone using AI in their GitHub workflows. It has saved us thousands of dollars by caching tests that don't require reruns, all while maintaining a robust testing and merge platform. This prevents merging PRs that could degrade production performance. Portkey is the best caching solution for our needs.

Kiran Prasad,
Senior ML Engineer, Ario

Well done on creating such an easy-to-use and navigate product. It’s much better than other tools we’ve tried, and we saw immediate value after signing up. Having all LLMs in one place and detailed logs has made a huge difference. The logs give us clear insights into latency and help us identify issues much faster. Whether it's model downtime or unexpected outputs, we can now pinpoint the problem and address it immediately. This level of visibility and efficiency has been a game-changer for our operations.

Oras Al-Kubaisi,
CTO, Figg

Used by ⭐️ 16,000+ developers across the world

Trusted by Fortune 500s
& Startups

Portkey is easy to set up, and the ability for developers to share credentials with LLMs is great. Overall, it has significantly sped up our development process.

Patrick L,
Founder and CPO, QA.tech

With 30 million policies a month, managing over 25 GenAI use cases became a pain. Portkey helped with prompt management, tracking costs per use case, and ensuring our keys were used correctly. It gave us the visibility we needed into our AI operations.

Prateek Jogani,
CTO, Qoala

Portkey stood out among AI Gateways we evaluated for several reasons: excellent, dedicated support even during the proof of concept phase, easy-to-use APIs that reduce time spent adapting code for different models, and detailed observability features that give deep insights into traces, errors, and caching

AI Leader,
Fortune 500 Pharma Company

Portkey is a no-brainer for anyone using AI in their GitHub workflows. It has saved us thousands of dollars by caching tests that don't require reruns, all while maintaining a robust testing and merge platform. This prevents merging PRs that could degrade production performance. Portkey is the best caching solution for our needs.

Kiran Prasad,
Senior ML Engineer, Ario

Well done on creating such an easy-to-use and navigate product. It’s much better than other tools we’ve tried, and we saw immediate value after signing up. Having all LLMs in one place and detailed logs has made a huge difference. The logs give us clear insights into latency and help us identify issues much faster. Whether it's model downtime or unexpected outputs, we can now pinpoint the problem and address it immediately. This level of visibility and efficiency has been a game-changer for our operations.

Oras Al-Kubaisi,
CTO, Figg

Used by ⭐️ 16,000+ developers across the world

Latest guides and resources

Claude Code documentation

Integrate Portkey with Claude Code for enterprise-grade AI coding assistance

Claude Code Limits

Everything We Know About Claude Code Limits

Control and visbility for Claude Code

See how Portkey helps you add enterprise-grade governance and control

Latest guides and resources

Claude Code documentation

Integrate Portkey with Claude Code for enterprise-grade AI coding assistance

Claude Code Limits

Everything We Know About Claude Code Limits

Control and visbility for Claude Code

See how Portkey helps you add enterprise-grade governance and control

Latest guides and resources

Claude Code documentation

Integrate Portkey with Claude Code for enterprise-grade AI coding assistance

Claude Code Limits

Everything We Know About Claude Code Limits

Control and visbility for Claude Code

See how Portkey helps you add enterprise-grade governance and control

🎉 Introducing Model Catalog. Control every LLM your team uses. Learn More

Products

Solutions

Developers

Resources

...

🎉 Introducing Model Catalog. Control every
LLM your team uses. Learn More

🎉 Introducing Model Catalog. Control every LLM your team uses. Learn More

...