Skip to content

Commit

Permalink
feat: update output limit
Browse files Browse the repository at this point in the history
  • Loading branch information
paradite committed Jul 31, 2024
1 parent acbea40 commit f38e348
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "llm-info",
"version": "1.0.6",
"version": "1.0.7",
"description": "Information on LLM models, context window token limit, output token limit, pricing and more",
"main": "dist/index.js",
"type": "module",
Expand Down
6 changes: 5 additions & 1 deletion src/modelInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export type ModelInfo = {
pricePerMillionInputTokens: number | null;
pricePerMillionOutputTokens: number | null;
tokenizerId: string | null;
notes?: string;
notesUrl?: string;
};

export const ModelInfoMap: Record<ModelLike, ModelInfo> = {
Expand Down Expand Up @@ -43,10 +45,12 @@ export const ModelInfoMap: Record<ModelLike, ModelInfo> = {
name: 'Claude 3.5 Sonnet',
provider: AI_PROVIDERS.ANTHROPIC,
contextWindowTokenLimit: 200000,
outputTokenLimit: 4096,
outputTokenLimit: 8192,
pricePerMillionInputTokens: 3,
pricePerMillionOutputTokens: 15,
tokenizerId: 'Xenova/claude-tokenizer',
notes: '8192 output tokens is in beta.',
notesUrl: 'https://docs.anthropic.com/en/docs/about-claude/models',
},
[NonModelEnum['chatgpt']]: {
name: 'ChatGPT',
Expand Down

0 comments on commit f38e348

Please sign in to comment.