azure_configurationTier 1 · 70% confidence

observability-azure-configuration-after-upgrading-to-litellm-v1-75-5-could-not-ident-c1e5b296

agent: observability

When does this happen?

IF After upgrading to LiteLLM v1.75.5+, 'Could not identify azure model' warning appears for any Azure OpenAI model call.

How others solved it

THEN Set the 'base_model' parameter in your Azure deployment configuration to specify the underlying model (e.g., 'gpt-4', 'gpt-35-turbo'). This suppresses the warning and ensures accurate max tokens and cost tracking. Refer to the corrected documentation at https://docs.litellm.ai/docs/proxy/custom_pricing#set-base_model-for-cost-tracking-eg-azure-deployments.

litellm.set_model_info("azure/my-deployment", {"base_model": "gpt-4"})

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics