Integrate Portkey in your .NET
app easily using the OpenAI library and get advanced monitoring, routing, and enterprise features.
.NET
is Microsoft’s battle-tested framework trusted by Fortune 500 companies. It’s now easier than ever to build LLM apps. You get:
Battle-Tested Security | Built-in identity management, secret rotation, and compliance standards |
Production Performance | High-throughput processing with advanced memory management |
Azure Integration | Seamless Azure OpenAI and Active Directory support |
Complete Observability | Monitor costs, latency, and performance metrics |
Provider Flexibility | Route to 250+ LLMs (like Claude, Gemini, Llama, self-hosted etc.) without code changes |
Smart Caching | Reduce costs & time by caching frequent requests |
High Reliability | Automatic fallback and load balancing across providers |
Prompt Management | Use Portkey as a centralized hub to version, experiment with prompts, and call them using a single ID |
Continuous Improvement | Improve your app by capturing and analyzing user feedback |
Enterprise Ready | Budget controls, rate limits, model-provisioning, and role-based access |
ChatClient | ✅ Fully Supported |
EmbeddingClient | ✅ Fully Supported |
ImageClient | 🚧 Coming Soon |
BatchClient | 🚧 Coming Soon |
AudioClient | 🚧 Coming Soon |
ChatClient
or EmbeddingClient
to create a new PortkeyClient
.
CreateClient
method and not CreateChatClient
method to create the client)
PortkeyClient
to send Async
requests: