Compare AI Gateway and Configuration Management integration patterns. Choose the right Orq.ai architecture for your LLM application deployment strategy.
Deployments are unavailable in workspaces created on or after November 10, 2026. Workspaces created before that date keep their Deployments.
There are two main ways of integrating Orq.ai to your systems. Using the service as a Gateway or as a Configuration Management system.
The main way of using Orq.ai as an AI Gateway would be its simple integration to existing systems. Orq.ai’s deployment urls will be used to send requests to the LLM backends.There are multiple advantages to using Orq.ai this way:
It makes managing multiple LLM providers simple, as Orq.ai becomes the interface to reach all LLM backends available. This makes your integration with multiple LLM transparent.
You benefit from the native retry mechanism and error management we offer. If a call fails to one LLM provider, it is retried seamlessly. Moreover, prolonged failure can result in fallbacks to different providers. To learn more see Retries and Fallbacks.
Logs & Monitoring is native to Orq.ai, all calls will be logged and searchable in the panel, this way you keep track of all your application’s activity with LLM and can detect potential issues quickly.
One thing to keep in mind:
This puts Orq.ai on the critical path of your applications and systems, making its availability and potential fallback path something to consider when designing a fault-tolerant system.
You can decide to use Orq.ai only as configuration management for your various LLM backend.This has some advantages over using AI Gateway:
You manage the calls to LLM Models end-to-end, this lets you keep control over the integration and manage its lifecycle, ensuring data stays within your infrastructure before reaching LLM backends.
You still benefit from the configuration management on Orq.ai side and can fetch at runtime the latest configuration from your Deployment.
You still benefit from Deployment Routing, ensuring your users reach the model you desire.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Orq.ai Documentation","description":"Documentation for Orq.ai, the EU-built control plane for enterprise AI: govern every LLM and MCP call with the AI Gateway, and ship backlog work with the Software Factory.","colors":{"primary":"#027f6b","light":"#00d2b5","dark":"#027f6b"},"logo":{"light":"https://mintcdn.com/orqai/OG_14djpK9Yasgfk/images/Orq_ai_Symbol_Dark.svg?fit=max\u0026auto=format\u0026n=OG_14djpK9Yasgfk\u0026q=85\u0026s=d01651850182afdbc6309808b688d470","dark":"https://mintcdn.com/orqai/BYq_L5I_ZDBWL_Pf/images/Orq_ai_Symbol_Light.svg?fit=max\u0026auto=format\u0026n=BYq_L5I_ZDBWL_Pf\u0026q=85\u0026s=3e372f93174202f20c31d2c045af92b9","href":"/ai-gateway/get-started/introduction"},"favicon":"https://mintcdn.com/orqai/rmwcfFw4PPljHRCz/favicon.svg?fit=max\u0026auto=format\u0026n=rmwcfFw4PPljHRCz\u0026q=85\u0026s=1827beca4e1fb46e074d8bda067f3fb1","api":{"openapi":"openapi.json","examples":{"languages":["curl","typescript","python"]}},"background":{"color":{"light":"#f7f6f5","dark":"#171717"}},"navbar":{"links":[],"primary":{"type":"button","label":"Get Started","href":"https://my.orq.ai/auth/signup"}},"footer":{"socials":{"github":"https://github.com/orq-ai","x":"https://x.com/orq_ai","linkedin":"https://www.linkedin.com/company/orqai","website":"https://orq.ai"}},"seo":{"metatags":{"author":"Orq.ai","og:type":"website","og:site_name":"Orq.ai Documentation","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@orq_ai","twitter:creator":"@orq_ai","viewport":"width=device-width, initial-scale=1.0","robots":"index, follow","language":"English"},"organization":{"id":"https://docs.orq.ai/#organization","name":"Orq.ai","legalName":"Orq.AI Holding B.V.","url":"https://orq.ai","logo":"https://docs.orq.ai/images/Orq_ai_Symbol_Dark.svg","sameAs":["https://github.com/orq-ai","https://x.com/orq_ai","https://www.linkedin.com/company/orqai/"]},"indexing":"all"},"fonts":{"heading":{"family":"ES Klarheit Kurrent Semibold","weight":600,"source":"https://framerusercontent.com/assets/HiovZWjG27S5NQhE8dyeECDMc.woff2","format":"woff2"},"body":{"family":"Inter","weight":400,"source":"fonts/inter-latin-400-normal.woff2","format":"woff2"}},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}},"latex":true},"contextual":{"options":["copy","download-spec","chatgpt","claude","view"],"display":"header"},"interaction":{"drilldown":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"orqai","hasAudioNarration":false,"actualSubdomain":"orqai","customDomains":["docs.orq.ai"],"gitSource":{"type":"github","owner":"orq-ai","repo":"orquesta-web","deployBranch":"main","contentDirectory":"documentation/mintlify","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aec613bada4d37850e27e55","collectionId":"97d33066-b9a1-4280-87e1-bbb0adeceadf","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec613bada4d37850e27e55"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aec613bada4d37850e27e55","clientVersion":"0.0.4071","searchFilterCounts":[{"language":"default","tag":"API Reference","count":404},{"language":"default","tag":"Platform APIs","count":258},{"language":"default","tag":"Integrations","count":93},{"language":"default","tag":"Orq SDK","count":70},{"language":"default","tag":"AI Gateway","count":69},{"language":"default","tag":"Management APIs","count":68},{"language":"default","tag":"SDK Reference","count":67},{"language":"default","tag":"Cookbooks","count":34},{"language":"default","tag":"Model Providers","count":31},{"language":"default","tag":"Frameworks \u0026 SDKs","count":30}],"searchSettings":{"maxResults":15}},"assistantConfig":{"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"deflection":{"enabled":true,"email":"support@orq.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".nav-anchor img{border-radius:50%}.ig-root{scroll-margin-top:6rem}.ig-search{width:100%;padding:10px 14px 10px 38px;border-radius:8px;border:1px solid rgba(0, 0, 0, 0.15);font-size:14px;outline:none;margin-bottom:20px;background:transparent;box-sizing:border-box;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m21 21-4.35-4.35M17 11A6 6 0 1 1 5 11a6 6 0 0 1 12 0Z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:12px center}.dark .ig-search{border-color:rgba(255, 255, 255, 0.15)}.ig-search:focus{border-color:#027f6b}.ig-tabs{display:flex;border-bottom:1px solid rgba(0, 0, 0, 0.1);margin-bottom:20px;gap:0}.dark .ig-tabs{border-bottom-color:rgba(255, 255, 255, 0.1)}.ig-tab{padding:8px 16px;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer;font-size:14px;font-weight:500;color:#888;white-space:nowrap}.ig-tab:hover{color:#027f6b}.dark .ig-tab:hover{color:#677F78}.ig-tab-active{border-bottom-color:#027f6b!important;color:#027f6b!important}.dark .ig-tab-active{border-bottom-color:#677F78!important;color:#677F78!important}.ig-grid{display:grid;grid-template-columns:repeat(4, 1fr);gap:6px}@media (max-width: 768px){.ig-grid{grid-template-columns:repeat(3, 1fr)}}@media (max-width: 480px){.ig-grid{grid-template-columns:repeat(2, 1fr)}}.ig-card{display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid rgba(0, 0, 0, 0.1);border-radius:6px;text-decoration:none!important;color:inherit!important;font-size:14px;font-weight:500;transition:background 0.12s, border-color 0.12s}.ig-card:hover{background:rgba(2, 127, 107, 0.05);border-color:rgba(2, 127, 107, 0.25)}.dark .ig-card{border-color:rgba(255, 255, 255, 0.1)}.dark .ig-card:hover{background:rgba(103, 127, 120, 0.1);border-color:rgba(103, 127, 120, 0.3)}.ig-card-icon{width:20px;height:20px;object-fit:contain;flex-shrink:0}.ig-tab-count{display:inline-flex;align-items:center;justify-content:center;margin-left:6px;padding:0 5px;min-width:18px;height:18px;border-radius:9px;font-size:11px;font-weight:600;background:rgba(0, 0, 0, 0.08);color:inherit}.dark .ig-tab-count{background:rgba(255, 255, 255, 0.12)}.ig-tab-active .ig-tab-count{background:rgba(2, 127, 107, 0.15)}.dark .ig-tab-active .ig-tab-count{background:rgba(103, 127, 120, 0.25)}.ig-empty{text-align:center;padding:48px 24px;color:#999;font-size:14px;grid-column:1 / -1}kbd.key,kbd.key *{color:#fff!important}kbd.key{background:#242424;border-radius:5px;padding:2px 8px;font-size:0.85em;display:inline-flex;align-items:center;gap:6px;border:1px solid #3a3a3a;font-family:inherit;white-space:nowrap}#sidebar-content .flex-1:has(>svg.flex-shrink-0){flex:none!important}#sidebar-content{width:16rem!important;min-width:16rem!important}@media (min-width: 1024px){.lg\\:pl-56{padding-left:16rem!important}}.topbar-right-container nav[aria-label=\"Main\"] .navbar-link a,.topbar-right-container nav[aria-label=\"Main\"] .navbar-link a:hover{background-color:transparent!important}@media (min-width: 1024px){.topbar-right-container nav[aria-label=\"Main\"] ul{gap:1rem!important}.topbar-right-container nav[aria-label=\"Main\"] .navbar-link a{padding-left:0!important;padding-right:0!important}#page-title{font-size:2rem!important;line-height:1.2!important}}.nav-tabs-item:has(a[href^=\"/reference\"]){display:none!important}#navbar .nav-tabs-item[href=\"/ai-studio/integrations/overview\"]{position:relative}#navbar .nav-tabs-item[href=\"/ai-studio/integrations/overview\"]::before{content:'';position:absolute;top:50%;left:-12px;transform:translateY(-50%);height:55%;width:1px;background:rgba(0, 0, 0, 0.15)}.dark #navbar .nav-tabs-item[href=\"/ai-studio/integrations/overview\"]::before{background:rgba(255, 255, 255, 0.15)}@media (min-width: 1280px){#content-container{padding-left:3rem!important;padding-right:2rem!important}#content-side-layout{max-width:20rem!important}#content-area{width:calc(100% - 20rem)!important}}.md-export-list{display:none}@font-face{font-family:'Inter';src:url('/fonts/inter-latin-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:optional}"}],"page":{"pagePath":"ai-studio/cookbooks/common-architecture/gateway-vs-config","slug":"/ai-studio/cookbooks/common-architecture/gateway-vs-config","pageMetadata":{"title":"AI gateway vs config management","sidebarTitle":"AI Gateway vs Configuration Management","description":"Compare AI Gateway and Configuration Management integration patterns. Choose the right Orq.ai architecture for your LLM application deployment strategy.","href":"/ai-studio/cookbooks/common-architecture/gateway-vs-config","hidden":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Compare AI Gateway and Configuration Management integration patterns. Choose the right Orq.ai architecture for your LLM application deployment strategy.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deployments`}),` are unavailable in workspaces created on or after November 10, 2026. Workspaces created before that date keep their Deployments.`]})}),`\n`,_jsxs(_components.p,{children:[`There are two main ways of integrating `,_jsx(_components.strong,{children:`Orq.ai`}),` to your systems. Using the service as a `,_jsx(_components.strong,{children:`Gateway`}),` or as a `,_jsx(_components.strong,{children:`Configuration Management`}),` system.`]}),`\n`,_jsx(Heading,{level:`2`,id:`gateway`,children:`Gateway`}),`\n`,_jsxs(_components.p,{children:[`The main way of using `,_jsx(_components.strong,{children:`Orq.ai`}),` as an AI Gateway would be its simple integration to existing systems. `,_jsx(_components.strong,{children:`Orq.ai`}),`’s deployment urls will be used to send requests to the LLM backends.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/orqai/dw2ZHifUWLDAlqTf/images/docs/9f18c2a-Screenshot_2024-07-31_at_14.15.59.png?fit=max\u0026auto=format\u0026n=dw2ZHifUWLDAlqTf\u0026q=85\u0026s=62cf474f3994537defbe1e6709e6a583`,alt:`Architecture diagram showing a User connecting to Your App via an AI Gateway through Orq.ai, which fans out to multiple AI providers including OpenAI, Azure, Cohere, Anthropic, and Groq.`,\"data-og-width\":`2266`,width:`2266`,\"data-og-height\":`1764`,height:`1764`,\"data-path\":`images/docs/9f18c2a-Screenshot_2024-07-31_at_14.15.59.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/orqai/dw2ZHifUWLDAlqTf/images/docs/9f18c2a-Screenshot_2024-07-31_at_14.15.59.png?w=280\u0026fit=max\u0026auto=format\u0026n=dw2ZHifUWLDAlqTf\u0026q=85\u0026s=81088161bcbb26eda2243c0906362e9a 280w, https://mintcdn.com/orqai/dw2ZHifUWLDAlqTf/images/docs/9f18c2a-Screenshot_2024-07-31_at_14.15.59.png?w=560\u0026fit=max\u0026auto=format\u0026n=dw2ZHifUWLDAlqTf\u0026q=85\u0026s=cc0b254dad922029d5435c91be24e507 560w, https://mintcdn.com/orqai/dw2ZHifUWLDAlqTf/images/docs/9f18c2a-Screenshot_2024-07-31_at_14.15.59.png?w=840\u0026fit=max\u0026auto=format\u0026n=dw2ZHifUWLDAlqTf\u0026q=85\u0026s=82e6c3a2e08eed70f04c465bed2ae69a 840w, https://mintcdn.com/orqai/dw2ZHifUWLDAlqTf/images/docs/9f18c2a-Screenshot_2024-07-31_at_14.15.59.png?w=1100\u0026fit=max\u0026auto=format\u0026n=dw2ZHifUWLDAlqTf\u0026q=85\u0026s=ce77cc5da49a7d7fd493f0665681165f 1100w, https://mintcdn.com/orqai/dw2ZHifUWLDAlqTf/images/docs/9f18c2a-Screenshot_2024-07-31_at_14.15.59.png?w=1650\u0026fit=max\u0026auto=format\u0026n=dw2ZHifUWLDAlqTf\u0026q=85\u0026s=00705664bf5c34715d2f12f13101f6fd 1650w, https://mintcdn.com/orqai/dw2ZHifUWLDAlqTf/images/docs/9f18c2a-Screenshot_2024-07-31_at_14.15.59.png?w=2500\u0026fit=max\u0026auto=format\u0026n=dw2ZHifUWLDAlqTf\u0026q=85\u0026s=78036dbc67e96f601731d463d8229554 2500w`}),`\n`,_jsxs(_components.p,{children:[`There are multiple advantages to using `,_jsx(_components.strong,{children:`Orq.ai`}),` this way:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`It makes `,_jsx(_components.strong,{children:`managing multiple LLM providers simple`}),`, as `,_jsx(_components.strong,{children:`Orq.ai`}),` becomes the interface to reach all LLM backends available. This makes your integration with multiple LLM transparent.`]}),`\n`,_jsxs(_components.li,{children:[`You benefit from the native `,_jsx(_components.strong,{children:`retry mechanism and error management`}),` we offer. If a call fails to one LLM provider, it is retried seamlessly. Moreover, prolonged failure can result in fallbacks to different providers. To learn more see `,_jsx(_components.a,{href:`/ai-gateway/features/retries`,children:`Retries and Fallbacks`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Logs \u0026 Monitoring is native to `,_jsx(_components.strong,{children:`Orq.ai`}),`, all calls will be logged and searchable in the panel, this way you keep track of all your application’s activity with LLM and can detect potential issues quickly.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`One thing to keep in mind:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`This puts Orq.ai on the critical path of your applications and systems, making its availability and potential fallback path something to consider when designing a fault-tolerant system.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`configuration-management`,children:`Configuration Management`}),`\n`,_jsxs(_components.p,{children:[`You can decide to use `,_jsx(_components.strong,{children:`Orq.ai`}),` only as configuration management for your various LLM backend.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/orqai/H9mjdYaABF092Mk-/images/docs/06b9bcf-Screenshot_2024-07-31_at_14.17.14.png?fit=max\u0026auto=format\u0026n=H9mjdYaABF092Mk-\u0026q=85\u0026s=35c5699f510c609d243b5b248814605f`,alt:`Architecture diagram showing Orq.ai providing Prompt \u0026 Model Configuration and Observability \u0026 Feedback to Your App, which calls AI providers directly for generation.`,\"data-og-width\":`2256`,width:`2256`,\"data-og-height\":`1628`,height:`1628`,\"data-path\":`images/docs/06b9bcf-Screenshot_2024-07-31_at_14.17.14.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/orqai/H9mjdYaABF092Mk-/images/docs/06b9bcf-Screenshot_2024-07-31_at_14.17.14.png?w=280\u0026fit=max\u0026auto=format\u0026n=H9mjdYaABF092Mk-\u0026q=85\u0026s=4ec4de0d2a84dd355729978b77e51a33 280w, https://mintcdn.com/orqai/H9mjdYaABF092Mk-/images/docs/06b9bcf-Screenshot_2024-07-31_at_14.17.14.png?w=560\u0026fit=max\u0026auto=format\u0026n=H9mjdYaABF092Mk-\u0026q=85\u0026s=0f828cc0bd34c1f4fb27b15c73b3270d 560w, https://mintcdn.com/orqai/H9mjdYaABF092Mk-/images/docs/06b9bcf-Screenshot_2024-07-31_at_14.17.14.png?w=840\u0026fit=max\u0026auto=format\u0026n=H9mjdYaABF092Mk-\u0026q=85\u0026s=322f4e735f53b185fc08dd3dbccb8fb3 840w, https://mintcdn.com/orqai/H9mjdYaABF092Mk-/images/docs/06b9bcf-Screenshot_2024-07-31_at_14.17.14.png?w=1100\u0026fit=max\u0026auto=format\u0026n=H9mjdYaABF092Mk-\u0026q=85\u0026s=355668d746b584f893c0990e5dd354ce 1100w, https://mintcdn.com/orqai/H9mjdYaABF092Mk-/images/docs/06b9bcf-Screenshot_2024-07-31_at_14.17.14.png?w=1650\u0026fit=max\u0026auto=format\u0026n=H9mjdYaABF092Mk-\u0026q=85\u0026s=253b9c5b1057198bf2ae43caaccaa898 1650w, https://mintcdn.com/orqai/H9mjdYaABF092Mk-/images/docs/06b9bcf-Screenshot_2024-07-31_at_14.17.14.png?w=2500\u0026fit=max\u0026auto=format\u0026n=H9mjdYaABF092Mk-\u0026q=85\u0026s=58e9254ba4affeefcc3fc3fc568a12c4 2500w`}),`\n`,_jsx(_components.p,{children:`This has some advantages over using AI Gateway:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`You manage `,_jsx(_components.strong,{children:`the calls to LLM Models end-to-end`}),`, this lets you keep control over the integration and manage its lifecycle, ensuring data stays within your infrastructure before reaching LLM backends.`]}),`\n`,_jsxs(_components.li,{children:[`You still benefit from the configuration management on `,_jsx(_components.strong,{children:`Orq.ai`}),` side and can fetch at runtime the latest configuration from your Deployment.`]}),`\n`,_jsxs(_components.li,{children:[`You still benefit from `,_jsx(_components.a,{href:`/ai-studio/ai-engineering/deployments#routing`,children:`Deployment Routing`}),`, ensuring your users reach the model you desire.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"AI gateway vs config management","sidebarTitle":"AI Gateway vs Configuration Management","description":"Compare AI Gateway and Configuration Management integration patterns. Choose the right Orq.ai architecture for your LLM application deployment strategy.","href":"/ai-studio/cookbooks/common-architecture/gateway-vs-config","hidden":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Gateway","slug":"gateway","depth":2,"children":[]},{"title":"Configuration Management","slug":"configuration-management","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/orqai/19ee3574279bbaa0/gtm.js","/_mintlify/custom/orqai/1f1a49b99957b631/commonroom-signals.js"],"subdomain":"orqai","siteName":"Orq.ai Documentation","title":"AI gateway vs config management - Orq.ai Documentation","contextualStarterQuestions":[{"_id":"6aec43fda5a73d0ef11cb8d5","deploymentId":"68c9bcd7a1b07562da8b036b","questionText":"Which approach should I choose?","status":"active","generatedBy":"contextual","path":"ai-studio/cookbooks/common-architecture/gateway-vs-config","createdAt":"2026-11-05T08:53:17.904Z","updatedAt":"2026-11-05T08:53:17.904Z","__v":0},{"_id":"6aec43fda5a73d0ef11cb8d3","deploymentId":"68c9bcd7a1b07562da8b036b","questionText":"What is an AI Gateway?","status":"active","generatedBy":"contextual","path":"ai-studio/cookbooks/common-architecture/gateway-vs-config","createdAt":"2026-11-05T08:53:17.904Z","updatedAt":"2026-11-05T08:53:17.904Z","__v":0},{"_id":"6aec43fda5a73d0ef11cb8d4","deploymentId":"68c9bcd7a1b07562da8b036b","questionText":"How does config management work?","status":"active","generatedBy":"contextual","path":"ai-studio/cookbooks/common-architecture/gateway-vs-config","createdAt":"2026-11-05T08:53:17.904Z","updatedAt":"2026-11-05T08:53:17.904Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T08:53:11.775Z","originalFileLocation":"ai-studio/cookbooks/common-architecture/gateway-vs-config.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Compare AI Gateway and Configuration Management integration patterns. Choose the right Orq.ai architecture for your LLM application deployment strategy.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Orq.ai Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/orqai/5zquLIiRlftT1q7X/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/orqai/5zquLIiRlftT1q7X/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/orqai/5zquLIiRlftT1q7X/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/orqai/5zquLIiRlftT1q7X/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/orqai/5zquLIiRlftT1q7X/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/orqai/5zquLIiRlftT1q7X/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/orqai/5zquLIiRlftT1q7X/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/orqai/5zquLIiRlftT1q7X/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/orqai/5zquLIiRlftT1q7X/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"AI gateway vs config management - Orq.ai Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Compare AI Gateway and Configuration Management integration patterns. Choose the right Orq.ai architecture for your LLM application deployment strategy.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Orq.ai Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/gateway-vs-config\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://orqai.mintlify.app/_mintlify/api/og/v2?division=Common+Architectures\u0026amp;title=AI+gateway+vs+config+management\u0026amp;description=Compare+AI+Gateway+and+Configuration+Management+integration+patterns.+Choose+the+right+Orq.ai+architecture+for+your+LLM+application+deployment+strategy.\u0026amp;theme=0116d0baa6ba6403f431e631\u0026amp;signature=16ee7aa405301997ea401f814b5273057bcb8e9881ac8bff995399935a0a048e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"AI gateway vs config management - Orq.ai Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Compare AI Gateway and Configuration Management integration patterns. Choose the right Orq.ai architecture for your LLM application deployment strategy.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://orqai.mintlify.app/_mintlify/api/og/v2?division=Common+Architectures\u0026amp;title=AI+gateway+vs+config+management\u0026amp;description=Compare+AI+Gateway+and+Configuration+Management+integration+patterns.+Choose+the+right+Orq.ai+architecture+for+your+LLM+application+deployment+strategy.\u0026amp;theme=0116d0baa6ba6403f431e631\u0026amp;signature=16ee7aa405301997ea401f814b5273057bcb8e9881ac8bff995399935a0a048e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/orqai/5zquLIiRlftT1q7X/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Orq.ai Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#027f6b\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"Orq.ai\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@orq_ai\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"language\" content=\"English\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/gateway-vs-config\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ai-studio/cookbooks/common-architecture/gateway-vs-config.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.orq.ai/#organization\",\"name\":\"Orq.ai\",\"legalName\":\"Orq.AI Holding B.V.\",\"url\":\"https://orq.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.orq.ai/images/Orq_ai_Symbol_Dark.svg\"},\"sameAs\":[\"https://github.com/orq-ai\",\"https://x.com/orq_ai\",\"https://www.linkedin.com/company/orqai/\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.orq.ai#website\",\"name\":\"Orq.ai Documentation\",\"url\":\"https://docs.orq.ai\",\"publisher\":{\"@id\":\"https://docs.orq.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/gateway-vs-config#webpage\",\"url\":\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/gateway-vs-config\",\"name\":\"AI gateway vs config management\",\"description\":\"Compare AI Gateway and Configuration Management integration patterns. Choose the right Orq.ai architecture for your LLM application deployment strategy.\",\"dateModified\":\"2026-11-05T08:53:11.775Z\",\"isPartOf\":{\"@id\":\"https://docs.orq.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/gateway-vs-config#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/gateway-vs-config#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Common Architectures\",\"item\":\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/simple-deployment\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI gateway vs config management\",\"item\":\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/gateway-vs-config\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/gateway-vs-config#article\",\"headline\":\"AI gateway vs config management\",\"name\":\"AI gateway vs config management\",\"description\":\"Compare AI Gateway and Configuration Management integration patterns. Choose the right Orq.ai architecture for your LLM application deployment strategy.\",\"url\":\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/gateway-vs-config\",\"mainEntityOfPage\":{\"@id\":\"https://docs.orq.ai/ai-studio/cookbooks/common-architecture/gateway-vs-config#webpage\"},\"dateModified\":\"2026-11-05T08:53:11.775Z\",\"publisher\":{\"@id\":\"https://docs.orq.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.orq.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Orq.ai Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Orq.ai Documentation","nav":{"global":null,"tabs":[{"tab":"AI Gateway","pages":[{"title":"AI Gateway","href":"/ai-gateway/get-started/introduction"}]},{"tab":"AI Observability","pages":[{"title":"AI Observability","href":"/ai-studio/observability/quickstart"}]},{"tab":"Managed agents","pages":[{"title":"Managed agents","href":"/ai-studio/ai-engineering/quickstart"}]},{"tab":"Administration","pages":[{"title":"Administration","href":"/ai-studio/organization/workspace-settings"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/ai-studio/integrations/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/reference/client-libraries"}]},{"tab":"Cookbooks","hidden":true,"groups":[{"group":"Overview","pages":[{"title":"Cookbooks and tutorials","sidebarTitle":"Cookbooks","description":"Step-by-step tutorials for building AI applications with Orq.ai. Covers RAG chatbots, text-to-SQL, PDF extraction, and multi-agent systems.","mode":"wide","href":"/ai-studio/cookbooks/cookbooks"}]},{"group":"Common Architectures","pages":[{"title":"Simple deployment pattern","sidebarTitle":"Simple Deployment","description":"Implement simple deployment architecture for LLM applications. Quick-start pattern for straightforward AI integration with minimal configuration overhead.","href":"/ai-studio/cookbooks/common-architecture/simple-deployment"},{"title":"Customer support chatbot pattern","sidebarTitle":"Chatbot","description":"Build customer support chatbots with Orq.ai. Create conversational AI with memory, context awareness, and intelligent escalation to human agents.","href":"/ai-studio/cookbooks/common-architecture/chatbot"},{"title":"Simple RAG pattern","sidebarTitle":"Simple RAG","description":"Build a simple RAG system with Orq.ai. Combine knowledge bases with LLMs for accurate, document-grounded responses. Step-by-step implementation guide.","href":"/ai-studio/cookbooks/common-architecture/simple-rag"},{"title":"Advanced RAG with multi-source retrieval","sidebarTitle":"Advanced RAG","description":"Build enterprise RAG systems with multi-source retrieval, agentic query enhancement, and quality validation using Ragas evaluation.","href":"/ai-studio/cookbooks/common-architecture/advanced-rag"},{"title":"AI agent lead qualification pattern","sidebarTitle":"AI Agent","description":"Build multi-agent systems with Orq.ai. Create specialized Agents for lead qualification, CRM integration, and automated workflows through the Responses API.","href":"/ai-studio/cookbooks/common-architecture/ai-agent"},{"title":"Agents Framework \u0026 API Guide","description":"Step-by-step guide to building agents with the Orq.ai Agents Framework and API. Covers tools, memory, knowledge bases, and multi-agent patterns.","href":"/ai-studio/cookbooks/common-architecture/agents-framework-guide"},{"title":"Advisor and Sidekick: second model delegation","sidebarTitle":"Advisor and Sidekick","description":"Run an Agent on a cheap model and pay for a stronger one only at the step that needs it, then read the cost split in the trace.","href":"/ai-studio/cookbooks/common-architecture/advisor-and-sidekick"},{"title":"AI gateway vs config management","sidebarTitle":"AI Gateway vs Configuration Management","href":"/ai-studio/cookbooks/common-architecture/gateway-vs-config"}]},{"group":"Chatbots \u0026 AI Apps","pages":[{"title":"Maintain chat history with a model","sidebarTitle":"Chat History","description":"Maintain conversation history with Orq.ai deployments. Build stateful chatbots that remember context across messages with Python and TypeScript examples.","href":"/ai-studio/cookbooks/chatbots/maintaining-history-with-a-model"},{"title":"Build a multilingual FAQ bot with RAG","sidebarTitle":"Multilingual FAQ Bot","description":"Build a multilingual FAQ chatbot with RAG. Use Orq.ai's Routing Engine to serve multiple languages dynamically without hardcoded logic.","href":"/ai-studio/cookbooks/chatbots/multilingual-faq-bot"},{"title":"Build an intent classification chatbot","sidebarTitle":"Intent Classification","description":"Build and evaluate an intent classification system with Orq.ai. Categorize user queries for chatbots, customer support, and task automation with Python.","href":"/ai-studio/cookbooks/chatbots/intent-classification"},{"title":"Build AI chatbots with Lovable and Orq.ai","sidebarTitle":"Lovable Integration","description":"Build AI chatbots with Lovable and Orq.ai by adding an AGENTS.md snippet, keeping the API key in a Supabase edge function, and grounding answers in a knowledge base.","href":"/ai-studio/cookbooks/chatbots/lovable-integration"},{"title":"Build a multi-agent HR system","sidebarTitle":"Multi-Agent HR System","description":"Build a multi-agent HR system with Python. Create specialized agents for benefits, PTO, and policy questions using memory and knowledge.","href":"/ai-studio/cookbooks/chatbots/agents-API"},{"title":"Compare insurance claims agents built with MCP","sidebarTitle":"Insurance Claims Handling: Multi Agent vs Single Agent Comparison (build via MCP)","description":"Build single-agent and multi-agent insurance claims systems via Orq.ai MCP, then compare them with evaluators and a 15-case dataset.","href":"/ai-studio/cookbooks/chatbots/insurance-claims-mcp-cookbook"},{"title":"Build a customer support chatbot in Node.js","sidebarTitle":"Customer Support Chat","description":"Build a production-ready Node.js customer support chatbot via AI Gateway with streaming, fallbacks, caching, and RAG knowledge base integration.","href":"/ai-studio/cookbooks/chatbots/buildingcustomersupportchatwithaigateway"},{"title":"Transcription and text-to-speech","sidebarTitle":"Speech-to-Text and Text-to-Speech","description":"Compose transcription and text-to-speech around a model call to build a voice-in, voice-out loop.","href":"/ai-studio/cookbooks/chatbots/voice-loop-transcription-and-speech"}]},{"group":"Data \u0026 Extraction","pages":[{"title":"Extract data from PDFs with LLMs","sidebarTitle":"PDF Extraction","description":"Extract structured data from PDF invoices with AI. Transform unstructured documents into actionable JSON using Orq.ai's vision models and deployment features.","href":"/ai-studio/cookbooks/data-extraction/pdf-extraction"},{"title":"Extract data from receipts with OCR","sidebarTitle":"Receipt Extraction","description":"Extract data from receipt images with AI. Process JPG and PNG files to structured JSON with vendor names, amounts, and dates using Orq.ai vision models.","href":"/ai-studio/cookbooks/data-extraction/receipt-extraction"},{"title":"Convert natural language to SQL queries","sidebarTitle":"Text-to-SQL","description":"Transform natural language into SQL queries with AI. Build a text-to-SQL application that lets non-technical users query databases using plain English.","href":"/ai-studio/cookbooks/data-extraction/text-to-sql"}]},{"group":"Evaluation \u0026 Safety","pages":[{"title":"Running evaluations in parallel with Evaluatorq","description":"Run AI experiments from code using Evaluatorq to detect hallucination and measure faithfulness. Compare deployments and agents side-by-side with custom evaluators across any framework.","href":"/ai-studio/cookbooks/evaluation-safety/evaluator-q"},{"title":"Test an Agent with Agent Simulation","sidebarTitle":"Agent Simulation","description":"Put an Agent in front of a simulated user, fix the instructions, replay the same conversations, then generate edge cases the fix was never aimed at.","href":"/ai-studio/cookbooks/evaluation-safety/agent-simulations"},{"title":"Automate evals and observability in Claude Code","description":"Build, run, and analyze evaluations with Claude Code and Orq.ai MCP. Query observability data and automate eval workflows from your terminal.","href":"/ai-studio/cookbooks/evaluation-safety/automate-evals-and-observability-with-claude-code"},{"title":"Align an Evaluator with Human Judgement","sidebarTitle":"Align Evaluators","description":"Find where an LLM-as-a-judge Evaluator disagrees with human reviewers, and rewrite its prompt so its verdicts match.","href":"/ai-studio/cookbooks/evaluation-safety/align-evaluators"},{"title":"Benchmark models head-to-head with Model Arena","sidebarTitle":"Model Arena","description":"Run a real head-to-head model benchmark on real prompts with orq-arena, and read a statistically defensible ranking instead of trusting a public leaderboard.","href":"/ai-studio/cookbooks/evaluation-safety/model-arena"},{"title":"Improve an Agent with Red Teaming","sidebarTitle":"Red Teaming","description":"Attack an Agent with generated attacks, read the finding, fix the instructions, then replay the same attacks to check the leak is closed.","href":"/ai-studio/cookbooks/evaluation-safety/improve-agent-with-red-teaming"}]},{"group":"Integrations \u0026 Tooling","pages":[{"title":"Prompt management tutorial","sidebarTitle":"Prompt Manager","description":"Use Orq.ai as a prompt manager for your LLM calls. Fetch deployment configurations at runtime while keeping control over your infrastructure.","href":"/ai-studio/cookbooks/integrations-tooling/prompt-manager"},{"title":"Capture user feedback on LLM responses","sidebarTitle":"Capturing Feedback","description":"Implement structured user feedback to improve an LLM chatbot. Capture ratings, log defects, and create a continuous learning loop for better AI responses.","href":"/ai-studio/cookbooks/integrations-tooling/capturing-feedback-with-orq"},{"title":"Integrate LangGraph with Orq.ai","sidebarTitle":"LangGraph + Orq.ai","description":"Add Orq.ai to an existing LangGraph agent: route models through the AI Gateway, ground responses with a Knowledge Base, and capture Traces.","href":"/ai-studio/cookbooks/integrations-tooling/integrate-langgraph-with-orq"},{"title":"Chain deployments for multi-step workflows","sidebarTitle":"Chaining Deployments","description":"Chain multiple LLM deployments for complex workflows with evaluators and step-by-step guidance.","href":"/ai-studio/cookbooks/integrations-tooling/chaining-deployments"},{"title":"Use Pinecone and custom vector databases","sidebarTitle":"Third-Party Vector DBs","description":"Connect Pinecone or other vector databases to Orq.ai for custom RAG. Use external embeddings and retrieval while leveraging Orq.ai's Deployment features.","href":"/ai-studio/cookbooks/integrations-tooling/using-thirdparty-vectordbs-with-orq"}]},{"group":"Learn","pages":[{"title":"LLM and AI terminology glossary","sidebarTitle":"LLM Glossary","description":"Complete glossary of LLM, LLMOps, and prompt engineering terms covering 200+ AI concepts.","href":"/ai-studio/cookbooks/learn/llm-glossary"},{"title":"Prompt engineering guide","sidebarTitle":"Prompt Engineering Guide","description":"Master prompt engineering with best practices for LLM optimization and consistent outputs.","href":"/ai-studio/prompts/prompt-engineering-guide"},{"title":"Prompt templating with Jinja and Mustache","sidebarTitle":"Prompt Templating","description":"Reference for Jinja and Mustache template engines in Orq.ai deployments. Covers variables, conditionals, loops, and filters.","href":"/ai-studio/prompts/prompt-templating"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/release-4-17"}]}]},"basePath":"","title":"AI gateway vs config management - Orq.ai Documentation","buildId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","deploymentId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-CAita2ok.js","lightbox-handle-r17bVUz3.js"]}