Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
94773754
authored
Jun 26, 2024
by
Calcium-Ion
Committed by
GitHub
Jun 26, 2024
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #331 from mageia/master
chore: Add Anthropic claude-3-5-sonnet-20240620 to model list
parents
0a86ce01
12b17ab4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
common/model-ratio.go
+1
-0
relay/channel/claude/constants.go
+1
-0
No files found.
common/model-ratio.go
View file @
94773754
...
...
@@ -77,6 +77,7 @@ var defaultModelRatio = map[string]float64{
"claude-2.1"
:
4
,
// $8 / 1M tokens
"claude-3-haiku-20240307"
:
0.125
,
// $0.25 / 1M tokens
"claude-3-sonnet-20240229"
:
1.5
,
// $3 / 1M tokens
"claude-3-5-sonnet-20240620"
:
1.5
,
"claude-3-opus-20240229"
:
7.5
,
// $15 / 1M tokens
"ERNIE-Bot"
:
0.8572
,
// ¥0.012 / 1k tokens //renamed to ERNIE-3.5-8K
"ERNIE-Bot-turbo"
:
0.5715
,
// ¥0.008 / 1k tokens //renamed to ERNIE-Lite-8K
...
...
relay/channel/claude/constants.go
View file @
94773754
...
...
@@ -8,6 +8,7 @@ var ModelList = []string{
"claude-3-sonnet-20240229"
,
"claude-3-opus-20240229"
,
"claude-3-haiku-20240307"
,
"claude-3-5-sonnet-20240620"
,
}
var
ChannelName
=
"claude"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment