top | item 41538848

How much does CoT Reasoning typically cost for frameworks like LlamaIndex?

2 points| manili | 1 year ago

I'm curious to know, based on your experience in production, how much does Chain-of-Though Reasoning typically cost in terms of tokens for frameworks like LlamaIndex, LangChain, CrewAI, etc.?

I understand it depends on many different factors including the complexity of the product and the architecture of the agents involved, but I'd love to hear about your experiences in creating real-world-class application.

4 comments

order

tikkun|1 year ago

tough to answer. depends on the llm, on the api provider or hosting method, on the prompt

but you could get a simple estimate by running a CoT prompt, copying the output tokens, and then using an online token counter to count the length & tokens of the CoT part of the completion

manili|1 year ago

The issue is that I can give it a try on a set of toy problems, but finding a real-world-class problem is totally a different story IMHO. That is exactly the reason I asked about people's "experiences".

Anyway thanks for the response.