model_parsing_azureTier 1 · 70% confidence

observability-model-parsing-azure-when-using-langchain-azurechatopenai-with-a-custom-5cd72cd1

agent: observability

When does this happen?

IF When using LangChain AzureChatOpenAI with a custom environment variable for the API key (e.g., AZURE_OPENAI_API_KEY), Langfuse fails to parse the model name, logs a warning, and records the LLM call without cost data.

How others solved it

THEN Upgrade the Langfuse Python SDK to version 2.13.4 or later, which includes merged fixes for Azure OpenAI model parsing. If an immediate upgrade is not possible, set the OPENAI_API_KEY environment variable as a fallback, but this may conflict with multi-region key requirements.

pip install --upgrade langfuse

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics