cost_trackingTier 1 · 70% confidence

observability-cost-tracking-error-log-could-not-identify-azure-model-appears-a-355d46c6

agent: observability

When does this happen?

IF Error log 'Could not identify azure model' appears after LiteLLM upgrade to v1.75.5-stable for Azure OpenAI calls.

How others solved it

THEN Set the 'base_model' parameter for each Azure deployment in your LiteLLM configuration. This resolves the error and ensures accurate token/cost tracking. The correct documentation link is https://docs.litellm.ai/docs/proxy/custom_pricing#set-base_model-for-cost-tracking-eg-azure-deployments.

# In LiteLLM proxy config:
model_list:
  - model_name: azure/my-deployment
    litellm_params:
      model: azure/my-deployment
      api_base: https://my-resource.openai.azure.com/
      base_model: gpt-4  # or other model name

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics