Skip to content
Open
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
42 changes: 42 additions & 0 deletions internal/providers/configs/vertexai.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,48 @@
"default_max_tokens": 50000,
"can_reason": true,
"supports_attachments": true
},
{
"id": "claude-opus-4-1-20250805",
"name": "Claude Opus 4.1",
"type": "anthropic",
"cost_per_1m_in": 15,
"cost_per_1m_out": 75,
"cost_per_1m_in_cached": 18.75,
"cost_per_1m_out_cached": 1.5,
"context_window": 200000,
"default_max_tokens": 32000,
"can_reason": true,
"has_reasoning_efforts": false,
"supports_attachments": true
},
{
"id": "claude-sonnet-4-20250514",
"name": "Claude Sonnet 4",
"type": "anthropic",
"cost_per_1m_in": 3,
"cost_per_1m_out": 15,
"cost_per_1m_in_cached": 3.75,
"cost_per_1m_out_cached": 0.3,
"context_window": 200000,
"default_max_tokens": 50000,
"can_reason": true,
"has_reasoning_efforts": false,
"supports_attachments": true
},
{
"id": "claude-3-5-haiku-20241022",
"name": "Claude 3.5 Haiku",
"type": "anthropic",
"cost_per_1m_in": 0.7999999999999999,
"cost_per_1m_out": 4,
"cost_per_1m_in_cached": 1,
"cost_per_1m_out_cached": 0.08,
"context_window": 200000,
"default_max_tokens": 5000,
"can_reason": false,
"has_reasoning_efforts": false,
"supports_attachments": true
}
]
}
1 change: 1 addition & 0 deletions pkg/catwalk/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type Provider struct {
type Model struct {
ID string `json:"id"`
Name string `json:"name"`
Type Type `json:"type"`
CostPer1MIn float64 `json:"cost_per_1m_in"`
CostPer1MOut float64 `json:"cost_per_1m_out"`
CostPer1MInCached float64 `json:"cost_per_1m_in_cached"`
Expand Down