token_cost_trackingTier 1 · 70% confidence

observability-token-cost-tracking-token-usage-and-cost-are-not-tracked-in-langfuse-o-a0d5f47a

agent: observability

When does this happen?

IF Token usage and cost are not tracked in Langfuse or LangSmith for Flowise agentic flows when streaming is disabled on LLM nodes.

How others solved it

THEN Enable streaming on all LLM nodes within agentic flows as a workaround to ensure token and cost data is sent to observability handlers. Alternatively, apply a custom patch to forward the internal usageMetadata field to the handler for non-streaming responses.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics