Compare commits

...
1 Commits
11 changed files with 55 additions and 0 deletions

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): unknown — quickstart + integration guides document model/messages only; no cache key field found after 3 sources.
# Use headers: unknown — no cache routing header documented.
# Use body: unknown — chat schema covers model/messages/tools/streaming; stable prefixes route to upstream caches where available.
# Cache policy: supported upstream prefix reuse; keep shared prefix stable with identical model + route; confirm via usage.prompt_tokens_details.cached_tokens where reported.
# Docs: https://unorouter.com/en/docs/platform/quickstart
name = "UnoRouter"
env = ["UNOROUTER_API_KEY"]
npm = "@ai-sdk/openai-compatible"
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): supported — native Solar prefix cache with per-session key.
# Use headers: unknown — cache routing via body key; no header control documented.
# Use body: `prompt_cache_key` — top-level chat field; stable value per session/conversation.
# Cache policy: place static prefix first, reuse same `prompt_cache_key` within the session; Cached Token billing at published cached rate.
# Docs: https://console.upstage.ai/api/chat
name = "Upstage"
# Raw POST /v1/solar/chat/completions uses top-level reasoning_effort.
# solar-pro2: "high" enables reasoning; omission disables it. solar-pro3:
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): unknown — Model API + v2 chats API define chat with model/messages/system/modelConfiguration; no cache key field found after 3 sources.
# Use headers: unknown — no cache routing header documented.
# Use body: unknown — chat accepts documented model/messages fields only; keep payload to documented fields.
# Cache policy: supported prefix stability; generation lives on the native v2 chats API; keep shared prefix stable with stable inputs.
# Docs: https://v0.dev/docs/api/model
name = "v0"
env = ["V0_API_KEY"]
npm = "@ai-sdk/vercel"
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): unknown — chat table lists model/messages/max_tokens/stream/temperature; no cache key field found after 3 sources.
# Use headers: unknown — no cache routing header documented.
# Use body: unknown — chat schema covers documented model/messages fields; keep payload to documented fields.
# Cache policy: supported upstream reuse pattern; keep shared prefix stable for upstream prefix reuse where available.
# Docs: https://vancine.com/docs/chat
name = "Vancine"
npm = "@ai-sdk/openai-compatible"
env = ["VANCINE_API_KEY"]
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): supported — automatic prefix cache for all models.
# Use headers: unknown — cache control via body fields.
# Use body: `prompt_cache_key` routing hint for all models; `cache_control` ephemeral markers for Claude.
# Cache policy: reuse a stable `prompt_cache_key`, add Claude `cache_control` breakpoints, confirm via usage.prompt_tokens_details.cached_tokens.
# Docs: https://docs.venice.ai/guides/features/prompt-caching
name = "Venice AI"
env = ["VENICE_API_KEY"]
npm = "venice-ai-sdk-provider"
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): supported — automatic gateway caching with implicit upstream reuse.
# Use headers: supported affinity for sticky routing; include session affinity header for locality.
# Use body: `providerOptions.gateway` with caching='auto' (plus cache_ttl / cache_anchor_items on Responses).
# Cache policy: enable gateway caching='auto', keep prefix stable, pin provider route where needed; confirm via cached-token usage.
# Docs: https://vercel.com/docs/ai-gateway/models-and-providers/automatic-caching
name = "Vercel AI Gateway"
env = ["AI_GATEWAY_API_KEY"]
npm = "@ai-sdk/gateway"
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): supported — automatic implicit cache with Cached Token billing.
# Use headers: unknown — no cache routing header documented.
# Use body: unknown — schema lists model/messages/tools/reasoning_effort; hits bill at Cached Input rate with no extra key step.
# Cache policy: keep shared prefix stable for implicit reuse; confirm via Cached Input billing on model pages.
# Docs: https://docs.vivgrid.com/models
name = "Vivgrid"
env = ["VIVGRID_API_KEY"]
api = "https://api.vivgrid.com/v1"
@@ -1,3 +1,8 @@
# Cache key (chat): supported via separate Context API — `context_id` from ContextCreate, applied on ContextChatCompletions.
# Use headers: unknown — cache routing via body `context_id`.
# Use body: `context_id` on ContextChatCompletions; Responses caching with previous_response_id plus caching enabled.
# Cache policy: call ContextCreate once, reuse `context_id` across turns with stable prefix; confirm via usage.prompt_tokens_details.cached_tokens.
# Docs: https://docs.byteplus.com/en/docs/ModelArk/1346559
name = "Volcengine Ark Coding Plan"
env = ["ARK_CODING_PLAN_API_KEY"]
npm = "@ai-sdk/openai-compatible"
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): supported via separate Context API — `context_id` from ContextCreate, applied on ContextChatCompletions.
# Use headers: unknown — cache routing via body `context_id`.
# Use body: `context_id` on ContextChatCompletions; Responses caching with previous_response_id plus caching enabled.
# Cache policy: call ContextCreate once, reuse `context_id` across turns with stable prefix; confirm via usage.prompt_tokens_details.cached_tokens.
# Docs: https://docs.byteplus.com/en/docs/ModelArk/1346559
name = "Volcengine Ark"
env = ["ARK_API_KEY"]
npm = "@ai-sdk/openai-compatible"
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): unknown — request tables list model/messages/tools with prompt/completion/total usage; no cache key field found after 3 sources.
# Use headers: unknown — no cache routing header documented.
# Use body: unknown — keep payload to documented chat fields.
# Cache policy: supported prefix stability; keep shared prefix stable with identical model + params; treat usage as uncached where no cached-token field is reported.
# Docs: https://docs.vultr.com/products/compute/serverless-inference/management/usage/chat
name = "Vultr"
# POST /v1/chat/completions documents no reasoning request field or control.
# Responses may contain choices[].message.reasoning; a -normalize model suffix
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): supported — automatic server-side prefix cache with Cache-rate billing.
# Use headers: unknown — hits are automatic with no header flag.
# Use body: unknown — chat table defines model/messages/sampling only; keep payload to documented fields.
# Cache policy: keep shared prefix stable; repeated prefixes bill at the Cache rate; confirm via model-card Cache pricing.
# Docs: https://docs.wafer.ai/serverless/api-reference
name = "Wafer"
# POST /v1/chat/completions normalizes thinking.type="enabled"|"disabled",
# reasoning_effort="none"|"low"|"medium"|"high"|"max", and