Skip to content

Commit

Permalink
feat: support deepseek
Browse files Browse the repository at this point in the history
feat: support deepseek
Co-Authored-By: Minghan Zhang <[email protected]>
  • Loading branch information
Sh1n3zZ and zmh-program committed Jun 29, 2024
1 parent afb13dd commit bad4689
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/admin/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export const modelColorMapper: Record<string, string> = {
"gemini-1.5-pro-latest": "red-500",
"gemini-1.5-flash-latest": "red-500",

"deepseek-coder": "blue-700",
"deepseek-chat": "blue-700",

"bing-creative": "blue-700",
"bing-balanced": "blue-700",
"bing-precise": "blue-700",
Expand Down
6 changes: 6 additions & 0 deletions app/src/admin/datasets/charge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@ export const pricing: PricingDataset = [
output: 0.1,
currency: Currency.CNY,
},
{
models: ["deepseek-chat", "deepseek-coder"],
input: 0.001,
output: 0.002,
currency: Currency.CNY,
},
{
models: ["360-gpt-v9"],
input: 0.12,
Expand Down

0 comments on commit bad4689

Please sign in to comment.