Two issues here: getting 404 not found with default anthropic model, and also, the livekit docs page directs you to an anthropic page to see available models, but that just takes you to a generic anthropic page. Nowhere are the actual string model names documented except in the source code, and three of them simply have #deprecated comments by them. I’ve also tried one of the non-deprecated models and it doesn’t work either.
These claude-sonnet-4-20250514 strings aren’t documented anywhere but the source code and → intellisense.
getting 404 not found with default anthropic model,
What error do you get if you test with our agent starter, and just substitute the LLM with the Anthropic LLM? I need to request a key from our IT team to test with as I haven’t used the Anthropic LLM before.
the livekit docs page directs you to an anthropic page to see available models,
I see, looks like this should point to Models overview - Claude API Docs (including the ‘Legacy models’ section) and direct you to use the Claude API ID. I’ll raise a PR on the docs to get that addressed. As you said, you can also use agents/livekit-plugins/livekit-plugins-anthropic/livekit/plugins/anthropic/models.py at main · livekit/agents · GitHub as a source of truth.