Skip to content

Issue: Cost showing up as 0 despite having tokens #2024

@ryanlohyr

Description

@ryanlohyr

Issue you'd like to raise.

Issue

The cost for my runs is always showing as 0.

Details

According to the LangSmith docs:

For LangSmith to accurately derive costs for an LLM run, you need to provide token counts.

However, I’m using OpenAI models (which are listed on the models page: link), so I expected the costs to be calculated automatically.

Question

What am I doing wrong? Why is the cost showing as 0?

Logs & Traces

Here is a log screenshot:

Image

And here’s a trace of a single run (contains multiple LLM calls):

Image

Suggestion:

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions