Skip to content

Commit

Permalink
chore: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjastrzebski committed Apr 10, 2024
1 parent 7763771 commit bbe69e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/engine/providers/anthropic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Anthropic: Provider = {
// Anthropic models: https://docs.anthropic.com/claude/docs/models-overview
defaultModel: 'claude-3-sonnet-20240229',

// Price per 1k tokens [input, output].
// Price per 1M tokens [input, output].
// Source: https://www.anthropic.com/api
modelPricing: {
'claude-3-haiku-20240307': { inputTokensCost: 0.25, outputTokensCost: 1.25 },
Expand Down
6 changes: 3 additions & 3 deletions src/engine/providers/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ export interface Provider {
}

export interface ModelPricing {
/** Cost per 1k input tokens */
/** Cost per 1M input tokens */
inputTokensCost?: number;

/** Cost per 1k output tokens */
/** Cost per 1M output tokens */
outputTokensCost?: number;

/** Cost per 1k requests */
/** Cost per 1M requests */
requestsCost?: number;
}

Expand Down

0 comments on commit bbe69e8

Please sign in to comment.