google / google/langextract

Inference cost

Open
#425 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
38.6k
Forks
2.7k
Avg merge
3d 15h
Merged PRs (30d)
3

Description

Hi,

I would like to know if there is any feature available to track the exact cost of analyzing documents passed to LangExtract. Since the provider’s response (including token usage) is handled internally during processing, it seems that this information is not exposed or easily traceable.

Is there any way to collect or retrieve the cost (e.g., token usage or API cost) for each document processed?

Thanks in advance!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.