-
Notifications
You must be signed in to change notification settings - Fork 10
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
Custom the token price per model #70
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
4a67278
Custom the token price per model
jinsongo a2c98f9
Always use lower case for key
jinsongo c4381df
Add the price items for Langchain
jinsongo 8072b8f
Add vendor name as the part of modelId
jinsongo 6ff307a
Update the version to v1.0.5
jinsongo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
################################################################ | ||
# | ||
# Customize more price items by the following format: | ||
# <aiSystem>.<modelId>.input=0.0 | ||
# <aiSystem>.<modelId>.output=0.0 | ||
# The <modelId> can be set to '*' to match all modelIds within the aiSystem, | ||
# but this has a lower priority than items with a specific modelId specified. | ||
# | ||
################################################################ | ||
|
||
|
||
# Price per 1000 tokens for IBM watsonx | ||
# The '*' is to match all modelIds of watsonx | ||
watsonx.*.input=0.0 | ||
watsonx.*.output=0.0 | ||
|
||
# Price per 1000 tokens for OpenAI | ||
# The '*' is to match all modelIds of openai | ||
openai.*.input=0.0 | ||
openai.*.output=0.0 | ||
|
||
# Price per 1000 tokens for Anthropic | ||
# The '*' is to match all modelIds of anthropic | ||
anthropic.*.input=0.0 | ||
anthropic.*.output=0.0 | ||
|
||
# Price per 1000 tokens for Langchain | ||
# The '*' is to match all modelIds of Langchain | ||
langchain.*.input=0.0 | ||
langchain.*.output=0.0 | ||
langchain.ibm/granite-13b-chat-v2.input=0.0 | ||
langchain.ibm/granite-13b-chat-v2.output=0.0 | ||
langchain.ibm/granite-13b-instruct-v2.input=0.0 | ||
langchain.ibm/granite-13b-instruct-v2.output=0.0 | ||
|
||
# Price per 1000 tokens for Bedrock modelIds | ||
bedrock.ai21.jamba-instruct-v1:0.input=0.0 | ||
bedrock.ai21.jamba-instruct-v1:0.output=0.0 | ||
bedrock.ai21.j2-mid-v1.input=0.0 | ||
bedrock.ai21.j2-mid-v1.output=0.0 | ||
bedrock.ai21.j2-ultra-v1.input=0.0 | ||
bedrock.ai21.j2-ultra-v1.output=0.0 | ||
bedrock.ai21.jamba-1-5-large-v1:0.input=0.0 | ||
bedrock.ai21.jamba-1-5-large-v1:0.output=0.0 | ||
bedrock.ai21.jamba-1-5-mini-v1:0.input=0.0 | ||
bedrock.ai21.jamba-1-5-mini-v1:0.output=0.0 | ||
bedrock.amazon.titan-text-express-v1.input=0.0 | ||
bedrock.amazon.titan-text-express-v1.output=0.0 | ||
bedrock.amazon.titan-text-lite-v1.input=0.0 | ||
bedrock.amazon.titan-text-lite-v1.output=0.0 | ||
bedrock.amazon.titan-text-premier-v1:0.input=0.0 | ||
bedrock.amazon.titan-text-premier-v1:0.output=0.0 | ||
bedrock.amazon.titan-embed-text-v1.input=0.0 | ||
bedrock.amazon.titan-embed-text-v1.output=0.0 | ||
bedrock.amazon.titan-embed-text-v2:0.input=0.0 | ||
bedrock.amazon.titan-embed-text-v2:0.output=0.0 | ||
bedrock.amazon.titan-embed-image-v1.input=0.0 | ||
bedrock.amazon.titan-embed-image-v1.output=0.0 | ||
bedrock.amazon.titan-image-generator-v1.input=0.0 | ||
bedrock.amazon.titan-image-generator-v1.output=0.0 | ||
bedrock.amazon.titan-image-generator-v2:0.input=0.0 | ||
bedrock.amazon.titan-image-generator-v2:0.output=0.0 | ||
bedrock.anthropic.claude-v2.input=0.0 | ||
bedrock.anthropic.claude-v2.output=0.0 | ||
bedrock.anthropic.claude-v2:1.input=0.0 | ||
bedrock.anthropic.claude-v2:1.output=0.0 | ||
bedrock.anthropic.claude-3-sonnet-20240229-v1:0.input=0.0 | ||
bedrock.anthropic.claude-3-sonnet-20240229-v1:0.output=0.0 | ||
bedrock.anthropic.claude-3-5-sonnet-20240620-v1:0.input=0.0 | ||
bedrock.anthropic.claude-3-5-sonnet-20240620-v1:0.output=0.0 | ||
bedrock.anthropic.claude-3-5-sonnet-20241022-v2:0.input=0.0 | ||
bedrock.anthropic.claude-3-5-sonnet-20241022-v2:0.output=0.0 | ||
bedrock.anthropic.claude-3-haiku-20240307-v1:0.input=0.0 | ||
bedrock.anthropic.claude-3-haiku-20240307-v1:0.output=0.0 | ||
bedrock.anthropic.claude-3-5-haiku-20241022-v1:0.input=0.0 | ||
bedrock.anthropic.claude-3-5-haiku-20241022-v1:0.output=0.0 | ||
bedrock.anthropic.claude-3-opus-20240229-v1:0.input=0.0 | ||
bedrock.anthropic.claude-3-opus-20240229-v1:0.output=0.0 | ||
bedrock.anthropic.claude-instant-v1.input=0.0 | ||
bedrock.anthropic.claude-instant-v1.output=0.0 | ||
bedrock.cohere.command-text-v14.input=0.0 | ||
bedrock.cohere.command-text-v14.output=0.0 | ||
bedrock.cohere.command-light-text-v14.input=0.0 | ||
bedrock.cohere.command-light-text-v14.output=0.0 | ||
bedrock.cohere.command-r-v1:0.input=0.0 | ||
bedrock.cohere.command-r-v1:0.output=0.0 | ||
bedrock.cohere.command-r-plus-v1:0.input=0.0 | ||
bedrock.cohere.command-r-plus-v1:0.output=0.0 | ||
bedrock.cohere.embed-english-v3.input=0.0 | ||
bedrock.cohere.embed-english-v3.output=0.0 | ||
bedrock.cohere.embed-multilingual-v3.input=0.0 | ||
bedrock.cohere.embed-multilingual-v3.output=0.0 | ||
bedrock.meta.llama2-13b-chat-v1.input=0.0 | ||
bedrock.meta.llama2-13b-chat-v1.output=0.0 | ||
bedrock.meta.llama2-70b-chat-v1.input=0.0 | ||
bedrock.meta.llama2-70b-chat-v1.output=0.0 | ||
bedrock.meta.llama3-8b-instruct-v1:0.input=0.0 | ||
bedrock.meta.llama3-8b-instruct-v1:0.output=0.0 | ||
bedrock.meta.llama3-70b-instruct-v1:0.input=0.0 | ||
bedrock.meta.llama3-70b-instruct-v1:0.output=0.0 | ||
bedrock.meta.llama3-1-8b-instruct-v1:0.input=0.0 | ||
bedrock.meta.llama3-1-8b-instruct-v1:0.output=0.0 | ||
bedrock.meta.llama3-1-70b-instruct-v1:0.input=0.0 | ||
bedrock.meta.llama3-1-70b-instruct-v1:0.output=0.0 | ||
bedrock.meta.llama3-1-405b-instruct-v1:0.input=0.0 | ||
bedrock.meta.llama3-1-405b-instruct-v1:0.output=0.0 | ||
bedrock.meta.llama3-2-1b-instruct-v1:0.input=0.0 | ||
bedrock.meta.llama3-2-1b-instruct-v1:0.output=0.0 | ||
bedrock.meta.llama3-2-3b-instruct-v1:0.input=0.0 | ||
bedrock.meta.llama3-2-3b-instruct-v1:0.output=0.0 | ||
bedrock.meta.llama3-2-11b-instruct-v1:0.input=0.0 | ||
bedrock.meta.llama3-2-11b-instruct-v1:0.output=0.0 | ||
bedrock.meta.llama3-2-90b-instruct-v1:0.input=0.0 | ||
bedrock.meta.llama3-2-90b-instruct-v1:0.output=0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs to be updated with exact price, this can be fixed via a follow up PR