Use Baseten Model APIs or dedicated deployments in Bolna
Use Baseten Model APIs or your own Truss deployment on dedicated GPUs as the LLM for a Bolna voice agent. Endpoints, model slugs, Fast variants and API keys.
Baseten is a production inference platform with two ways in, and they need different values in Bolna:
Model APIs: a supported set of popular open models that Baseten runs for you, called by model slug at one shared URL. Nothing to deploy.
Dedicated deployments: you deploy any model, including fine-tunes, to GPUs reserved for you with a short config.yaml and the Truss CLI. Each deployment gets its own URL.
Choose Model APIs to get running in minutes. Choose a dedicated deployment when you need a model Model APIs doesn’t offer, your own weights, or capacity nobody else shares.
Get a Baseten API key
Create a key on the API keys page of your Baseten workspace settings. Bolna sends it as Authorization: Bearer <key>, which is how Baseten’s OpenAI-compatible endpoints authenticate.
Option A: Model APIs
1
Pick a model slug
Open Baseten’s Model APIs list and copy the slug, for example zai-org/GLM-5.3. Some models also have a Fast variant: the same weights with dedicated capacity for higher sustained throughput, under a separate slug with its own pricing and rate limits.
2
Choose Baseten in Bolna
Open Settings → Integrations → LLM → Custom LLM → Add model, or choose + Add custom LLM from the LLM Provider dropdown on an agent. Select Baseten.
Baseten selected: Model APIs endpoint as placeholder, hint for dedicated deployments
Baseten’s context and output limits for a Model API can be lower than the model’s advertised maximum. Check the limits in the Model APIs table before writing a very long system prompt.
Option B: A dedicated deployment
1
Install Truss and sign in
pip install --upgrade trusstruss login --browser
2
Write a config.yaml
Follow Baseten’s Deploy your first model guide. The config names the Hugging Face checkpoint (checkpoint_repository), the GPU and the inference engine. With the TensorRT-LLM engine, no Python code is needed.
3
Deploy
truss push
Truss prints a model ID and a deployment ID. Wait until the deployment shows Active in the Baseten dashboard.
4
Register the deployment in Bolna
Choose Baseten in the Add custom model dialog and replace the placeholder with your deployment’s OpenAI-compatible URL:
Use the model name from the deployment’s example request in the Baseten dashboard, and your Baseten API key.
Because the URL points at the production environment, you can promote a new deployment to production in Baseten and your Bolna agents switch to it without a change.
Finish on the agent
On the agent’s Intelligence tab choose custom, pick the Baseten model, save and place a test call.
Troubleshooting
401 Invalid or missing API key
Paste a key from Settings → API keys in the same Baseten workspace that owns the model or deployment.
Model not found on Model APIs
Use the slug exactly as listed, including the organisation prefix. A Fast variant has its own slug.
Slow first reply on a dedicated deployment
The deployment scaled down and is cold-starting. Set a minimum replica count of at least 1 in the deployment’s autoscaling settings for live agents.
Fireworks AI: serverless models plus on-demand GPUs
Was this page helpful?
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Bolna Docs","description":"Quickly build and deploy conversational Voice AI agents","colors":{"primary":"#0073FF","light":"#64AAFF","dark":"#111111"},"logo":{"light":"https://mintcdn.com/bolna-54a2d4fe/VALWWMf7cQUV4GqY/logo/bolna-full-black.svg?fit=max\u0026auto=format\u0026n=VALWWMf7cQUV4GqY\u0026q=85\u0026s=9ad059134ba7338f4da43293d005f1e5","dark":"https://mintcdn.com/bolna-54a2d4fe/VALWWMf7cQUV4GqY/logo/bolna-full-white.svg?fit=max\u0026auto=format\u0026n=VALWWMf7cQUV4GqY\u0026q=85\u0026s=11287fcf7fd00922b6ea065d4247fe83","href":"https://www.bolna.ai/docs"},"favicon":{"light":"https://mintcdn.com/bolna-54a2d4fe/8f2PS3DzbOQMg6a5/favicon-bolna.svg?fit=max\u0026auto=format\u0026n=8f2PS3DzbOQMg6a5\u0026q=85\u0026s=65bdfd76b54fe55c7ea7edae0efb50e9","dark":"https://mintcdn.com/bolna-54a2d4fe/I_65jyMVzaUKonyY/favicon-bolna-white.svg?fit=max\u0026auto=format\u0026n=I_65jyMVzaUKonyY\u0026q=85\u0026s=afa80c7dbb9e76d1a9272c2f716b6aa6"},"api":{"openapi":"api-reference/openapi.yml"},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#111111"}},"navbar":{"links":[{"icon":"globe","href":"https://status.bolna.ai","label":"Status"},{"icon":"slack","href":"https://www.bolna.ai/join-slack","label":"Ask us on Slack"},{"icon":"gauge","href":"https://platform.bolna.ai/sign-up","label":"Platform"}]},"footer":{"socials":{"website":"https://platform.bolna.ai","github":"https://github.com/bolna-ai/bolna","slack":"https://www.bolna.ai/join-slack","linkedin":"https://www.linkedin.com/company/bolna-ai","youtube":"https://www.youtube.com/@BolnaVoiceAI","instagram":"https://www.instagram.com/bolna_dev"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Bolna AI Documentation","canonical":"https://www.bolna.ai/docs"},"organization":{"id":"https://www.bolna.ai/#organization","name":"Bolna AI","legalName":"Whismurwave Inc.","url":"https://www.bolna.ai","logo":"https://www.bolna.ai/logos/logo-black.png","sameAs":["https://www.linkedin.com/company/bolna-ai/","https://www.ycombinator.com/companies/bolna-ai","https://github.com/bolna-ai","https://x.com/bolna_dev","https://www.youtube.com/@BolnaVoiceAI"]}},"fonts":{"family":"Anek Latin"},"styling":{"codeblocks":"system","latex":true},"integrations":{"ga4":{"measurementId":"G-BJ5QXHE52P"},"gtm":{"tagId":"GTM-53BBWG2J"}},"contextual":{"options":["copy","view","chatgpt","claude","add-mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bolna-54a2d4fe","hasAudioNarration":false,"actualSubdomain":"bolna-54a2d4fe","customDomains":["www.bolna.ai"],"gitSource":{"type":"github","owner":"bolna-ai","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10af799ffae5051c3fe223"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b1038eb213d039e48a6ba35","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"Voice Agents","count":196},{"language":"default","tag":"API Reference","count":174},{"language":"default","tag":"Build","count":88},{"language":"default","tag":"Deploy","count":79},{"language":"default","tag":"Integrations","count":71},{"language":"default","tag":"Workflows","count":66},{"language":"default","tag":"Voice agents","count":57},{"language":"default","tag":"Telephony","count":50},{"language":"default","tag":"AI models","count":47},{"language":"default","tag":"Developers","count":44}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@bolna.ai"}},"basePath":"/docs","hasChatPermissions":false,"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":"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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","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},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":":root{--bolna-black: #111111;--bolna-grey-05: #262626;--bolna-grey-04: #5b5c5c;--bolna-grey-02: #d0d0d0;--bolna-grey-01: #f2f2f2;--bolna-blue: #0073ff;--bolna-radius-button: 12px;--bolna-radius-card: 16px}#banner{background-color:var(--bolna-black)!important}img[src*=\"bolna-full-\"]{height:26px!important;width:auto!important;max-height:unset!important;max-width:unset!important}.update-container{flex-direction:column!important;align-items:stretch!important}.update-container>div:first-child{position:static!important;width:auto!important;margin-bottom:0.5rem}#content-container,#content-container :is(p,li,td,th,dd,dt,span,div){hyphens:none!important;-webkit-hyphens:none!important}#content-container code:not(pre code){word-break:normal!important;overflow-wrap:break-word!important}:is(h1,h2,h3,#page-title){letter-spacing:-0.02em}:root{font-size-adjust:0.546}:is(code,pre,kbd,samp){font-size-adjust:none}.card{border-radius:var(--bolna-radius-card)!important}.card:hover{border-color:var(--bolna-black)!important}html.dark .card:hover{border-color:#ffffff!important}"}]}
{"page":{"pagePath":"custom-llm-inference/baseten","slug":"/custom-llm-inference/baseten","pageMetadata":{"title":"Use Baseten Model APIs or dedicated deployments in Bolna","sidebarTitle":"Baseten","icon":"/images/icons/baseten-logo.png","description":"Use Baseten Model APIs or your own Truss deployment on dedicated GPUs as the LLM for a Bolna voice agent. Endpoints, model slugs, Fast variants and API keys.","keywords":["Baseten","Baseten Model APIs","Baseten Truss","Baseten dedicated deployment","Baseten LLM Bolna"],"last_reviewed":"2026-10-14","href":"/custom-llm-inference/baseten"},"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: \"Use Baseten Model APIs or your own Truss deployment on dedicated GPUs as the LLM for a Bolna voice agent. Endpoints, model slugs, Fast variants and API keys.\"\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`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Frame,Heading,Note,OptimizedImage,Step,Steps,Tab,Tabs}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://www.baseten.co`,children:`Baseten`}),` is a production inference platform with two ways in, and they need different values in Bolna:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Model APIs`}),`: a supported set of popular open models that Baseten runs for you, called by model slug at one shared URL. Nothing to deploy.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Dedicated deployments`}),`: you deploy any model, including fine-tunes, to GPUs reserved for you with a short `,_jsx(_components.code,{children:`config.yaml`}),` and the Truss CLI. Each deployment gets its own URL.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Choose Model APIs to get running in minutes. Choose a dedicated deployment when you need a model Model APIs doesn’t offer, your own weights, or capacity nobody else shares.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`get-a-baseten-api-key`,children:`Get a Baseten API key`}),`\n`,_jsxs(_components.p,{children:[`Create a key on the `,_jsx(_components.a,{href:`https://app.baseten.co/settings/api_keys`,children:`API keys`}),` page of your Baseten workspace settings. Bolna sends it as `,_jsx(_components.code,{children:`Authorization: Bearer \u003ckey>`}),`, which is how Baseten’s OpenAI-compatible endpoints authenticate.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`option-a-model-apis`,children:`Option A: Model APIs`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Pick a model slug`,children:_jsxs(_components.p,{children:[`Open Baseten’s `,_jsx(_components.a,{href:`https://docs.baseten.co/development/model-apis/overview`,children:`Model APIs`}),` list and copy the slug, for example `,_jsx(_components.code,{children:`zai-org/GLM-5.3`}),`. Some models also have a `,_jsx(_components.strong,{children:`Fast`}),` variant: the same weights with dedicated capacity for higher sustained throughput, under a separate slug with its own pricing and rate limits.`]})}),_jsxs(Step,{title:`Choose Baseten in Bolna`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Settings → Integrations → LLM → Custom LLM → Add model`}),`, or choose `,_jsx(_components.strong,{children:`+ Add custom LLM`}),` from the `,_jsx(_components.strong,{children:`LLM Provider`}),` dropdown on an agent. Select `,_jsx(_components.strong,{children:`Baseten`}),`.`]}),_jsx(Frame,{caption:`Baseten selected: Model APIs endpoint as placeholder, hint for dedicated deployments`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/0EXypen329Eb5XE2/images/custom-llm/providers/baseten-selected.png?fit=max\u0026auto=format\u0026n=0EXypen329Eb5XE2\u0026q=85\u0026s=318bf2ac02cf9a045f32ddd2f4fe5385`,alt:`Bolna Add custom model dialog with Baseten selected and inference.baseten.co/v1 shown as the endpoint placeholder`,\"data-og-width\":`1024`,width:`1024`,\"data-og-height\":`1220`,height:`1220`,\"data-path\":`images/custom-llm/providers/baseten-selected.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/0EXypen329Eb5XE2/images/custom-llm/providers/baseten-selected.png?w=280\u0026fit=max\u0026auto=format\u0026n=0EXypen329Eb5XE2\u0026q=85\u0026s=4b6f752076c98fb106181a4fdaa2c757 280w, https://mintcdn.com/bolna-54a2d4fe/0EXypen329Eb5XE2/images/custom-llm/providers/baseten-selected.png?w=560\u0026fit=max\u0026auto=format\u0026n=0EXypen329Eb5XE2\u0026q=85\u0026s=f3b0e23849581513d15bea8817a7aeba 560w, https://mintcdn.com/bolna-54a2d4fe/0EXypen329Eb5XE2/images/custom-llm/providers/baseten-selected.png?w=840\u0026fit=max\u0026auto=format\u0026n=0EXypen329Eb5XE2\u0026q=85\u0026s=2aad6e003830271dd157207815ec5191 840w, https://mintcdn.com/bolna-54a2d4fe/0EXypen329Eb5XE2/images/custom-llm/providers/baseten-selected.png?w=1100\u0026fit=max\u0026auto=format\u0026n=0EXypen329Eb5XE2\u0026q=85\u0026s=708a941d66ee5df9242721575b8672fa 1100w, https://mintcdn.com/bolna-54a2d4fe/0EXypen329Eb5XE2/images/custom-llm/providers/baseten-selected.png?w=1650\u0026fit=max\u0026auto=format\u0026n=0EXypen329Eb5XE2\u0026q=85\u0026s=d206d888689e7cbf431a0114911859e7 1650w, https://mintcdn.com/bolna-54a2d4fe/0EXypen329Eb5XE2/images/custom-llm/providers/baseten-selected.png?w=2500\u0026fit=max\u0026auto=format\u0026n=0EXypen329Eb5XE2\u0026q=85\u0026s=05c630f6631288917d94484f39959e0c 2500w`})})]}),_jsx(Step,{title:`Register the model`,children:_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Dashboard`,id:`dashboard`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Model name`}),`: the slug, for example `,_jsx(_components.code,{children:`zai-org/GLM-5.3`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Endpoint URL`}),`: `,_jsx(_components.code,{children:`https://inference.baseten.co/v1`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API key`}),`: your Baseten API key`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Family`}),`: for example `,_jsx(_components.code,{children:`glm`})]}),`\n`]}),_jsx(Frame,{caption:`Baseten Model APIs, filled in`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bolna-54a2d4fe/aV72vktown5Rn3f1/images/custom-llm/providers/baseten-filled.png?fit=max\u0026auto=format\u0026n=aV72vktown5Rn3f1\u0026q=85\u0026s=c4a9f3983487cd096ec8123ab4be2195`,alt:`Add custom model dialog with Baseten selected, model zai-org/GLM-5.3, endpoint inference.baseten.co/v1, masked key and family glm`,\"data-og-width\":`1024`,width:`1024`,\"data-og-height\":`1172`,height:`1172`,\"data-path\":`images/custom-llm/providers/baseten-filled.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bolna-54a2d4fe/aV72vktown5Rn3f1/images/custom-llm/providers/baseten-filled.png?w=280\u0026fit=max\u0026auto=format\u0026n=aV72vktown5Rn3f1\u0026q=85\u0026s=afbb6645f0edad09d228845ef4a87e84 280w, https://mintcdn.com/bolna-54a2d4fe/aV72vktown5Rn3f1/images/custom-llm/providers/baseten-filled.png?w=560\u0026fit=max\u0026auto=format\u0026n=aV72vktown5Rn3f1\u0026q=85\u0026s=71897ca2941b27c5c7e5e9c37e2e8236 560w, https://mintcdn.com/bolna-54a2d4fe/aV72vktown5Rn3f1/images/custom-llm/providers/baseten-filled.png?w=840\u0026fit=max\u0026auto=format\u0026n=aV72vktown5Rn3f1\u0026q=85\u0026s=87c91858c59d9ca3aea7165e60f47971 840w, https://mintcdn.com/bolna-54a2d4fe/aV72vktown5Rn3f1/images/custom-llm/providers/baseten-filled.png?w=1100\u0026fit=max\u0026auto=format\u0026n=aV72vktown5Rn3f1\u0026q=85\u0026s=dba40a50b6fd3d558b0919b571e37e58 1100w, https://mintcdn.com/bolna-54a2d4fe/aV72vktown5Rn3f1/images/custom-llm/providers/baseten-filled.png?w=1650\u0026fit=max\u0026auto=format\u0026n=aV72vktown5Rn3f1\u0026q=85\u0026s=b2774f5dea0e163035f4b3bf418dac73 1650w, https://mintcdn.com/bolna-54a2d4fe/aV72vktown5Rn3f1/images/custom-llm/providers/baseten-filled.png?w=2500\u0026fit=max\u0026auto=format\u0026n=aV72vktown5Rn3f1\u0026q=85\u0026s=e443432489b8792b2411d4ae2d7c16d0 2500w`})})]}),_jsx(Tab,{title:`API`,id:`api`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.bolna.ai/user/model/custom`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003cBOLNA_API_KEY>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"custom_model_name\": \"zai-org/GLM-5.3\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"custom_model_url\": \"https://inference.baseten.co/v1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"custom_model_key\": \"\u003cBASETEN_API_KEY>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"custom_model_family\": \"glm\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})})]})})]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Baseten’s context and output limits for a Model API can be lower than the model’s advertised maximum. Check the limits in the Model APIs table before writing a very long system prompt.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`option-b-a-dedicated-deployment`,children:`Option B: A dedicated deployment`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Install Truss and sign in`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --upgrade`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` truss`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`truss`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --browser`})]}),`\n`]})})})}),_jsx(Step,{title:`Write a config.yaml`,children:_jsxs(_components.p,{children:[`Follow Baseten’s `,_jsx(_components.a,{href:`https://docs.baseten.co/examples/deploy-your-first-model`,children:`Deploy your first model`}),` guide. The config names the Hugging Face checkpoint (`,_jsx(_components.code,{children:`checkpoint_repository`}),`), the GPU and the inference engine. With the TensorRT-LLM engine, no Python code is needed.`]})}),_jsxs(Step,{title:`Deploy`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`truss`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` push`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Truss prints a model ID and a deployment ID. Wait until the deployment shows `,_jsx(_components.strong,{children:`Active`}),` in the Baseten dashboard.`]})]}),_jsxs(Step,{title:`Register the deployment in Bolna`,children:[_jsxs(_components.p,{children:[`Choose `,_jsx(_components.strong,{children:`Baseten`}),` in the Add custom model dialog and replace the placeholder with your deployment’s OpenAI-compatible URL:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://model-\u003cmodel_id>.api.baseten.co/environments/production/sync/v1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`Use the model name from the deployment’s example request in the Baseten dashboard, and your Baseten API key.`})]})]}),`\n`,_jsxs(_components.p,{children:[`Because the URL points at the `,_jsx(_components.strong,{children:`production`}),` environment, you can promote a new deployment to production in Baseten and your Bolna agents switch to it without a change.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`finish-on-the-agent`,children:`Finish on the agent`}),`\n`,_jsxs(_components.p,{children:[`On the agent’s `,_jsx(_components.strong,{children:`Intelligence`}),` tab choose `,_jsx(_components.strong,{children:`custom`}),`, pick the Baseten model, save and place a test call.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`401 Invalid or missing API key`,id:`401-invalid-or-missing-api-key`,children:_jsxs(_components.p,{children:[`Paste a key from `,_jsx(_components.strong,{children:`Settings → API keys`}),` in the same Baseten workspace that owns the model or deployment.`]})}),_jsx(Accordion,{title:`Model not found on Model APIs`,id:`model-not-found-on-model-apis`,children:_jsx(_components.p,{children:`Use the slug exactly as listed, including the organisation prefix. A Fast variant has its own slug.`})}),_jsx(Accordion,{title:`Slow first reply on a dedicated deployment`,id:`slow-first-reply-on-a-dedicated-deployment`,children:_jsx(_components.p,{children:`The deployment scaled down and is cold-starting. Set a minimum replica count of at least 1 in the deployment’s autoscaling settings for live agents.`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/custom-llm-inference`,children:`Custom LLM inference`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/custom-llm-inference/modal`,children:`Modal`}),`: write and run the serving code yourself`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/custom-llm-inference/fireworks`,children:`Fireworks AI`}),`: serverless models plus on-demand GPUs`]}),`\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":"system","config":{},"pageMetadata":{"title":"Use Baseten Model APIs or dedicated deployments in Bolna","sidebarTitle":"Baseten","icon":"/images/icons/baseten-logo.png","description":"Use Baseten Model APIs or your own Truss deployment on dedicated GPUs as the LLM for a Bolna voice agent. Endpoints, model slugs, Fast variants and API keys.","keywords":["Baseten","Baseten Model APIs","Baseten Truss","Baseten dedicated deployment","Baseten LLM Bolna"],"last_reviewed":"2026-10-14","href":"/custom-llm-inference/baseten"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Get a Baseten API key","slug":"get-a-baseten-api-key","depth":2,"children":[]},{"title":"Option A: Model APIs","slug":"option-a-model-apis","depth":2,"children":[]},{"title":"Option B: A dedicated deployment","slug":"option-b-a-dedicated-deployment","depth":2,"children":[]},{"title":"Finish on the agent","slug":"finish-on-the-agent","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/bolna-54a2d4fe/73314f84f6e30c14/custom.js","/docs/_mintlify/custom/bolna-54a2d4fe/786be19ebac8ab86/faq-schema.js"],"subdomain":"bolna-54a2d4fe","siteName":"Bolna Docs","title":"Use Baseten Model APIs or dedicated deployments in Bolna - Bolna Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T11:32:01.117Z","originalFileLocation":"custom-llm-inference/baseten.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=\"Use Baseten Model APIs or your own Truss deployment on dedicated GPUs as the LLM for a Bolna voice agent. Endpoints, model slugs, Fast variants and API keys.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Bolna Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_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=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Use Baseten Model APIs or dedicated deployments in Bolna - Bolna Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use Baseten Model APIs or your own Truss deployment on dedicated GPUs as the LLM for a Bolna voice agent. Endpoints, model slugs, Fast variants and API keys.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bolna AI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.bolna.ai/docs/custom-llm-inference/baseten\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bolna-54a2d4fe.mintlify.site/docs/_mintlify/api/og/v2?division=Custom+LLM+inference\u0026amp;title=Use+Baseten+Model+APIs+or+dedicated+deployments+in+Bolna\u0026amp;description=Use+Baseten+Model+APIs+or+your+own+Truss+deployment+on+dedicated+GPUs+as+the+LLM+for+a+Bolna+voice+agent.+Endpoints%2C+model+slugs%2C+Fast+variants+and+API+keys.\u0026amp;theme=f2dcce2f7fc3b944c1c433e4\u0026amp;signature=f24ea467dfa9347880e803e9012a5d8eca7e2a138bfe896dcb1a791cda351365\">\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=\"Use Baseten Model APIs or dedicated deployments in Bolna - Bolna Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use Baseten Model APIs or your own Truss deployment on dedicated GPUs as the LLM for a Bolna voice agent. Endpoints, model slugs, Fast variants and API keys.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bolna-54a2d4fe.mintlify.site/docs/_mintlify/api/og/v2?division=Custom+LLM+inference\u0026amp;title=Use+Baseten+Model+APIs+or+dedicated+deployments+in+Bolna\u0026amp;description=Use+Baseten+Model+APIs+or+your+own+Truss+deployment+on+dedicated+GPUs+as+the+LLM+for+a+Bolna+voice+agent.+Endpoints%2C+model+slugs%2C+Fast+variants+and+API+keys.\u0026amp;theme=f2dcce2f7fc3b944c1c433e4\u0026amp;signature=f24ea467dfa9347880e803e9012a5d8eca7e2a138bfe896dcb1a791cda351365\">\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=\"/docs/mintlify-assets/_mintlify/favicons/bolna-54a2d4fe/cQLQhIXNsgk9iuEx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bolna Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0073FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.bolna.ai/docs/custom-llm-inference/baseten\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/custom-llm-inference/baseten.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.bolna.ai/#organization\",\"name\":\"Bolna AI\",\"legalName\":\"Whismurwave Inc.\",\"url\":\"https://www.bolna.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://www.bolna.ai/logos/logo-black.png\"},\"sameAs\":[\"https://www.linkedin.com/company/bolna-ai/\",\"https://www.ycombinator.com/companies/bolna-ai\",\"https://github.com/bolna-ai\",\"https://x.com/bolna_dev\",\"https://www.youtube.com/@BolnaVoiceAI\"]},{\"@type\":\"WebSite\",\"@id\":\"https://www.bolna.ai/docs#website\",\"name\":\"Bolna Docs\",\"url\":\"https://www.bolna.ai/docs\",\"publisher\":{\"@id\":\"https://www.bolna.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.bolna.ai/docs/custom-llm-inference/baseten#webpage\",\"url\":\"https://www.bolna.ai/docs/custom-llm-inference/baseten\",\"name\":\"Use Baseten Model APIs or dedicated deployments in Bolna\",\"description\":\"Use Baseten Model APIs or your own Truss deployment on dedicated GPUs as the LLM for a Bolna voice agent. Endpoints, model slugs, Fast variants and API keys.\",\"dateModified\":\"2026-10-19T11:32:01.117Z\",\"isPartOf\":{\"@id\":\"https://www.bolna.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.bolna.ai/docs/custom-llm-inference/baseten#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.bolna.ai/docs/custom-llm-inference/baseten#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI models\",\"item\":\"https://www.bolna.ai/docs/deepgram-transcriber\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LLMs\",\"item\":\"https://www.bolna.ai/docs/language-models\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Custom LLM inference\",\"item\":\"https://www.bolna.ai/docs/custom-llm-inference\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Use Baseten Model APIs or dedicated deployments in Bolna\",\"item\":\"https://www.bolna.ai/docs/custom-llm-inference/baseten\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.bolna.ai/docs/custom-llm-inference/baseten#article\",\"headline\":\"Use Baseten Model APIs or dedicated deployments in Bolna\",\"name\":\"Use Baseten Model APIs or dedicated deployments in Bolna\",\"description\":\"Use Baseten Model APIs or your own Truss deployment on dedicated GPUs as the LLM for a Bolna voice agent. Endpoints, model slugs, Fast variants and API keys.\",\"url\":\"https://www.bolna.ai/docs/custom-llm-inference/baseten\",\"mainEntityOfPage\":{\"@id\":\"https://www.bolna.ai/docs/custom-llm-inference/baseten#webpage\"},\"dateModified\":\"2026-10-19T11:32:01.117Z\",\"keywords\":\"Baseten, Baseten Model APIs, Baseten Truss, Baseten dedicated deployment, Baseten LLM Bolna\",\"publisher\":{\"@id\":\"https://www.bolna.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://www.bolna.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bolna Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Bolna AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/custom-llm-inference/baseten.md","siteName":"Bolna Docs","nav":{"global":null,"tabs":[{"tab":"Overview","icon":"book","pages":[{"title":"Overview","href":""}]},{"tab":"Voice Agents","icon":"waveform-lines","pages":[{"title":"Voice Agents","href":"/agents/overview"}]},{"tab":"Integrations","icon":"plug","groups":[{"group":" ","pages":[{"title":"Bolna voice AI integrations","sidebarTitle":"All integrations","icon":"grid-2-plus","iconType":"solid","href":"/integrations"},{"sidebarTitle":"Provider credentials","title":"Connect your provider credentials","icon":"link-horizontal","iconType":"solid","href":"/providers"}]},{"group":"Telephony","icon":"tower-cell","pages":[{"title":"Telephony integrations for Bolna voice AI agents","sidebarTitle":"Telephony providers","icon":"phone","href":"/telephony-integrations"}]},{"group":"AI models","icon":"microchip","pages":[{"group":"Speech-to-text","icon":"microphone","root":{"title":"Speech-to-text providers","sidebarTitle":"Speech-to-text","icon":"microphone","iconType":"solid","href":"/speech-to-text"},"expanded":false,"pages":[{"title":"Deepgram real-time transcription for Bolna voice agents","sidebarTitle":"Deepgram","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/deepgram-logo.png","href":"/deepgram-transcriber"},{"title":"Deepgram Flux transcriber (speech to text)","sidebarTitle":"Deepgram Flux","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/deepgram-logo.png","href":"/deepgram-flux"},{"title":"OpenAI Realtime transcriber (speech to text)","sidebarTitle":"OpenAI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/openai-logo.svg","href":"/openai-transcriber"},{"title":"Azure transcriber (speech to text)","sidebarTitle":"Azure","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/azure-openai-logo.svg","href":"/azure-transcriber"},{"title":"AssemblyAI real-time transcription for Bolna voice agents","sidebarTitle":"AssemblyAI","tag":"New","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/assemblyai-logo.svg","href":"/assemblyai"},{"title":"ElevenLabs transcriber (speech to text)","sidebarTitle":"ElevenLabs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/elevenlabs-logo.svg","href":"/elevenlabs-transcriber"},{"title":"Gladia transcriber (speech to text)","sidebarTitle":"Gladia","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/gladia-logo.svg","href":"/gladia"},{"title":"Sarvam transcriber (speech to text)","sidebarTitle":"Sarvam","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/sarvam-mark.svg","href":"/sarvam-transcriber"},{"title":"Smallest transcriber (speech to text)","sidebarTitle":"Smallest","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/smallest-logo.svg","href":"/smallest-transcriber"},{"title":"Soniox transcriber (speech to text)","sidebarTitle":"Soniox","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/soniox-logo.png","href":"/soniox"},{"title":"Gemini transcriber (speech to text)","sidebarTitle":"Gemini","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/gemini-logo.svg","href":"/gemini-transcriber"}]},{"group":"LLMs","icon":"brain","root":{"title":"LLM providers","sidebarTitle":"LLMs","icon":"brain","iconType":"solid","href":"/language-models"},"expanded":false,"pages":[{"title":"OpenAI GPT models for Bolna voice agents","sidebarTitle":"OpenAI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/openai-logo.svg","href":"/openai-llm"},{"title":"OpenRouter models and settings for Bolna agents","sidebarTitle":"OpenRouter","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/openrouter-logo.svg","href":"/openrouter"},{"title":"Azure OpenAI models for Bolna voice agents","sidebarTitle":"Azure OpenAI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/azure-openai-logo.svg","href":"/azure-openai"},{"title":"DeepSeek models for Bolna voice agents","sidebarTitle":"DeepSeek","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/deepseek-logo.svg","href":"/deepseek"},{"title":"Anthropic Claude models for Bolna voice agents","sidebarTitle":"Anthropic","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/anthropic-logo.svg","href":"/anthropic"},{"title":"Google Gemini models for Bolna voice agents","sidebarTitle":"Google Gemini","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/gemini-logo.svg","href":"/gemini-llm"},{"title":"Sarvam LLM for Bolna voice agents","sidebarTitle":"Sarvam","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/sarvam-mark.svg","href":"/sarvam-llm"},{"title":"AWS Bedrock LLM for Bolna voice agents","sidebarTitle":"AWS Bedrock","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/aws-logo.svg","href":"/bedrock-llm"},{"group":"Custom LLM inference","icon":"server","root":{"title":"Custom LLM inference for Bolna voice agents","sidebarTitle":"Custom LLM inference","description":"Run a Bolna voice agent on your own model or an inference provider like Baseten, Cerebras, Fireworks AI, Groq, Modal, Nebius, Simplismart or Together AI.","icon":"server","href":"/custom-llm-inference"},"pages":[{"title":"Use Baseten Model APIs or dedicated deployments in Bolna","sidebarTitle":"Baseten","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/baseten-logo.png","href":"/custom-llm-inference/baseten"},{"title":"Connect Cerebras inference to Bolna voice agents","sidebarTitle":"Cerebras","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/cerebras-logo.png","description":"Use Cerebras Shared or Dedicated Inference for thousands of tokens per second in a Bolna voice agent. Model IDs, context limits by tier and setup steps.","href":"/custom-llm-inference/cerebras"},{"title":"Use Fireworks AI models in Bolna voice agents","sidebarTitle":"Fireworks AI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/fireworks-logo.svg","href":"/custom-llm-inference/fireworks"},{"title":"Connect Groq to Bolna for low-latency voice agents","sidebarTitle":"Groq","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/groq-logo.svg","href":"/custom-llm-inference/groq"},{"title":"Self-host an LLM on Modal for Bolna voice agents","sidebarTitle":"Modal","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/modal-logo.svg","href":"/custom-llm-inference/modal"},{"title":"Use Nebius Token Factory as the LLM for Bolna agents","sidebarTitle":"Nebius","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/nebius-logo.svg","href":"/custom-llm-inference/nebius"},{"title":"Connect Simplismart to Bolna voice agents","sidebarTitle":"Simplismart","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/simplismart-logo.png","href":"/custom-llm-inference/simplismart"},{"title":"Use Together AI open models in Bolna voice agents","sidebarTitle":"Together AI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/together-logo.png","href":"/custom-llm-inference/together"}]}]},{"group":"Text-to-speech","icon":"volume-high","root":{"title":"Text-to-speech providers","sidebarTitle":"Text-to-speech","icon":"volume-high","iconType":"solid","href":"/text-to-speech"},"expanded":false,"pages":[{"title":"AWS Polly text to speech with Bolna voice AI agents","sidebarTitle":"AWS Polly","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/aws-logo.svg","href":"/aws-polly"},{"title":"Azure text to speech with Bolna voice AI agents","sidebarTitle":"Azure","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/azure-openai-logo.svg","href":"/azure-voice"},{"title":"Cartesia for Voice Agents – Setup Guide","sidebarTitle":"Cartesia","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/cartesia-logo.png","href":"/cartesia"},{"title":"Deepgram text to speech with Bolna voice AI agents","sidebarTitle":"Deepgram","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/deepgram-logo.png","href":"/deepgram-voice"},{"title":"ElevenLabs voice synthesis for Bolna agents","sidebarTitle":"ElevenLabs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/elevenlabs-logo.svg","href":"/elevenlabs-voice"},{"title":"Kalpa Labs voice synthesis for Bolna agents","sidebarTitle":"Kalpa Labs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/kalpa-logo.svg","href":"/kalpa"},{"title":"Maya voice synthesis for Bolna agents","sidebarTitle":"Maya","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/maya-logo.svg","href":"/maya"},{"title":"Navana voice synthesis for Bolna agents","sidebarTitle":"Navana","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/navana-logo.png","href":"/navana"},{"title":"Rime text to speech with Bolna voice AI agents","sidebarTitle":"Rime","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/rime-logo.png","href":"/rime"},{"title":"Sarvam text to speech with Bolna voice AI agents","sidebarTitle":"Sarvam","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/sarvam-mark.svg","href":"/sarvam-voice"},{"title":"Smallest text to speech with Bolna voice AI agents","sidebarTitle":"Smallest","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/smallest-logo.svg","href":"/smallest-voice"},{"title":"Soniox text to speech with Bolna voice AI agents","sidebarTitle":"Soniox","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/soniox-logo.png","href":"/soniox-voice"},{"title":"Custom TTS for Bolna voice agents","sidebarTitle":"Bring your own TTS","icon":"server","href":"/custom-tts"}]},{"group":"Speech-to-speech","icon":"waveform-lines","root":{"title":"Speech-to-speech agents","sidebarTitle":"Speech-to-speech agents","icon":"waveform-lines","href":"/speech-to-speech"},"expanded":false,"pages":[{"title":"OpenAI Realtime (speech to speech)","sidebarTitle":"OpenAI Realtime","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/openai-logo.svg","href":"/openai-realtime"},{"title":"Gemini Live (speech to speech)","sidebarTitle":"Gemini Live","icon":"https://mintlify.s3.us-west-1.amazonaws.com/bolna-54a2d4fe/images/icons/gemini-logo.svg","href":"/gemini-live"}]}]},{"group":"No-code automation","icon":"wand-magic-sparkles","pages":[{"group":"Automation platforms","icon":"gears","root":{"title":"Using Bolna AI with no-code tools","sidebarTitle":"No-code options overview","icon":"life-ring","iconType":"solid","href":"/tutorials/introduction"},"expanded":false,"pages":[{"group":"Make.com","icon":"gears","root":{"title":"Using Bolna AI with Make.com","sidebarTitle":"Introduction","icon":"circle-info","iconType":"solid","href":"/tutorials/make-com/overview"},"expanded":false,"pages":[{"title":"Create Bolna API connection with Make.com","sidebarTitle":"API connection","icon":"code","iconType":"solid","href":"/tutorials/make-com/create-bolna-api-connection"},{"title":"Create Bolna webhook connection with Make.com","sidebarTitle":"Webhook connection","icon":"webhook","iconType":"solid","href":"/tutorials/make-com/create-bolna-webhook-connection"},{"title":"Integrating make.com with Bolna AI to send emails","sidebarTitle":"Email after a call","icon":"envelope-circle-check","iconType":"solid","href":"/tutorials/make-com/send-email-after-bolna-call"},{"title":"Integrating make.com with Bolna AI to send SMS","sidebarTitle":"SMS after a call","icon":"message-sms","iconType":"solid","href":"/tutorials/make-com/send-sms-after-bolna-call"},{"title":"Integrating make.com with Bolna AI to send WhatsApp","sidebarTitle":"WhatsApp after a call","icon":"whatsapp","iconType":"solid","href":"/tutorials/make-com/send-whatsapp-after-bolna-call"}]},{"group":"n8n","icon":"gears","root":{"title":"Using Bolna AI with n8n","sidebarTitle":"Introduction","icon":"circle-info","iconType":"solid","href":"/tutorials/n8n/overview"},"expanded":false,"pages":[{"title":"Bolna community node for n8n","sidebarTitle":"Community node","icon":"puzzle-piece","iconType":"solid","href":"/tutorials/n8n/community-node"},{"title":"Integrating n8n with Bolna AI to send emails","sidebarTitle":"Email after a call","icon":"envelope-circle-check","iconType":"solid","href":"/tutorials/n8n/send-email-after-bolna-call"}]},{"title":"Using Bolna AI with Zapier","sidebarTitle":"Zapier","icon":"circle-info","iconType":"solid","href":"/tutorials/zapier/overview"},{"group":"viaSocket","icon":"gears","root":{"title":"Using Bolna AI with viaSocket","sidebarTitle":"Introduction","icon":"circle-info","iconType":"solid","href":"/tutorials/viasocket/overview"},"expanded":false,"pages":[{"title":"Create Bolna API connection with viaSocket","sidebarTitle":"API connection","icon":"code","iconType":"solid","href":"/tutorials/viasocket/create-bolna-api-connection"}]},{"title":"Automate outbound calls with Bolna AI and Google Sheets","sidebarTitle":"Google Sheets","icon":"table","iconType":"solid","href":"/tutorials/google-sheets/automate-calls"}]}]},{"group":"Call analytics","icon":"chart-line","pages":[{"title":"Monitor Bolna calls with Agnost AI","sidebarTitle":"Agnost AI","icon":"chart-line","iconType":"solid","href":"/agnost"}]},{"group":"Choose providers","icon":"sliders","pages":[{"title":"Choosing providers","sidebarTitle":"Decision guide","icon":"sliders","iconType":"solid","href":"/concepts/choosing-providers"},{"title":"Choosing a speech-to-text provider","sidebarTitle":"Choose a transcriber","icon":"microphone","iconType":"solid","href":"/concepts/choosing-speech-to-text"},{"title":"Choosing an LLM","sidebarTitle":"Choose an LLM","icon":"brain","iconType":"solid","href":"/concepts/choosing-llm"},{"title":"Choosing a text-to-speech provider","sidebarTitle":"Choose a voice","icon":"volume-high","iconType":"solid","href":"/concepts/choosing-text-to-speech"},{"title":"Choosing a telephony provider","sidebarTitle":"Choose telephony","icon":"phone","iconType":"solid","href":"/concepts/choosing-telephony"},{"title":"Fallback Models","sidebarTitle":"Fallback models (API)","icon":"shield-halved","iconType":"solid","href":"/customizations/fallback-models"}]}]},{"tab":"API Reference","icon":"terminal","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Developers","icon":"toolbox","pages":[{"title":"Developers","href":"/developer-resources/overview"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog/december-2026"}]}]},"basePath":"","title":"Use Baseten Model APIs or dedicated deployments in Bolna - Bolna Docs","deploymentId":"dpl_2XYgqAEo2Z87hCspE7GmXvEteEBv","buildId":"dpl_2XYgqAEo2Z87hCspE7GmXvEteEBv","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DzCM4ET2.js","DynamicMarkdown-nQmF4d4W.js","zoom-image-lightbox-r-HYrOt0.js","lightbox-handle-r17bVUz3.js"]}