Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/model pricing #1628

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Conversation

fbec76
Copy link
Contributor

@fbec76 fbec76 commented Mar 31, 2024

New Feature: Show Pricing for each hosted Model API.

Usage

When selecting a Model, the user is able to see the costs of each model by hovering over the model icon/name

image

List of Models with Pricing Tag

Anthropic

  • Claude 2.1
  • Claude 2 Instant
  • Claude 3 Haiku
  • Claude 3 Sonnet
  • Claude 3 Opus

Groq

  • Llama2 70B
  • Mixtral 8x7B

Mistral

  • Mistral Small
  • Mistral Medium
  • Mistral Large

OpenAI

  • GPT-4 Turbo
  • GPT-4 Vision (input cost only)
  • GPT-4
  • GPT-3.5 Turbo

Variables

  • currency model billing currency
  • unit Number of token
  • inputCost pricing per unit Input Token
  • outoutCost pricing per unit Output Token

@mckaywrigley mckaywrigley merged commit b865b05 into mckaywrigley:main Apr 2, 2024
secondtruth pushed a commit to secondtruth/chatbot-ui that referenced this pull request Apr 4, 2024
* add api pricing

* add api pricing

---------

Co-authored-by: Finn Beckmann <[email protected]>
@Bortus-AI
Copy link

This is great. I think it would be nice to show the costs and tokens for each message in the chat as well.

@Bortus-AI
Copy link

This is great. I think it would be nice to show the costs and tokens for each message in the chat as well. Or a total tally of costs for the session

secondtruth pushed a commit to secondtruth/chatbot-ui that referenced this pull request Apr 10, 2024
* add api pricing

* add api pricing

---------

Co-authored-by: Finn Beckmann <[email protected]>
leovvay pushed a commit to kissMyApps-tlm/_KMA_kissmychat that referenced this pull request May 19, 2024
* add api pricing

* add api pricing

---------

Co-authored-by: Finn Beckmann <[email protected]>
Chr96er pushed a commit to Chr96er/chatbot-ui that referenced this pull request May 26, 2024
* add api pricing

* add api pricing

---------

Co-authored-by: Finn Beckmann <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants