[{"data":1,"prerenderedAt":383},["ShallowReactive",2],{"navigation_docs":3,"-features-models-and-routing":98,"-features-models-and-routing-surround":378},[4,26,77],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Overview","\u002Fgetting-started\u002Foverview","1.getting-started\u002F1.overview","i-lucide-info",{"title":16,"path":17,"stem":18,"icon":19},"Platform Navigation","\u002Fgetting-started\u002Fplatform-navigation","1.getting-started\u002F2.platform-navigation","i-lucide-compass",{"title":21,"path":22,"stem":23,"icon":24},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F3.quickstart","i-lucide-play-circle",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Features","i-lucide-star","\u002Ffeatures","2.features",[32,37,42,47,52,57,62,67,72],{"title":33,"path":34,"stem":35,"icon":36},"Feature Overview","\u002Ffeatures\u002Foverview","2.features\u002F1.overview","i-lucide-list",{"title":38,"path":39,"stem":40,"icon":41},"Company Setup","\u002Ffeatures\u002Fcompany-setup","2.features\u002F2.company-setup","i-lucide-building-2",{"title":43,"path":44,"stem":45,"icon":46},"Applications","\u002Ffeatures\u002Fapplications","2.features\u002F3.applications","i-lucide-box",{"title":48,"path":49,"stem":50,"icon":51},"Observability","\u002Ffeatures\u002Fobservability","2.features\u002F4.observability","i-lucide-activity",{"title":53,"path":54,"stem":55,"icon":56},"Guardrails","\u002Ffeatures\u002Fguardrails","2.features\u002F5.guardrails","i-lucide-shield-alert",{"title":58,"path":59,"stem":60,"icon":61},"Data Integrations","\u002Ffeatures\u002Fdata-integrations","2.features\u002F6.data-integrations","i-lucide-database",{"title":63,"path":64,"stem":65,"icon":66},"Models and Routing","\u002Ffeatures\u002Fmodels-and-routing","2.features\u002F7.models-and-routing","i-lucide-git-branch",{"title":68,"path":69,"stem":70,"icon":71},"Governance","\u002Ffeatures\u002Fgovernance","2.features\u002F8.governance","i-lucide-shield-check",{"title":73,"path":74,"stem":75,"icon":76},"Tools","\u002Ffeatures\u002Ftools","2.features\u002F9.tools","i-lucide-globe",{"title":78,"icon":79,"path":80,"stem":81,"children":82,"page":25},"Integrations","i-lucide-plug","\u002Fintegrations","3.integrations",[83,88,93],{"title":84,"path":85,"stem":86,"icon":87},"Using the API","\u002Fintegrations\u002Fapi-usage","3.integrations\u002F3.api-usage","i-lucide-terminal-square",{"title":89,"path":90,"stem":91,"icon":92},"API Keys","\u002Fintegrations\u002Fapi-keys","3.integrations\u002Fapi-keys","i-lucide-key-round",{"title":94,"path":95,"stem":96,"icon":97},"Providers","\u002Fintegrations\u002Fproviders","3.integrations\u002Fproviders","i-lucide-cpu",{"id":99,"title":63,"body":100,"description":371,"extension":372,"links":373,"meta":374,"navigation":375,"path":64,"seo":376,"stem":65,"__hash__":377},"docs\u002F2.features\u002F7.models-and-routing.md",{"type":101,"value":102,"toc":364},"minimark",[103,107,110,127,130,135,142,145,148,151,177,180,183,187,193,196,208,212,215,265,271,275,278,308,311,314,328,334,338,341,344,357,360],[104,105,106],"p",{},"Models and Routing control how application requests choose an upstream model.",[104,108,109],{},"Optiak separates this into two layers:",[111,112,113,121],"ul",{},[114,115,116,120],"li",{},[117,118,119],"strong",{},"Organization model catalog"," - Admins enable the models the organization allows.",[114,122,123,126],{},[117,124,125],{},"Application model selection"," - Admins choose which organization-enabled models a specific application may use.",[104,128,129],{},"An application API key can only use models enabled at both layers.",[131,132,134],"h2",{"id":133},"model-catalog","Model Catalog",[104,136,137,138,141],{},"Admins manage the shared catalog in ",[117,139,140],{},"Company Setup -> Models",".",[104,143,144],{},"The catalog is filtered by organization availability. Builtin models appear when the organization has a valid key for their provider. Enabled models from configured custom providers can also appear without an Optiak provider key.",[104,146,147],{},"Only models returned by the organization catalog are shown. The catalog does not expose builtin models that the organization cannot use or custom models that are not enabled.",[104,149,150],{},"Each catalog row shows user-facing model metadata such as:",[111,152,153,156,159,162,165,168,171,174],{},[114,154,155],{},"Provider",[114,157,158],{},"Model name and description",[114,160,161],{},"Context window",[114,163,164],{},"Data residency",[114,166,167],{},"Input and output cost per million tokens",[114,169,170],{},"No-training support",[114,172,173],{},"Smart Router eligibility",[114,175,176],{},"Endpoint and capability labels, such as Chat Completion, Responses API, Streaming, Structured Output, Tool Calling, or Reasoning",[104,178,179],{},"Custom models may not provide context-window or pricing metadata; those values are shown as unavailable when the provider does not supply them.",[104,181,182],{},"The catalog can be searched, filtered, and sorted so admins can choose models that match cost, residency, and capability requirements.",[131,184,186],{"id":185},"application-model-selection","Application Model Selection",[104,188,189,190,141],{},"Applications select from the organization-enabled catalog in ",[117,191,192],{},"Modules -> Models",[104,194,195],{},"Use application model selection to keep different applications on different model sets. For example, a production customer-facing app can use a narrower set than an internal testing app.",[104,197,198,199,203,204,207],{},"The public ",[200,201,202],"code",{},"GET \u002Fmodels"," endpoint returns the final model list available to the application API key. Use the ",[200,205,206],{},"id"," values from that response in Gateway API requests.",[131,209,211],{"id":210},"direct-model-selection","Direct Model Selection",[104,213,214],{},"Direct model selection is the simplest mode. The request names a public model ID:",[216,217,222],"pre",{"className":218,"code":219,"language":220,"meta":221,"style":221},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"model\": \"openai\u002Fgpt-5-nano\"\n}\n","json","",[200,223,224,233,259],{"__ignoreMap":221},[225,226,229],"span",{"class":227,"line":228},"line",1,[225,230,232],{"class":231},"sMK4o","{\n",[225,234,236,239,243,246,249,252,256],{"class":227,"line":235},2,[225,237,238],{"class":231},"  \"",[225,240,242],{"class":241},"spNyl","model",[225,244,245],{"class":231},"\"",[225,247,248],{"class":231},":",[225,250,251],{"class":231}," \"",[225,253,255],{"class":254},"sfazB","openai\u002Fgpt-5-nano",[225,257,258],{"class":231},"\"\n",[225,260,262],{"class":227,"line":261},3,[225,263,264],{"class":231},"}\n",[104,266,267,268,270],{},"The model must be returned by ",[200,269,202],{}," for the same application API key.",[131,272,274],{"id":273},"smart-router","Smart Router",[104,276,277],{},"Smart Router lets a request use:",[216,279,281],{"className":218,"code":280,"language":220,"meta":221,"style":221},"{\n  \"model\": \"smart\"\n}\n",[200,282,283,287,304],{"__ignoreMap":221},[225,284,285],{"class":227,"line":228},[225,286,232],{"class":231},[225,288,289,291,293,295,297,299,302],{"class":227,"line":235},[225,290,238],{"class":231},[225,292,242],{"class":241},[225,294,245],{"class":231},[225,296,248],{"class":231},[225,298,251],{"class":231},[225,300,301],{"class":254},"smart",[225,303,258],{"class":231},[225,305,306],{"class":227,"line":261},[225,307,264],{"class":231},[104,309,310],{},"When Smart Router is enabled, Optiak chooses from the application's enabled models that are also marked as smart-routing eligible.",[104,312,313],{},"Available strategies:",[111,315,316,322],{},[114,317,318,321],{},[117,319,320],{},"Balanced"," - Balance cost and quality.",[114,323,324,327],{},[117,325,326],{},"Cost"," - Prefer lower cost per token.",[104,329,330,331,333],{},"If Smart Router is enabled but no eligible models are enabled for the application, the UI shows a warning and ",[200,332,301],{}," requests cannot be routed. Enable at least one smart-routing-eligible model or use a direct public model ID instead.",[131,335,337],{"id":336},"governance-effects","Governance Effects",[104,339,340],{},"Governance settings can affect which models are appropriate for the organization.",[104,342,343],{},"For example:",[111,345,346,351],{},[114,347,348,350],{},[117,349,164],{}," can restrict processing to the EU when eligible models support it.",[114,352,353,356],{},[117,354,355],{},"Block providers for training on your data"," helps admins prefer models that do not use customer data for training.",[104,358,359],{},"Application model settings can narrow access further, but they cannot override organization governance or enable models that are disabled at the organization level.",[361,362,363],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":221,"searchDepth":235,"depth":235,"links":365},[366,367,368,369,370],{"id":133,"depth":235,"text":134},{"id":185,"depth":235,"text":186},{"id":210,"depth":235,"text":211},{"id":273,"depth":235,"text":274},{"id":336,"depth":235,"text":337},"Control which models applications can use and how requests are routed.","md",null,{},{"icon":66},{"title":63,"description":371},"jCRQ8gwHnyg3qP95vDr_C4ok7ur3FrbolFEklSll4qM",[379,381],{"title":58,"path":59,"stem":60,"description":380,"icon":61,"children":-1},"Use organization data sources for vector search.",{"title":68,"path":69,"stem":70,"description":382,"icon":71,"children":-1},"Organization-wide policies for data residency and model training.",1789640937839]