chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 44 40" fill="currentColor">
|
||||
<path d="M30.4629 10.9775L0 39.6572L23.877 0L30.4629 10.9775ZM30.5039 19.8975C32.2655 19.8976 33.8971 20.8245 34.7988 22.3379L43.0703 36.2217C43.8645 37.5548 42.9033 39.2451 41.3516 39.2451H35.3623C33.6007 39.245 31.9691 38.3181 31.0674 36.8047L20.9951 19.8975H30.5039Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 374 B |
@@ -0,0 +1,6 @@
|
||||
base_model = "anthropic/claude-haiku-4-5"
|
||||
# AnyAPI accepts thinking.type="enabled" with budget_tokens, but documents no
|
||||
# model-specific 1,024..63,999 bounds or off mapping; these remain upstream facts.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
# https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024, max = 63_999 }]
|
||||
@@ -0,0 +1,10 @@
|
||||
base_model = "anthropic/claude-opus-4-6"
|
||||
# AnyAPI accepts thinking.type="enabled" with budget_tokens, but documents no
|
||||
# model-specific 1,024..127,999 bounds or off mapping; these remain upstream facts.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
# https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024, max = 127_999 }]
|
||||
|
||||
[experimental.modes.fast]
|
||||
cost = { input = 30, output = 150, cache_read = 3, cache_write = 37.5 }
|
||||
provider = { body = { speed = "fast" }, headers = { anthropic-beta = "fast-mode-2026-02-01" } }
|
||||
@@ -0,0 +1,9 @@
|
||||
base_model = "anthropic/claude-opus-4-7"
|
||||
# AnyAPI documents generic effort and thinking fields, but no Opus 4.7-specific
|
||||
# mapping or budget bounds; accepted schema does not prove effective control.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }]
|
||||
|
||||
[experimental.modes.fast]
|
||||
cost = { input = 30, output = 150, cache_read = 3, cache_write = 37.5 }
|
||||
provider = { body = { speed = "fast" }, headers = { anthropic-beta = "fast-mode-2026-02-01" } }
|
||||
@@ -0,0 +1,6 @@
|
||||
base_model = "anthropic/claude-sonnet-4-5"
|
||||
# AnyAPI accepts thinking.type="enabled" with budget_tokens, but documents no
|
||||
# model-specific 1,024..63,999 bounds or off mapping; these remain upstream facts.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
# https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024, max = 63_999 }]
|
||||
@@ -0,0 +1,6 @@
|
||||
base_model = "anthropic/claude-sonnet-4-6"
|
||||
# AnyAPI accepts thinking.type="enabled" with budget_tokens, but documents no
|
||||
# model-specific 1,024..63,999 bounds or off mapping; these remain upstream facts.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
# https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking
|
||||
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high"] }, { type = "budget_tokens", min = 1_024, max = 63_999 }]
|
||||
@@ -0,0 +1 @@
|
||||
base_model = "cohere/command-r-plus-08-2024"
|
||||
@@ -0,0 +1 @@
|
||||
base_model = "deepseek/deepseek-chat"
|
||||
@@ -0,0 +1,5 @@
|
||||
base_model = "deepseek/deepseek-reasoner"
|
||||
reasoning_options = []
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
@@ -0,0 +1,5 @@
|
||||
base_model = "deepseek/deepseek-v4-flash"
|
||||
reasoning_options = []
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
@@ -0,0 +1,5 @@
|
||||
base_model = "deepseek/deepseek-v4-pro"
|
||||
reasoning_options = []
|
||||
|
||||
[interleaved]
|
||||
field = "reasoning_content"
|
||||
@@ -0,0 +1,2 @@
|
||||
base_model = "google/gemini-2.5-flash-lite"
|
||||
reasoning_options = []
|
||||
@@ -0,0 +1,2 @@
|
||||
base_model = "google/gemini-2.5-flash"
|
||||
reasoning_options = []
|
||||
@@ -0,0 +1,2 @@
|
||||
base_model = "google/gemini-2.5-pro"
|
||||
reasoning_options = []
|
||||
@@ -0,0 +1,2 @@
|
||||
base_model = "google/gemini-3-flash-preview"
|
||||
reasoning_options = []
|
||||
@@ -0,0 +1,2 @@
|
||||
base_model = "google/gemini-3-pro-preview"
|
||||
reasoning_options = []
|
||||
@@ -0,0 +1,2 @@
|
||||
base_model = "mistral/devstral-2512"
|
||||
status = "deprecated"
|
||||
@@ -0,0 +1 @@
|
||||
base_model = "mistral/mistral-large-2512"
|
||||
@@ -0,0 +1 @@
|
||||
base_model = "openai/gpt-4.1-mini"
|
||||
@@ -0,0 +1 @@
|
||||
base_model = "openai/gpt-4.1"
|
||||
@@ -0,0 +1,5 @@
|
||||
base_model = "openai/gpt-5-mini"
|
||||
# AnyAPI accepts low/medium/high generically but documents no model-specific
|
||||
# effectiveness; unsupported parameters may be silently ignored.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
@@ -0,0 +1,5 @@
|
||||
base_model = "openai/gpt-5.1"
|
||||
# AnyAPI accepts low/medium/high generically but documents no model-specific
|
||||
# effectiveness; unsupported parameters may be silently ignored.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
@@ -0,0 +1,5 @@
|
||||
base_model = "openai/gpt-5.2"
|
||||
# AnyAPI accepts low/medium/high generically but documents no model-specific
|
||||
# effectiveness; unsupported parameters may be silently ignored.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
@@ -0,0 +1,9 @@
|
||||
base_model = "openai/gpt-5.4"
|
||||
# AnyAPI accepts low/medium/high generically but documents no model-specific
|
||||
# effectiveness; unsupported parameters may be silently ignored.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
|
||||
[experimental.modes.fast]
|
||||
cost = { input = 5, output = 30, cache_read = 0.5 }
|
||||
provider = { body = { service_tier = "priority" } }
|
||||
@@ -0,0 +1,5 @@
|
||||
base_model = "openai/gpt-5"
|
||||
# AnyAPI accepts low/medium/high generically but documents no model-specific
|
||||
# effectiveness; unsupported parameters may be silently ignored.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
@@ -0,0 +1,5 @@
|
||||
base_model = "openai/o3-mini"
|
||||
# AnyAPI accepts low/medium/high generically but documents no model-specific
|
||||
# effectiveness; unsupported parameters may be silently ignored.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
@@ -0,0 +1,5 @@
|
||||
base_model = "openai/o3"
|
||||
# AnyAPI accepts low/medium/high generically but documents no model-specific
|
||||
# effectiveness; unsupported parameters may be silently ignored.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
@@ -0,0 +1,5 @@
|
||||
base_model = "openai/o4-mini"
|
||||
# AnyAPI accepts low/medium/high generically but documents no model-specific
|
||||
# effectiveness; unsupported parameters may be silently ignored.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }]
|
||||
@@ -0,0 +1 @@
|
||||
base_model = "perplexity/sonar-pro"
|
||||
@@ -0,0 +1,2 @@
|
||||
base_model = "perplexity/sonar-reasoning-pro"
|
||||
reasoning_options = []
|
||||
@@ -0,0 +1,2 @@
|
||||
base_model = "xai/grok-4.3"
|
||||
reasoning_options = []
|
||||
@@ -0,0 +1,13 @@
|
||||
name = "AnyAPI"
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
# Raw HTTP reasoning controls (sources accessed 2026-06-25):
|
||||
# POST https://api.anyapi.ai/v1/chat/completions accepts top-level
|
||||
# reasoning_effort = "low" | "medium" | "high" and Anthropic-style
|
||||
# thinking = { type = "enabled", budget_tokens = <integer> }. No budget bounds
|
||||
# or explicit disabled value are documented. Unsupported model parameters may
|
||||
# be silently ignored, so schema acceptance is not meaningful model support.
|
||||
# https://docs.anyapi.ai/guides/parameters
|
||||
# https://docs.anyapi.ai/openapi.json
|
||||
env = ["ANYAPI_API_KEY"]
|
||||
api = "https://api.anyapi.ai/v1"
|
||||
doc = "https://docs.anyapi.ai"
|
||||
Reference in New Issue
Block a user