Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
322afd11aa | ||
|
|
fed45a7605 |
No files matched your search
@@ -1,3 +1,5 @@
|
||||
# Prompt caching (chat): unknown.
|
||||
# Docs: https://unorouter.com/en/docs/platform/quickstart
|
||||
name = "UnoRouter"
|
||||
env = ["UNOROUTER_API_KEY"]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# Prompt caching (chat): supported — native Solar prefix cache with per-session key.
|
||||
# Use body: `prompt_cache_key` — top-level chat field; stable value per session/conversation.
|
||||
# To get a hit: 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:
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Prompt caching (chat): unknown.
|
||||
# Docs: https://v0.dev/docs/api/model
|
||||
name = "v0"
|
||||
env = ["V0_API_KEY"]
|
||||
npm = "@ai-sdk/vercel"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Prompt caching (chat): unknown.
|
||||
# Docs: https://vancine.com/docs/chat
|
||||
name = "Vancine"
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
env = ["VANCINE_API_KEY"]
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# Prompt caching (chat): supported — automatic prefix cache for all models.
|
||||
# Use body: `prompt_cache_key` routing hint for all models; `cache_control` ephemeral markers for Claude.
|
||||
# To get a hit: 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"
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
# Prompt caching (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).
|
||||
# To get a hit: 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"
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# Prompt caching (chat): supported — automatic implicit cache with Cached Token billing.
|
||||
# To get a hit: 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,7 @@
|
||||
# Prompt caching (chat): supported via separate Context API — `context_id` from ContextCreate, applied on ContextChatCompletions.
|
||||
# Use body: `context_id` on ContextChatCompletions; Responses caching with previous_response_id plus caching enabled.
|
||||
# To get a hit: 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"
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# Prompt caching (chat): supported via separate Context API — `context_id` from ContextCreate, applied on ContextChatCompletions.
|
||||
# Use body: `context_id` on ContextChatCompletions; Responses caching with previous_response_id plus caching enabled.
|
||||
# To get a hit: 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"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# Prompt caching (chat): unknown.
|
||||
# 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
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# Prompt caching (chat): supported — automatic server-side prefix cache with Cache-rate billing.
|
||||
# To get a hit: 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
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Prompt caching (chat): unknown — no documented cache mechanism.
|
||||
# Docs: https://docs.zenifra.com/en/docs/ai
|
||||
name = "Zenifra"
|
||||
env = ["ZENIFRA_AI_KEY"]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
# Prompt caching (chat): explicit breakpoint cache via body `cache_control` markers plus automatic prefix cache across routed models.
|
||||
# Use headers: cache activity surfaces in ZenMux Logs token details as `input_cache_read` and `input_cache_write`.
|
||||
# Use body: `cache_control` with `type: ephemeral` on stable blocks; tools, system, then messages order; up to 4 breakpoints.
|
||||
# To get a hit: place stable content first with `cache_control` on each reusable segment; minima 1024 Claude Sonnet/Opus, 2048 Haiku 3.5, 256 Qwen; reuse within the 5m TTL.
|
||||
# Docs: https://docs.zenmux.ai/guide/advanced/prompt-cache.html
|
||||
# OpenAI POST /api/v1/chat/completions: `reasoning_effort`, or `reasoning`
|
||||
# with `effort`, `max_tokens`, and `enabled`.
|
||||
# Anthropic POST /api/anthropic/v1/messages: `thinking.type` enabled|disabled;
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
# Prompt caching (chat): automatic implicit prefix cache on the coding chat endpoint with Cached Input credit deduction.
|
||||
# Use headers: standard Bearer auth on POST /api/coding/paas/v4/chat/completions; Cached Input deduction visible in billing detail.
|
||||
# Use body: model with messages; stable system prompt first with chat history appended.
|
||||
# To get a hit: replay identical system prompts and stable prefixes; Cached Input deduction confirms reuse.
|
||||
# Docs: https://docs.bigmodel.cn/cn/coding-plan/overview
|
||||
# OpenAI Chat endpoint: POST https://open.bigmodel.cn/api/coding/paas/v4/chat/completions.
|
||||
# GLM-5.2 maps low|medium|high to high and xhigh|max|ultracode to max.
|
||||
# https://docs.bigmodel.cn/cn/coding-plan/latest-model (accessed 2026-06-25)
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
# Prompt caching (chat): automatic implicit context cache; repeated system prompts and conversation history reuse prior compute at a discount.
|
||||
# Use headers: standard Bearer auth on POST /api/paas/v4/chat/completions; cache outcomes surface in `usage.prompt_tokens_details.cached_tokens`.
|
||||
# Use body: model with messages; stable system prompt first with history appended.
|
||||
# To get a hit: replay identical system prompts and stable prefixes; confirm via `usage.prompt_tokens_details.cached_tokens`.
|
||||
# Docs: https://docs.bigmodel.cn/cn/guide/capabilities/cache
|
||||
# Chat reasoning: POST https://open.bigmodel.cn/api/paas/v4/chat/completions with
|
||||
# `thinking.type = "enabled" | "disabled"` (default: enabled).
|
||||
# https://docs.bigmodel.cn/cn/guide/capabilities/thinking (accessed 2026-06-25)
|
||||
|
||||
Reference in new issue
Block a user