<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/byok-use-your-own-ai-models-in-abp-studio-ai-agent-ijlgawowo" -->

---
title: BYOK: Use Your Own AI Models in ABP Studio AI Agent
description: ABP Studio's AI Agent now supports Bring Your Own Key (BYOK), letting Enterprise-license users connect their own OpenAI-compatible service, Azure OpenAI,...
canonical: https://daily.dev/posts/byok-use-your-own-ai-models-in-abp-studio-ai-agent-ijlgawowo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: BYOK: Use Your Own AI Models in ABP Studio AI Agent | daily.dev
og:description: ABP Studio's AI Agent now supports Bring Your Own Key (BYOK), letting Enterprise-license users connect their own OpenAI-compatible service, Azure OpenAI,...
og:url: https://daily.dev/posts/byok-use-your-own-ai-models-in-abp-studio-ai-agent-ijlgawowo
og:image: https://api.daily.dev/og/posts/IJLGawoWo.png
og:image:alt: BYOK: Use Your Own AI Models in ABP Studio AI Agent
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# BYOK: Use Your Own AI Models in ABP Studio AI Agent

**[We Are .NET](https://daily.dev/sources/wearedotnet)** · 9 min read · 0 upvotes · 0 comments

## Summary

ABP Studio's AI Agent now supports Bring Your Own Key (BYOK), letting Enterprise-license users connect their own OpenAI-compatible service, Azure OpenAI, company gateway, or local Ollama server instead of the default Built-in AI catalog billed through ABP AI Credits. Provider connections require adding API keys or keyless auth for local servers, discovering models, and enabling them for the chat picker; up to 3 provider profiles, 3 credentials each, and 10 custom headers are supported. Feature is locked for Community, Team, Business, Personal, and Trial licenses, showing an upgrade prompt instead. Some features like Auto mode and web search remain tied to Built-in AI, and headless/CI usage supports custom LLM profiles via environment variables with an Enterprise license.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://abp.io/community/posts/byok-use-your-own-ai-models-in-abp-studio-ai-agent-04g19x7f>

## Questions this post answers

### Can I use my own OpenAI or Azure OpenAI API key with ABP Studio's AI Agent instead of the built-in models?

Yes, through the Bring Your Own Key (BYOK) provider connections feature, but it requires an Enterprise license. Community, Team, Business, Personal, and Trial licenses cannot activate it and only see a locked option with an upgrade prompt. Enterprise users can connect OpenAI-compatible services, Azure OpenAI, company gateways, vLLM, LM Studio, or Ollama with their own keys.

_Enterprise teams weighing custom LLM connections against built-in AI credits can track tooling changes like this on daily.dev._

### How many custom AI provider connections can I configure at once in ABP Studio?

Up to 3 provider profiles can be kept simultaneously, each supporting up to 3 credentials, plus up to 10 custom request headers per profile for enterprise gateways requiring extra authentication. Keys and header values are stored in platform secure storage rather than in the profile JSON file, and only one connection can be active for the agent at a time.

_Developers configuring multi-provider LLM setups can follow infrastructure details like these on daily.dev._

### Why does Auto mode stop working after switching ABP Studio's AI Agent to a custom LLM provider?

Auto mode, which lets Studio pick the best model per message, is tied specifically to the Built-in AI connection and turns off automatically when switching to a custom provider connection. Similarly, web search and other managed extras may fall back to the built-in connection if the custom provider cannot perform them, since these behaviors are intentionally reserved for Built-in AI.

_Teams debugging feature gaps after swapping LLM providers can keep tabs on quirks like this via daily.dev._

## Similar posts on daily.dev

- [Bring Your Own Key \(BYOK\) Is Now Live in JetBrains IDEs](https://daily.dev/posts/bring-your-own-key-byok-is-now-live-in-jetbrains-ides-b8lg34y7n) · JetBrains · 0 upvotes · 0 comments
- [Enterprise bring your own key \(BYOK\) for GitHub Copilot is now in public preview](https://daily.dev/posts/enterprise-bring-your-own-key-byok-for-github-copilot-is-now-in-public-preview-9ghqwnxsf) · GitHub Changelog · 0 upvotes · 0 comments
- [Unlocking the Power of AI for Every Developer in Visual Studio with Bring your Own Model](https://daily.dev/posts/unlocking-the-power-of-ai-for-every-developer-in-visual-studio-with-bring-your-own-model-eylmtcqn4) · Visual Studio Blog · 0 upvotes · 0 comments
- [Why use BYOK through Kilo Gateway instead of going directly to the provider?](https://daily.dev/posts/why-use-byok-through-kilo-gateway-instead-of-going-directly-to-the-provider--dq6wsutd8) · Kilo Blog · 0 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#ollama](https://daily.dev/tags/ollama), [#azure-openai](https://daily.dev/tags/azure-openai)

[View this post on daily.dev](https://daily.dev/posts/byok-use-your-own-ai-models-in-abp-studio-ai-agent-ijlgawowo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"BYOK: Use Your Own AI Models in ABP Studio AI Agent","url":"https://daily.dev/posts/byok-use-your-own-ai-models-in-abp-studio-ai-agent-ijlgawowo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/byok-use-your-own-ai-models-in-abp-studio-ai-agent-ijlgawowo"},"datePublished":"2026-09-14T15:18:37.946Z","dateModified":"2026-09-14T15:19:05.747Z","description":"ABP Studio's AI Agent now supports Bring Your Own Key (BYOK), letting Enterprise-license users connect their own OpenAI-compatible service, Azure OpenAI,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ad98f174852a45ea3cc68ed8990977c9?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ad98f174852a45ea3cc68ed8990977c9?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"We Are .NET","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"We Are .NET","logo":"https://media.daily.dev/image/upload/s--BsnVOa3i--/f_auto/v1718347410/logos/wearedotnet","url":"https://daily.dev/sources/wearedotnet"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/byok-use-your-own-ai-models-in-abp-studio-ai-agent-ijlgawowo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,ollama,azure-openai","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"We Are .NET","item":"https://daily.dev/sources/wearedotnet"},{"@type":"ListItem","position":3,"name":"BYOK: Use Your Own AI Models in ABP Studio AI Agent"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/byok-use-your-own-ai-models-in-abp-studio-ai-agent-ijlgawowo#faq","mainEntity":[{"@type":"Question","name":"Can I use my own OpenAI or Azure OpenAI API key with ABP Studio's AI Agent instead of the built-in models?","acceptedAnswer":{"@type":"Answer","text":"Yes, through the Bring Your Own Key (BYOK) provider connections feature, but it requires an Enterprise license. Community, Team, Business, Personal, and Trial licenses cannot activate it and only see a locked option with an upgrade prompt. Enterprise users can connect OpenAI-compatible services, Azure OpenAI, company gateways, vLLM, LM Studio, or Ollama with their own keys. Enterprise teams weighing custom LLM connections against built-in AI credits can track tooling changes like this on daily.dev."}},{"@type":"Question","name":"How many custom AI provider connections can I configure at once in ABP Studio?","acceptedAnswer":{"@type":"Answer","text":"Up to 3 provider profiles can be kept simultaneously, each supporting up to 3 credentials, plus up to 10 custom request headers per profile for enterprise gateways requiring extra authentication. Keys and header values are stored in platform secure storage rather than in the profile JSON file, and only one connection can be active for the agent at a time. Developers configuring multi-provider LLM setups can follow infrastructure details like these on daily.dev."}},{"@type":"Question","name":"Why does Auto mode stop working after switching ABP Studio's AI Agent to a custom LLM provider?","acceptedAnswer":{"@type":"Answer","text":"Auto mode, which lets Studio pick the best model per message, is tied specifically to the Built-in AI connection and turns off automatically when switching to a custom provider connection. Similarly, web search and other managed extras may fall back to the built-in connection if the custom provider cannot perform them, since these behaviors are intentionally reserved for Built-in AI. Teams debugging feature gaps after swapping LLM providers can keep tabs on quirks like this via daily.dev."}}]}
```

