Compare commits

..
15 changed files with 17 additions and 34 deletions

No files matched your search

-5
View File
@@ -1,8 +1,3 @@
# Cache (chat): Tencent TokenHub documents a chat body field for KV-cache reuse scoped to conversation_id.
# Use body: `prompt_cache_key` — one stable value per conversation.
# Use headers: `X-Session-ID` — one stable value per user for instance affinity.
# Use prefix: keep system prefix stable; append new messages at end.
# Docs: https://cloud.tencent.com/document/product/1823/131410
name = "Tencent TokenHub"
env = ["TENCENT_TOKENHUB_API_KEY"]
npm = "@ai-sdk/openai-compatible"
-5
View File
@@ -1,8 +1,3 @@
# Cache (chat): automatic best-effort KV prefix cache on warm replicas for cache-priced models.
# Use body: none.
# Use headers: none.
# Use prefix: repeat stable prefixes on warm replicas; confirm via `prompt_tokens_details.cached_tokens`.
# Docs: https://docs.tensorx.ai/api-reference/prompt-caching
name = "TensorX"
env = ["TENSORX_API_KEY"]
npm = "@ai-sdk/openai-compatible"
-2
View File
@@ -1,5 +1,3 @@
# Prompt caching (chat): unknown.
# Docs: https://thegrid.ai/docs
name = "The Grid AI"
env = ["THEGRID_API_KEY"]
npm = "@ai-sdk/openai-compatible"
-2
View File
@@ -1,5 +1,3 @@
# Prompt caching (chat): unknown.
# Docs: https://tinker-docs.thinkingmachines.ai/tinker/compatible-apis/anthropic/
# Tinker's Anthropic-compatible API serves base models such as
# `thinkingmachines/Inkling`; the OpenAI-compatible API documents
# `tinker://.../sampler_weights/...` checkpoint paths instead.
-5
View File
@@ -1,8 +1,3 @@
# Cache (chat): automatic prefix cache scoped by identity plus model plus prefix.
# Use body: SDK-managed `user_cache_secret` — SDK adds the secret to eligible requests; raw HTTP sets the body field, not a header.
# Use headers: none.
# Use prefix: stable content first; prompts need a few thousand chars.
# Docs: https://docs.tinfoil.sh/sdk/prompt-caching
name = "Tinfoil"
npm = "@ai-sdk/openai-compatible"
api = "https://inference.tinfoil.sh/v1"
-5
View File
@@ -1,8 +1,3 @@
# Cache (chat): serverless cache is automatic with no header, parameter, or toggle.
# Use body: none.
# Use headers: none.
# Use prefix: repeat the same prompt prefix on a cached-input-priced model; longest matching prefix bills at cached rate.
# Docs: https://docs.together.ai/docs/serverless/overview
name = "Together AI"
env = ["TOGETHER_API_KEY"]
npm = "@ai-sdk/togetherai"
-2
View File
@@ -1,5 +1,3 @@
# Prompt caching (chat): unknown.
# Docs: https://www.tokengo.com/docs
# TokenGo is an OpenAI-compatible multi-model gateway (POST /v1/chat/completions).
# Sources (accessed 2026-08-27), and what each supports:
# - https://www.tokengo.com/docs/documentation/getting-started/introduction
-2
View File
@@ -1,5 +1,3 @@
# Prompt caching (chat): unknown.
# Docs: https://www.tokenrouter.com/docs/tokenrouter-feature-guide/
name = "TokenRouter"
env = ["TOKENROUTER_API_KEY"]
npm = "@ai-sdk/openai-compatible"
-2
View File
@@ -1,5 +1,3 @@
# Prompt caching (chat): unknown.
# Docs: https://trustedrouter.com/docs
name = "TrustedRouter"
env = ["TRUSTEDROUTER_API_KEY"]
npm = "@ai-sdk/openai-compatible"
@@ -1,5 +1,3 @@
# Prompt caching (chat): unknown.
# Docs: https://app.umans.ai/offers/code/docs
name = "Umans AI Coding Plan"
env = ["UMANS_AI_CODING_PLAN_API_KEY"]
npm = "@ai-sdk/openai-compatible"
-2
View File
@@ -1,5 +1,3 @@
# Prompt caching (chat): unknown.
# Docs: https://app.umans.ai/offers/code/docs/orgs
name = "Umans AI"
env = ["UMANS_AI_API_KEY"]
npm = "@ai-sdk/openai-compatible"
+2
View File
@@ -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"
+5
View File
@@ -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)
+5
View File
@@ -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)