Skip to content

Commit

Permalink
chore: update cohere cost table to reflect newer models (#369)
Browse files Browse the repository at this point in the history
* chore: update cohere cost table to reflect newer models

Co-Authored-By: [email protected] <[email protected]>

* fix: restore removed cohere models and fix command-light pricing

Co-Authored-By: [email protected] <[email protected]>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and obinnascale3 authored Dec 12, 2024
1 parent 21fac8f commit 3caf605
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,29 @@ export const COHERE_PRICING: Record<string, CostTableEntry> = {
output: 0.002,
},
"command-r": {
input: 0.00015,
output: 0.0006,
input: 0.0005,
output: 0.0015,
},
"command-r-08-2024": {
input: 0.0005,
output: 0.0015,
},
"command-r-03-2024": {
input: 0.0005,
output: 0.0015,
},
"command-r-plus": {
input: 0.0025,
output: 0.01,
input: 0.003,
output: 0.015,
},
"command-r-plus-08-2024": {
input: 0.003,
output: 0.015,
},
"command-r-plus-04-2024": {
input: 0.003,
output: 0.015,
}
};

export const GROQ_PRICING: Record<string, CostTableEntry> = {
Expand Down

0 comments on commit 3caf605

Please sign in to comment.