Merge pull request #2081 from anomalyco/feat/vertex-reasoning-options
feat(google-vertex): add reasoning options
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-3-5-haiku-20241022"
|
||||
status = "deprecated"
|
||||
|
||||
[cost]
|
||||
input = 0.8
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
base_model = "anthropic/claude-3-5-sonnet-20241022"
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
output = 15
|
||||
cache_read = 0.3
|
||||
cache_write = 3.75
|
||||
@@ -1,7 +0,0 @@
|
||||
base_model = "anthropic/claude-3-7-sonnet-20250219"
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
output = 15
|
||||
cache_read = 0.3
|
||||
cache_write = 3.75
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-haiku-4-5-20251001"
|
||||
reasoning_options = [{ type = "budget_tokens", min = 1_024 }]
|
||||
|
||||
[cost]
|
||||
input = 1
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
base_model = "anthropic/claude-opus-4-1-20250805"
|
||||
reasoning_options = [{ type = "budget_tokens", min = 1_024 }]
|
||||
status = "deprecated"
|
||||
|
||||
[cost]
|
||||
input = 15
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-4-5-20251101"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024 }]
|
||||
|
||||
[cost]
|
||||
input = 5
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-4-6"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }, { type = "budget_tokens", min = 1_024 }]
|
||||
|
||||
[cost]
|
||||
input = 5
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-4-7"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
input = 5
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-4-8"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
input = 5
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
base_model = "anthropic/claude-opus-4-20250514"
|
||||
reasoning_options = [{ type = "budget_tokens", min = 1_024 }]
|
||||
status = "deprecated"
|
||||
|
||||
[cost]
|
||||
input = 15
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-sonnet-4-5-20250929"
|
||||
reasoning_options = [{ type = "budget_tokens", min = 1_024 }]
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-sonnet-4-6"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }, { type = "budget_tokens", min = 1_024 }]
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
base_model = "anthropic/claude-sonnet-4-20250514"
|
||||
reasoning_options = [{ type = "budget_tokens", min = 1_024 }]
|
||||
status = "deprecated"
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-3-5-haiku-20241022"
|
||||
status = "deprecated"
|
||||
|
||||
[cost]
|
||||
input = 0.8
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
base_model = "anthropic/claude-3-5-sonnet-20241022"
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
output = 15
|
||||
cache_read = 0.3
|
||||
cache_write = 3.75
|
||||
|
||||
[provider]
|
||||
npm = "@ai-sdk/google-vertex/anthropic"
|
||||
@@ -1,10 +0,0 @@
|
||||
base_model = "anthropic/claude-3-7-sonnet-20250219"
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
output = 15
|
||||
cache_read = 0.3
|
||||
cache_write = 3.75
|
||||
|
||||
[provider]
|
||||
npm = "@ai-sdk/google-vertex/anthropic"
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-haiku-4-5-20251001"
|
||||
reasoning_options = [{ type = "budget_tokens", min = 1_024 }]
|
||||
|
||||
[cost]
|
||||
input = 1
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
base_model = "anthropic/claude-opus-4-1-20250805"
|
||||
reasoning_options = [{ type = "budget_tokens", min = 1_024 }]
|
||||
status = "deprecated"
|
||||
|
||||
[cost]
|
||||
input = 15
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-4-5-20251101"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024 }]
|
||||
|
||||
[cost]
|
||||
input = 5
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-4-6"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }, { type = "budget_tokens", min = 1_024 }]
|
||||
|
||||
[cost]
|
||||
input = 5
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-4-7"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
input = 5
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-opus-4-8"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
|
||||
|
||||
[cost]
|
||||
input = 5
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
base_model = "anthropic/claude-opus-4-20250514"
|
||||
reasoning_options = [{ type = "budget_tokens", min = 1_024 }]
|
||||
status = "deprecated"
|
||||
|
||||
[cost]
|
||||
input = 15
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-sonnet-4-5-20250929"
|
||||
reasoning_options = [{ type = "budget_tokens", min = 1_024 }]
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "anthropic/claude-sonnet-4-6"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "max"] }, { type = "budget_tokens", min = 1_024 }]
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
base_model = "anthropic/claude-sonnet-4-20250514"
|
||||
reasoning_options = [{ type = "budget_tokens", min = 1_024 }]
|
||||
status = "deprecated"
|
||||
|
||||
[cost]
|
||||
input = 3
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
base_model = "google/gemini-2.0-flash-lite"
|
||||
base_model_omit = ["structured_output"]
|
||||
|
||||
[cost]
|
||||
input = 0.075
|
||||
output = 0.3
|
||||
@@ -1,23 +0,0 @@
|
||||
name = "Gemini 2.0 Flash"
|
||||
family = "gemini-flash"
|
||||
release_date = "2024-12-11"
|
||||
last_updated = "2024-12-11"
|
||||
attachment = true
|
||||
reasoning = false
|
||||
temperature = true
|
||||
knowledge = "2024-06"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.15
|
||||
output = 0.60
|
||||
cache_read = 0.025
|
||||
|
||||
[limit]
|
||||
context = 1_048_576
|
||||
output = 8_192
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "audio", "video", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,23 +0,0 @@
|
||||
name = "Gemini 2.5 Flash Lite Preview 06-17"
|
||||
family = "gemini-flash-lite"
|
||||
release_date = "2025-06-17"
|
||||
last_updated = "2025-06-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2025-01"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.10
|
||||
output = 0.40
|
||||
cache_read = 0.025
|
||||
|
||||
[limit]
|
||||
context = 65_536
|
||||
output = 65_536
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "audio", "video", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,5 +1,6 @@
|
||||
base_model = "google/gemini-2.5-flash-lite"
|
||||
base_model_omit = ["structured_output"]
|
||||
reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 512, max = 24_576 }]
|
||||
|
||||
[cost]
|
||||
input = 0.1
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
name = "Gemini 2.5 Flash Preview 09-25"
|
||||
family = "gemini-flash"
|
||||
release_date = "2025-09-25"
|
||||
last_updated = "2025-09-25"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
knowledge = "2025-01"
|
||||
tool_call = true
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 0.30
|
||||
output = 2.50
|
||||
cache_read = 0.075
|
||||
cache_write = 0.383
|
||||
|
||||
[limit]
|
||||
context = 1_048_576
|
||||
output = 65_536
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "audio", "video", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -4,6 +4,7 @@ release_date = "2025-06-17"
|
||||
last_updated = "2025-06-17"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 0, max = 24_576 }]
|
||||
temperature = true
|
||||
knowledge = "2025-01"
|
||||
tool_call = true
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
base_model = "google/gemini-2.5-pro"
|
||||
base_model_omit = ["structured_output"]
|
||||
reasoning_options = [{ type = "budget_tokens", min = 128, max = 32_768 }]
|
||||
|
||||
[cost]
|
||||
input = 1.25
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "google/gemini-3-flash-preview"
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 0.5
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
name = "Gemini 3 Pro Preview"
|
||||
family = "gemini-pro"
|
||||
release_date = "2025-11-18"
|
||||
last_updated = "2025-11-18"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
temperature = true
|
||||
tool_call = true
|
||||
structured_output = true
|
||||
knowledge = "2025-01"
|
||||
open_weights = false
|
||||
|
||||
[cost]
|
||||
input = 2.00
|
||||
output = 12.00
|
||||
cache_read = 0.20
|
||||
|
||||
[[cost.tiers]]
|
||||
tier = { size = 200_000 }
|
||||
input = 4.00
|
||||
output = 18.00
|
||||
cache_read = 0.40
|
||||
|
||||
[limit]
|
||||
context = 1_048_576
|
||||
output = 65_536
|
||||
|
||||
[modalities]
|
||||
input = ["text", "image", "video", "audio", "pdf"]
|
||||
output = ["text"]
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "google/gemini-3.1-flash-lite-preview"
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 0.25
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "google/gemini-3.1-flash-lite"
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 0.25
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "google/gemini-3.1-pro-preview-customtools"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 2
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "google/gemini-3.1-pro-preview"
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 2
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
base_model = "google/gemini-3.5-flash"
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 1.5
|
||||
|
||||
@@ -4,6 +4,7 @@ release_date = "2025-09-25"
|
||||
last_updated = "2025-09-25"
|
||||
attachment = true
|
||||
reasoning = true
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
temperature = true
|
||||
knowledge = "2025-01"
|
||||
tool_call = true
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
base_model = "google/gemini-flash-lite-latest"
|
||||
base_model_omit = ["structured_output"]
|
||||
reasoning_options = [{ type = "effort", values = ["minimal", "low", "medium", "high"] }]
|
||||
|
||||
[cost]
|
||||
input = 0.1
|
||||
|
||||
Reference in New Issue
Block a user