gpt-5.4-mini is the default recommendation for most voice agents — it has low time-to-first-token and strong instruction following at a fraction of the cost of the full model.
Quick config
Supported models
| Model | Context | Best for | Notes |
|---|---|---|---|
gpt-5.5 | 1M tokens | Most demanding reasoning and quality | Flagship; highest cost |
gpt-5.4 | 1M tokens | General-purpose production agents | Strong reasoning, lower cost than 5.5 |
gpt-5.4-mini | 400K tokens | Most voice agents | Recommended — fastest TTFT, lowest cost |
gpt-4.1 | 1M tokens | Previous-gen; still available | Use if already deployed |
gpt-4.1-mini | 1M tokens | Previous-gen; still available | Use if already deployed |
gpt-4o | 128K tokens | Previous-gen; still available | Use if already deployed |
gpt-5.4-mini. Upgrade to gpt-5.4 or gpt-5.5 when you need complex multi-step reasoning or higher output quality (financial, medical, nuanced escalation).
Key settings
| Setting | Type | Recommended | Description |
|---|---|---|---|
provider | string | "openai" | Provider name |
model | string | "gpt-4.1-mini" | Model to use |
max_tokens | integer | 150 | Cap on response length — keep short for voice |
temperature | float | 0.2 | Lower = more deterministic; good for scripts |
agent_flow_type | string | "streaming" | Always "streaming" for voice |
Keep max_tokens short
Voice responses should be 1–3 sentences.max_tokens: 150 (about 100–120 spoken words) is appropriate for most turns. A higher cap doesn’t hurt quality but increases tail latency on long responses.
Writing prompts for voice
Prompts for voice agents differ from chat prompts:- Use imperative sentences: “Keep all responses under 3 sentences.”
- Specify spoken format: “Never use bullet points or markdown — speak in complete sentences.”
- Define handling for off-topic questions: “If asked something outside your scope, say: ‘I can only help with appointment scheduling today.’”
- Include the welcome message in the prompt or agent config, not as part of the system prompt instructions.
Function calling
GPT-4.1 and gpt-4.1-mini both support function calling. In Bolna, functions are defined in the Tools Tab and called automatically by the LLM during conversation. See Custom Function Calls for configuration.FAQ
gpt-5.4-mini vs gpt-5.4 vs gpt-5.5 — which should I use?
gpt-5.4-mini vs gpt-5.4 vs gpt-5.5 — which should I use?
Use
gpt-5.4-mini for most agents. Its time-to-first-token is lowest and cost per call is significantly less. Upgrade to gpt-5.4 when you need stronger reasoning or higher accuracy. Use gpt-5.5 for the most demanding tasks (complex financial/medical, long multi-step tool chains) where quality is the top priority.Why is temperature 0.2 recommended?
Why is temperature 0.2 recommended?
Lower temperature makes the model more consistent and predictable — important for scripted outbound calls where you want the agent to follow instructions reliably. For more conversational or exploratory agents, 0.5–0.7 is fine.
How do I reduce latency?
How do I reduce latency?
Lower
max_tokens, use gpt-4.1-mini instead of larger models, and write shorter system prompts (large prompts increase prefill time). See Latency for a full breakdown.Can I use my own OpenAI API key?
Can I use my own OpenAI API key?
Yes. Connect your OpenAI account at platform.bolna.ai/auth/openai. Costs will be charged to your OpenAI account, not Bolna’s platform wallet (for the LLM component).
Related
- LLM Tab — configure LLM in the dashboard
- Anthropic Claude — alternative LLM
- Azure OpenAI — OpenAI models with enterprise data residency
- Prompting Guide — write effective prompts for voice
- Custom Function Calls — add tools to your agent

