Compare commits

...
2 Commits
Author SHA1 Message Date
opencode-agent 7a5f33bd81 docs(cache): final cache docs batch 17
Positive-only final: keep tencent-tokenhub/tensorx/tinfoil/togetherai
positives; explicit unknown 2-liners for the-grid-ai/thinkingmachines/
tokengo/tokenrouter/trustedrouter/umans-ai/umans-ai-coding-plan.
2026-09-11 20:37:06 -05:00
opencode-agent 284a695a3a docs(cache): standalone provider docs batch 17 2026-09-11 20:36:40 -05:00
11 changed files with 34 additions and 0 deletions

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
# 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,3 +1,8 @@
# 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,3 +1,5 @@
# 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,3 +1,5 @@
# 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,3 +1,8 @@
# 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,3 +1,8 @@
# 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,3 +1,5 @@
# 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,3 +1,5 @@
# 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,3 +1,5 @@
# Prompt caching (chat): unknown.
# Docs: https://trustedrouter.com/docs
name = "TrustedRouter"
env = ["TRUSTEDROUTER_API_KEY"]
npm = "@ai-sdk/openai-compatible"
@@ -1,3 +1,5 @@
# 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,3 +1,5 @@
# 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"