Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad43e14f5d |
No files matched your search
@@ -1,5 +1,3 @@
|
||||
# Prompt caching (chat): unknown.
|
||||
# Docs: https://docs.arcee.ai/api-reference/chat-completion
|
||||
name = "Arcee"
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
env = ["ARCEE_API_KEY"]
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
# Prompt caching (chat): Local OpenAI-compatible server with automatic prefix reuse via the loaded backend KV cache plus automatic TurboQuant KV compression.
|
||||
# To get a hit: Replay the same model with a byte-stable shared prefix and append-only turns; keep long system content plus tools first.
|
||||
# Docs: https://atomic.chat/blog/guides/what-is-kv-cache
|
||||
name = "Atomic Chat"
|
||||
env = ["ATOMIC_CHAT_API_KEY"]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
# Prompt caching (chat): Routing gateway with automatic prefix reuse plus explicit per-conversation grouping for OpenAI-family models.
|
||||
# Use body: `prompt_cache_key` stable per conversation sharing a prefix; `prompt_cache_retention: "24h"` extends lifetime on gpt-4.1 plus gpt-5 family models.
|
||||
# To get a hit: Place reusable system content first with append-only growth, reuse one stable key per shared prefix, confirm via usage.prompt_tokens_details.cached_tokens.
|
||||
# Docs: https://docs.auriko.ai/guides/prompt-caching
|
||||
name = "Auriko"
|
||||
env = ["AURIKO_API_KEY"]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
# Prompt caching (chat): Automatic prefix reuse with keyed grouping plus explicit breakpoints on GPT-5.6 family plus later.
|
||||
# Use body: `prompt_cache_key` with one stable value per shared prefix (~15 req/min per prefix plus key); `prompt_cache_options` mode implicit|explicit with ttl 30m; `prompt_cache_breakpoint` pinning the stable-prefix boundary (up to 4 new writes per request, reads consider the recent 50); `prompt_cache_retention` selecting retention on pre-5.6 models.
|
||||
# To get a hit: Keep the first 1024 plus tokens identical plus append-only with stable tools order, reuse one key per shared prefix, confirm via usage.prompt_tokens_details.cached_tokens plus cache_write_tokens on Standard deployments.
|
||||
# Docs: https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/prompt-caching
|
||||
name = "Azure Cognitive Services"
|
||||
env = ["AZURE_COGNITIVE_SERVICES_RESOURCE_NAME", "AZURE_COGNITIVE_SERVICES_API_KEY"]
|
||||
npm = "@ai-sdk/azure"
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
# Prompt caching (chat): Automatic prefix reuse with keyed grouping plus explicit breakpoints on GPT-5.6 family plus later.
|
||||
# Use body: `prompt_cache_key` with one stable value per shared prefix (~15 req/min per prefix plus key); `prompt_cache_options` mode implicit|explicit with ttl 30m; `prompt_cache_breakpoint` pinning the stable-prefix boundary (up to 4 new writes per request, reads consider the recent 50); `prompt_cache_retention` selecting retention on pre-5.6 models.
|
||||
# To get a hit: Keep the first 1024 plus tokens identical plus append-only with stable tools order, reuse one key per shared prefix, confirm via usage.prompt_tokens_details.cached_tokens plus cache_write_tokens on Standard deployments.
|
||||
# Docs: https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/prompt-caching
|
||||
name = "Azure"
|
||||
env = ["AZURE_RESOURCE_NAME", "AZURE_API_KEY"]
|
||||
npm = "@ai-sdk/azure"
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Prompt caching (chat): unknown.
|
||||
# Docs: https://alipaytbox.yuque.com/sxs0ba/ling/intro
|
||||
name = "Bailing"
|
||||
env = ["BAILING_API_TOKEN"]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
# Prompt caching (chat): Automatic KV prefix reuse with discounted cached input tokens plus session-aware routing to the replica holding the shared prefix.
|
||||
# Use headers: `x-session-affinity` stable per conversation or agent task across related requests.
|
||||
# To get a hit: Keep a stable shared prefix with append-only growth on the same model, reuse one session value per conversation, confirm via usage.prompt_tokens_details.cached_tokens.
|
||||
# Docs: https://docs.baseten.co/inference/model-apis/pricing-and-limits
|
||||
name = "Baseten"
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
# Raw HTTP reasoning controls (sources accessed 2026-06-25):
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Prompt caching (chat): unknown.
|
||||
# Docs: https://api.berget.ai/
|
||||
name = "Berget.AI"
|
||||
env = ["BERGET_API_KEY"]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Prompt caching (chat): unknown.
|
||||
# Docs: https://blueclaw.network/how-it-works.html
|
||||
name = "Blue Claw"
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
api = "https://openai.blueclaw.network/v1"
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
# Prompt caching (chat): unknown.
|
||||
# Docs: https://bothub.ru/models
|
||||
name = "Bothub"
|
||||
env = ["BOTHUB_API_KEY"]
|
||||
npm = "@ai-sdk/openai-compatible"
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
# Prompt caching (chat): Automatic prefix reuse in 128-token blocks with 5-minute guaranteed TTL up to 1 hour plus optional keyed routing for conversations sharing a prefix.
|
||||
# Use body: `prompt_cache_key` stable per conversation or workflow sharing a prefix, max 1024 chars, with one key per conversation; shared system prompts across many users stay on automatic reuse.
|
||||
# To get a hit: Place stable system content plus tools first with exact append-only prefixes, reuse the same key across the conversation, confirm via usage.prompt_tokens_details.cached_tokens.
|
||||
# Docs: https://inference-docs.cerebras.ai/capabilities/prompt-caching
|
||||
name = "Cerebras"
|
||||
env = ["CEREBRAS_API_KEY"]
|
||||
npm = "@ai-sdk/cerebras"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# 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,3 +1,8 @@
|
||||
# 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,3 +1,8 @@
|
||||
# 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,3 +1,8 @@
|
||||
# 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