Skip to main content

Initial Cost Estimation

I'd like an initial cost estimate before submitting a prompt. An example use case would be data analysis on a large spreadsheet. I'd like to compare costs for say, Claude Opus vs. Claude Sonnet vs. GPT-4o.

This is a similar idea to the feature titled "Support cost estimation for custom models (e.g., models added via Open Router)" but this initial cost estimation would work for pre-loaded models and OpenRouter models. Like the person in that post mentioned, the cost doesn't have to be exact, it just have to be a somewhat accurate estimate that can be compared across models and prompts. You could approximate the number of tokens and then based on the model pricing you can estimate costs.

Here is a screenshot showing an example.

Status: Completed3 comments

Log in to comment and vote

Comments3

  • Ngoc Nguyen

    Team•

    Jul 16, 2024

    this is now available

  • Ngoc Nguyen changed status to Completed
    Team•

    Jul 16, 2024

  • Ngoc Nguyen changed status to Planned
    Team•

    Jul 16, 2024