square-spoon-72769
03/11/2026, 8:08 AMraise APIStatusError(
livekit.agents._exceptions.APIStatusError: message='Error getting model definition', status_code=400, retryable=True,
I do this
inference.LLM(
model="openai/gpt-5.3-chat-latest",
)
with from livekit.agents import inference, llm
is this not correct?tall-airline-16756
03/11/2026, 8:08 AMtall-airline-16756
03/11/2026, 8:08 AMAPIStatusError: Error getting model definition when trying to use openai/gpt-5.3-chat-latest with LiveKit Inference. You're correct to suspect the model string is the cause.
What’s happening
• openai/gpt-5.3-chat-latest is not a valid model ID in LiveKit Inference, so the service returns a 400 and cannot fetch a model definition.
What to do instead
• Use one of the supported OpenAI model IDs. Examples you can try:
◦ openai/gpt-5.2-chat-latest
◦ openai/gpt-5
◦ openai/gpt-5-mini
◦ openai/gpt-4o
◦ openai/gpt-4.1
• Your usage pattern is fine; just swap the model string. For example:
from livekit.agents import inference
session = AgentSession(
llm=inference.LLM(
model="openai/gpt-5.2-chat-latest",
),
# ... other params
)
If you need a model not listed here
• GPT-5.3 is not currently supported by LiveKit Inference. If you need an unsupported model now, you can use OpenAI directly with your own API key outside of LiveKit, or choose the closest supported model above.
If you'd like, tell me:
• Which model behavior you need (best accuracy, lowest latency, or smaller footprint), and I’ll recommend the closest supported model for your use case. Sources: LiveKit Inference | LiveKit Documentation | OpenAI LLM models | LiveKit Documentation | Large language models (LLM) overview | LiveKit Documentationsquare-spoon-72769
03/11/2026, 8:09 AMtall-airline-16756
03/11/2026, 8:09 AMopenai/gpt-5.3-chat-latest, got the 400 error, and the docs appear to show that model.
Short answer: the model ID openai/gpt-5.3-chat-latest is not a valid model in LiveKit Inference, which is why you get:
APIStatusError: message='Error getting model definition', status_code=400
What to do now
• Use one of the supported OpenAI model IDs. Examples that work with LiveKit Inference include:
◦ openai/gpt-5.2-chat-latest
◦ openai/gpt-5.2
◦ openai/gpt-5
◦ openai/gpt-5-mini
◦ openai/gpt-4o
◦ openai/gpt-4.1
• Your code usage is correct — just replace the model string. For example:
from livekit.agents import inference
session = AgentSession(
llm=inference.LLM(
model="openai/gpt-5.2-chat-latest",
),
# ... other params
)
Why the docs might show 5.3
• If you do see gpt-5.3 on a docs page, it may be a typo, a placeholder, or a preview entry that isn’t yet enabled in the backend. Even if a model name appears in a guide, it will not work unless the backend supports it.
Would you like help with either:
• Picking the best supported model for your needs (accuracy vs. latency vs. resource use), or
• I can review the exact docs page URL you’re looking at and flag the discrepancy so it can be reviewed. Which would you prefer? Sources: LiveKit Inference | LiveKit Documentation | HIPAA Eligible Products and Services | LiveKitsquare-spoon-72769
03/11/2026, 12:18 PMtall-airline-16756
03/11/2026, 12:18 PMopenai/gpt-5.3-chat-latest is not supported by LiveKit Inference right now. That’s why you get the 400 / "Error getting model definition" error.
Why this explains the discrepancy
• A PR can show intent to add a model to the catalog, but until it’s merged and the backend is deployed, the model name will not be recognized by the inference service. Seeing the name in a doc or repo draft doesn’t mean it’s active in the running LiveKit service.
What you can do now
• Swap to a supported model (examples):
◦ openai/gpt-5.2-chat-latest
◦ openai/gpt-5.2
◦ openai/gpt-5
◦ openai/gpt-4o or openai/gpt-4.1
• Example change:
from livekit.agents import inference
session = AgentSession(
llm=inference.LLM(
model="openai/gpt-5.2-chat-latest",
),
# ...
)
If you need GPT-5.3 specifically
• GPT-5.3 is not available via LiveKit Inference yet. Options:
◦ Use OpenAI directly with your own API key outside LiveKit if you have access to GPT-5.3.
◦ Use the closest supported LiveKit model (tell me whether you need higher accuracy, lower latency, or smaller footprint and I’ll recommend one).
Would you like me to:
• Recommend the best supported model for your use case, or
• Monitor the PR/ask to confirm when GPT-5.3 gets merged and available?
Tell me which option you prefer and a little about your use case (accuracy vs latency vs cost), and I’ll recommend the best swap.
Sources: LiveKit Inference | LiveKit Documentationsquare-spoon-72769
03/11/2026, 12:19 PMtall-airline-16756
03/11/2026, 12:20 PMpip show livekit-agents or pip list)? If you tell me the version, I can check the release notes and the code in that tag for the added model.
1. Check the repo release notes and the released tag
◦ Open the agents Releases page: https://github.com/livekit/agents/releases
◦ Find the release that should contain the merged PR and inspect its changelog for the PR number or "GPT-5.3".
◦ Open the code at that release tag and inspect the model catalog file (look for files that enumerate model IDs, e.g., plugin model lists or models.py).
1. Check the published package you installed
◦ If you installed from PyPI (or NPM), ensure the installed package version matches the GitHub release that merged the PR. A merged PR does not guarantee the package was published immediately.
1. Test programmatically (fast verification)
◦ Try instantiating the model in your environment and watch for errors from LiveKit or OpenAI:
from livekit.agents import inference
try:
llm = inference.LLM(model="openai/gpt-5.3-chat-latest")
print("Plugin accepted the model string")
except Exception as e:
print(f"Plugin rejected the model string: {e}")
• If the plugin accepts it, run a small request and check logs for a 400 from LiveKit or an error forwarded from OpenAI. A 400 "Error getting model definition" means the backend doesn't have a definition for that model.
Where the authoritative lists live
• LiveKit Inference models overview: https://docs.livekit.io/agents/models/inference/
• Large language models (LLM) overview: https://docs.livekit.io/agents/models/llm/
• OpenAI realtime/plugin guidance: https://docs.livekit.io/agents/models/realtime/plugins/openai
Important clarification
• A merged PR in the repo indicates intent and a code change, but the model will only be usable if:
1) The change was included in a published package/release you installed, and 2) Any required backend/deployment steps (if the model requires backend support) have been performed.
• If the PR was merged but the release you installed is older (or the backend hasn’t been updated), the model will still be unavailable.
If you want, I can do one of the following for you:
• Check the exact release tag tied to the PR if you tell me the package version you installed.
• Inspect the merged PR contents and the release notes to see whether the change was published and whether any additional backend steps were required.
• Recommend an immediate replacement model to use while you confirm GPT-5.3 availability.
Which would you like? And what version of livekit-agents are you currently running?
Sources: Large language models (LLM) overview | LiveKit Documentation | LiveKit Inference | LiveKit Documentation | OpenAI LLM models | LiveKit Documentation | OpenAI Realtime API plugin guide | LiveKit Documentation