LLM
Baseten logo

Baseten LLM inference for Bolna AI voice agents

Baseten runs open models for a Bolna voice agent through shared Model APIs or your own Truss deployment on dedicated GPUs, including fine-tuned weights.

llmbasetendedicated-gpufine-tunedcustom-llm
At a glance

How Baseten fits in the stack

Best for

Reasoning, policy handling, tool use, and response generation.

Use this layer when

You want to tune quality, cost, latency, or function-calling behavior.

Connects to

Transcribed caller input upstream and voice or actions downstream.

Voice Stack

The LLM is the reasoning layer

The LLM is the reasoning layer

This provider decides how the agent interprets intent, selects next actions, calls tools, and formulates responses. It is the decision engine inside the voice stack.

TelephonyPhone Network
→
STTListener
→
LLMReasoning
→
TTSVoice
→
ToolsActions

Last updated

What is Baseten used for in a Bolna voice agent?

Baseten runs the LLM for a Bolna voice agent in one of two ways: Model APIs, where Baseten hosts popular open models at one shared URL, or a dedicated deployment of any model, including fine-tunes, on GPUs reserved for you. Choose Model APIs to get running in minutes. Choose a dedicated deployment when you need your own weights, a model Model APIs doesn't offer, or capacity nobody else shares.

How do I set up Baseten with Bolna?

  1. Create a key on the API keys page of your Baseten workspace settings.
  2. For Model APIs, copy a model slug from Baseten's Model APIs list, for example zai-org/GLM-5.3. For a dedicated deployment, install Truss, write a config.yaml, run truss push and wait until the deployment shows Active.
  3. In Bolna, open Settings → Integrations → LLM → Custom LLM → Add model, or choose + Add custom LLM from an agent's LLM Provider dropdown. Select Baseten.
  4. For Model APIs, enter the slug, set Endpoint URL to https://inference.baseten.co/v1 and Family to glm, for example. For a dedicated deployment, use https://model-<model_id>.api.baseten.co/environments/production/sync/v1 and the model name from the deployment's example request.
  5. On the agent's Intelligence tab choose custom, pick the Baseten model, save and place a test call.

The Baseten setup guide in the Bolna docs walks through both options.

What is the difference between Baseten Model APIs and dedicated deployments?

Model APIsDedicated deployment
ModelsA supported set of popular open modelsAny model, including fine-tunes
What you deployNothingA config.yaml pushed with the Truss CLI
Endpoint URLhttps://inference.baseten.co/v1https://model-<model_id>.api.baseten.co/environments/production/sync/v1
Model name in BolnaThe slug, such as zai-org/GLM-5.3From the deployment's example request
CapacityShared, with optional Fast variantsGPUs reserved for you

Baseten's context and output limits for a Model API can be lower than the model's advertised maximum, so check them before writing a very long system prompt.

What can you build with Baseten and Bolna?

Agents on a fine-tuned model. Deploy your own checkpoint with Truss and use it as the agent's LLM without writing serving code. With the TensorRT-LLM engine, no Python code is needed.

Zero-downtime model upgrades. Because the dedicated URL points at the production environment, promote a new deployment in Baseten and your Bolna agents switch to it with no change.

Fast pilots on open models. Start on Model APIs in minutes, then move to a Fast variant or a dedicated deployment as call volume grows.

Teams that want managed GPUs. If you would rather write the serving code yourself, see Modal. For on-demand GPUs with a serverless tier, see Fireworks AI.

FAQ

Baseten on Bolna: frequently asked questions

Yes. Add it as a custom LLM with the Baseten preset. Use https://inference.baseten.co/v1 and a model slug for Model APIs, or your deployment's own URL for a dedicated deployment.

Use https://model-<model_id>.api.baseten.co/environments/production/sync/v1, with the model name from the deployment's example request in the Baseten dashboard.

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.

The same weights with dedicated capacity for higher sustained throughput, under a separate slug with its own pricing and rate limits.

Browse this layer

Keep exploring the voice stack

Browse

Large Language Models

The LLM is the brain of your voice agent. It understands what callers say and decides how to respond. Bolna lets you switch between models like GPT-5.4 mini, Claude and DeepSeek by changing the provider and model in your agent LLM settings, so you can tune for speed, cost or reasoning depth.

Browse

Telephony

Telephony providers connect your voice agents to the phone network so they can make and receive real calls. Bolna supports managed integrations with major carriers as well as bring-your-own-carrier via SIP trunking, giving you full control over call routing, number provisioning, and cost.

Browse

Speech-to-Text

Speech-to-text converts what callers say into text that your LLM can process. Transcription accuracy and latency directly affect how natural a conversation feels. Bolna supports streaming STT providers optimized for telephony audio, including specialized models for Indian languages.

Browse

Text-to-Speech

Text-to-speech turns your agent responses into spoken audio. Voice quality shapes how callers perceive your brand. Flat, robotic speech kills trust while natural, expressive voices build it. Bolna integrates with the fastest TTS providers so responses sound human and arrive without awkward pauses.

Browse

Tools & Workflows

Tools let your voice agents take action during a call, not just talk. Book a calendar slot, look up an order through your own API, push a lead into your CRM, or trigger a multi-step automation in Zapier. These integrations turn voice agents from answering machines into workflow engines.

See where Baseten fits in your production workflow

Use the demo to walk through provider selection, stack tradeoffs, and the exact workflow you want Bolna to automate.