Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/types/src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const modelInfoSchema = z.object({
maxThinkingTokens: z.number().nullish(),
contextWindow: z.number(),
supportsImages: z.boolean().optional(),
supportsComputerUse: z.boolean().optional(),
supportsBrowserUse: z.boolean().optional(),
supportsPromptCache: z.boolean(),
supportsReasoningBudget: z.boolean().optional(),
requiredReasoningBudget: z.boolean().optional(),
Expand Down
10 changes: 5 additions & 5 deletions packages/types/src/providers/anthropic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const anthropicModels = {
maxTokens: 64_000, // Overridden to 8k if `enableReasoningEffort` is false.
contextWindow: 200_000,
supportsImages: true,
supportsComputerUse: true,
supportsBrowserUse: true,
supportsPromptCache: true,
inputPrice: 3.0, // $3 per million input tokens
outputPrice: 15.0, // $15 per million output tokens
Expand All @@ -22,7 +22,7 @@ export const anthropicModels = {
maxTokens: 32_000, // Overridden to 8k if `enableReasoningEffort` is false.
contextWindow: 200_000,
supportsImages: true,
supportsComputerUse: true,
supportsBrowserUse: true,
supportsPromptCache: true,
inputPrice: 15.0, // $15 per million input tokens
outputPrice: 75.0, // $75 per million output tokens
Expand All @@ -34,7 +34,7 @@ export const anthropicModels = {
maxTokens: 128_000, // Unlocked by passing `beta` flag to the model. Otherwise, it's 64k.
contextWindow: 200_000,
supportsImages: true,
supportsComputerUse: true,
supportsBrowserUse: true,
supportsPromptCache: true,
inputPrice: 3.0, // $3 per million input tokens
outputPrice: 15.0, // $15 per million output tokens
Expand All @@ -47,7 +47,7 @@ export const anthropicModels = {
maxTokens: 8192, // Since we already have a `:thinking` virtual model we aren't setting `supportsReasoningBudget: true` here.
contextWindow: 200_000,
supportsImages: true,
supportsComputerUse: true,
supportsBrowserUse: true,
supportsPromptCache: true,
inputPrice: 3.0, // $3 per million input tokens
outputPrice: 15.0, // $15 per million output tokens
Expand All @@ -58,7 +58,7 @@ export const anthropicModels = {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,
supportsComputerUse: true,
supportsBrowserUse: true,
supportsPromptCache: true,
inputPrice: 3.0, // $3 per million input tokens
outputPrice: 15.0, // $15 per million output tokens
Expand Down
46 changes: 23 additions & 23 deletions packages/types/src/providers/bedrock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const bedrockModels = {
maxTokens: 5000,
contextWindow: 300_000,
supportsImages: true,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: true,
inputPrice: 0.8,
outputPrice: 3.2,
Expand All @@ -31,7 +31,7 @@ export const bedrockModels = {
maxTokens: 5000,
contextWindow: 300_000,
supportsImages: true,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 1.0,
outputPrice: 4.0,
Expand All @@ -43,7 +43,7 @@ export const bedrockModels = {
maxTokens: 5000,
contextWindow: 300_000,
supportsImages: true,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: true,
inputPrice: 0.06,
outputPrice: 0.24,
Expand All @@ -57,7 +57,7 @@ export const bedrockModels = {
maxTokens: 5000,
contextWindow: 128_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: true,
inputPrice: 0.035,
outputPrice: 0.14,
Expand All @@ -71,7 +71,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,
supportsComputerUse: true,
supportsBrowserUse: true,
supportsPromptCache: true,
supportsReasoningBudget: true,
inputPrice: 3.0,
Expand All @@ -86,7 +86,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,
supportsComputerUse: true,
supportsBrowserUse: true,
supportsPromptCache: true,
supportsReasoningBudget: true,
inputPrice: 15.0,
Expand All @@ -101,7 +101,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,
supportsComputerUse: true,
supportsBrowserUse: true,
supportsPromptCache: true,
supportsReasoningBudget: true,
inputPrice: 3.0,
Expand All @@ -116,7 +116,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,
supportsComputerUse: true,
supportsBrowserUse: true,
supportsPromptCache: true,
inputPrice: 3.0,
outputPrice: 15.0,
Expand Down Expand Up @@ -210,7 +210,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 128_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.72,
outputPrice: 0.72,
Expand All @@ -220,7 +220,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 128_000,
supportsImages: true,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.72,
outputPrice: 0.72,
Expand All @@ -230,7 +230,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 128_000,
supportsImages: true,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.16,
outputPrice: 0.16,
Expand All @@ -240,7 +240,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 128_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.15,
outputPrice: 0.15,
Expand All @@ -250,7 +250,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 128_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.1,
outputPrice: 0.1,
Expand All @@ -260,7 +260,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 128_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 2.4,
outputPrice: 2.4,
Expand All @@ -270,7 +270,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 128_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.72,
outputPrice: 0.72,
Expand All @@ -280,7 +280,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 128_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.9,
outputPrice: 0.9,
Expand All @@ -290,7 +290,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 8_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.22,
outputPrice: 0.22,
Expand All @@ -300,7 +300,7 @@ export const bedrockModels = {
maxTokens: 2048,
contextWindow: 8_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 2.65,
outputPrice: 3.5,
Expand All @@ -309,7 +309,7 @@ export const bedrockModels = {
maxTokens: 2048,
contextWindow: 4_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.3,
outputPrice: 0.6,
Expand All @@ -318,7 +318,7 @@ export const bedrockModels = {
maxTokens: 4096,
contextWindow: 8_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.15,
outputPrice: 0.2,
Expand All @@ -328,7 +328,7 @@ export const bedrockModels = {
maxTokens: 4096,
contextWindow: 8_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.2,
outputPrice: 0.6,
Expand All @@ -338,7 +338,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 8_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.1,
description: "Amazon Titan Text Embeddings",
Expand All @@ -347,7 +347,7 @@ export const bedrockModels = {
maxTokens: 8192,
contextWindow: 8_000,
supportsImages: false,
supportsComputerUse: false,
supportsBrowserUse: false,
supportsPromptCache: false,
inputPrice: 0.02,
description: "Amazon Titan Text Embeddings V2",
Expand Down
Loading