Skip to content

Commit

Permalink
chore(mistral): add codestral (promptfoo#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
typpo committed May 30, 2024
1 parent 70637e0 commit 87c2033
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/providers/mistral.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ export class MistralChatCompletionProvider implements ApiProvider {
output: 0.024 / 1000,
},
})),
...['codestral-latest'].map((model) => ({
id: model,
cost: {
input: 0.002 / 1000,
output: 0.006 / 1000,
},
})),
];

static MISTRAL_CHAT_MODELS_NAMES = MistralChatCompletionProvider.MISTRAL_CHAT_MODELS.map(
Expand Down

0 comments on commit 87c2033

Please sign in to comment.