kirilltaneev
02/12/2026, 8:29 PMAI Evy
02/12/2026, 8:29 PMAI Evy
02/12/2026, 8:30 PMcreate-chat-completion. Based on the available documentation, here's what I can share:
## Why the Delay Occurs
Yes, the create-chat-completion endpoint generates an agent response, which involves LLM processing. [(1) ]() The API returns the agent's response in the messages array after processing the user message through the language model. [(2) ]()
## Model Selection for Latency Reduction
For chat agents, you can configure the underlying LLM model. Based on the changelog, here are latency/price comparisons for available models: [(3) ]()
Latency (lower is faster) :
GPT 4.1 nano < GPT 4.1 mini < GPT 4o mini < GPT 4o < GPT 4.1
If you're currently using a higher-latency model like GPT-4o or GPT-4.1, switching to GPT-4.1 nano or GPT-4.1 mini could significantly reduce response times.
## What the Documentation Doesn't Cover
Unfortunately, the available sources don't explicitly document:
- Widget-specific configuration options for preloading create-chat in the background
- Options to disable automatic welcome message generation on chat open
- CORS preflight configuration for widget endpoints
- Specific "slow/fast" feature flags for chat completion
## Recommended Next Steps
Check out these potentially useful sources:
- [Create Chat Completion]()
- [Create Chat Agent]()
- [Platform Changelogs]()
For the specific widget optimization questions (preloading, disabling welcome messages, CORS configuration) , I'd recommend reaching out directly:
- Visit [DAI Evy
02/12/2026, 8:30 PMAI Evy
02/12/2026, 8:30 PM