Skip to content
Merged
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
9 changes: 9 additions & 0 deletions src/aws-bedrock/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ export const axModelInfoBedrock: AxModelInfo[] = [
// ========================================================================
// Claude Models
// ========================================================================
{
name: AxAIBedrockModel.ClaudeOpus45,
currency: 'usd',
promptTokenCostPer1M: 5.0,
completionTokenCostPer1M: 25.0,
maxTokens: 64000,
contextWindow: 200000,
supported: { thinkingBudget: true, showThoughts: true },
},
{
name: AxAIBedrockModel.ClaudeSonnet4,
currency: 'usd',
Expand Down
1 change: 1 addition & 0 deletions src/aws-bedrock/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import type { AxModelConfig } from '@ax-llm/ax';
// All Bedrock models
export enum AxAIBedrockModel {
// Claude models
ClaudeOpus45 = 'us.anthropic.claude-opus-4-5-20251101-v1:0',
ClaudeSonnet4 = 'us.anthropic.claude-sonnet-4-20250514-v1:0',
Claude37Sonnet = 'anthropic.claude-3-7-sonnet-20250219-v1:0',
Claude35Sonnet = 'anthropic.claude-3-5-sonnet-20240620-v1:0',
Expand Down
25 changes: 25 additions & 0 deletions src/ax/ai/anthropic/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,31 @@ import type { AxModelInfo } from '../types.js';
import { AxAIAnthropicModel, AxAIAnthropicVertexModel } from './types.js';

export const axModelInfoAnthropic: AxModelInfo[] = [
// 4.5 Opus (2025-11)
{
name: AxAIAnthropicModel.Claude45Opus,
currency: 'usd',
promptTokenCostPer1M: 5.0,
completionTokenCostPer1M: 25.0,
maxTokens: 64000,
supported: {
thinkingBudget: true,
showThoughts: true,
structuredOutputs: true,
},
},
{
name: AxAIAnthropicVertexModel.Claude45Opus,
currency: 'usd',
promptTokenCostPer1M: 5.0,
completionTokenCostPer1M: 25.0,
maxTokens: 64000,
supported: {
thinkingBudget: true,
showThoughts: true,
structuredOutputs: true,
},
},
// 4.5 Sonnet (2025-09)
{
name: AxAIAnthropicModel.Claude45Sonnet,
Expand Down
2 changes: 2 additions & 0 deletions src/ax/ai/anthropic/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { AxModelConfig } from '../types.js';

export enum AxAIAnthropicModel {
Claude45Opus = 'claude-opus-4-5-20251101',
Claude41Opus = 'claude-opus-4-1-20250805',
Claude4Opus = 'claude-opus-4-20250514',
Claude4Sonnet = 'claude-sonnet-4-20250514',
Expand All @@ -20,6 +21,7 @@ export enum AxAIAnthropicModel {
}

export enum AxAIAnthropicVertexModel {
Claude45Opus = 'claude-opus-4-5@20251101',
Claude41Opus = 'claude-opus-4-1@20250805',
Claude4Opus = 'claude-opus-4@20250514',
Claude45Sonnet = 'claude-sonnet-4-5@20250929',
Expand Down