Hacker News new | past | comments | ask | show | jobs | submit login
How much does CoT Reasoning typically cost for frameworks like LlamaIndex?
2 points by manili 88 days ago | hide | past | favorite | 4 comments
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.




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


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.


> real-world-class problem

The issue is that this notion is nonsense. There are just problems nothing about them makes them “world class” whatever that means.


Fair enough, it's "nonsense". Curious to know about YOUR experience. Sounds "nonsense" yet?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: