Compare commits

...
1 Commits
4 changed files with 20 additions and 0 deletions

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
# Cache (chat): automatic prefix/KV cache — no key required for hits; shared keys route to warm backends.
# Cache headers: none — Use no cache headers.
# Cache body: Use body `prompt_cache_key` (replaces deprecated user) — accepted on Chat Completions per the prompt-caching guide; add a stable per-prefix value at scale.
# Cache policy: stable content first, volatile last; hits surface at usage.prompt_tokens_details.cached_tokens and bill at the reduced cached rate.
# Docs: https://dev.meta.ai/docs/prompt-caching
# POST /compat/v1/chat/completions follows Meta's published Chat request
# schema, which lists no toggle, effort, or reasoning-token-budget field.
# https://llama.developer.meta.com/docs/api-reference/chat-completions (accessed 2026-06-25)
@@ -1,3 +1,8 @@
# Cache (chat): gateway replay plus translation — same endpoint as llmgateway with a provider-pinned catalog.
# Cache headers: Use headers `x-llmgateway-cache`/`x-no-cache` — HIT signals gateway replay; per-request bypass is available.
# Cache body: none — Use no body key field; the gateway derives its own key from request params and translates cache_control per upstream.
# Cache policy: $0 byte-identical replay (opt-in per project, TTL default 60s); stable prefix first; provider-pinned `provider/model-id` on the same endpoint.
# Docs: https://docs.llmgateway.io/features/caching
# The provider-pinned LLM Gateway catalog: one entry per upstream provider
# mapping, addressed as `provider/model-id` — the format the gateway accepts to
# pin a request to a specific upstream provider. The aggregated, auto-routed
+5
View File
@@ -1,3 +1,8 @@
# Cache (chat): gateway replay plus translation — $0 byte-identical replay plus provider cache-control translation/injection (Automatic/Client-managed/Disabled).
# Cache headers: Use headers `x-llmgateway-cache`/`x-no-cache` — HIT signals gateway replay; per-request bypass is available.
# Cache body: none — Use no body key field; the gateway derives its own key from request params.
# Cache policy: opt-in per project, TTL default 60s; stable prefix first; verify via metadata.cached and usage.prompt_tokens_details.cached_tokens.
# Docs: https://docs.llmgateway.io/features/caching
# POST /v1/chat/completions accepts $.reasoning_effort = none|minimal|low|
# medium|high|xhigh|max. Its raw schema lists $.reasoning.effort = low|medium|
# high; the two effort paths are mutually exclusive. $.reasoning.max_tokens
+5
View File
@@ -1,3 +1,8 @@
# Cache (chat): automatic prefix cache — documented as automatic only with no key param.
# Cache headers: none — Use no cache headers.
# Cache body: none — Use no body key field; no key param is in the request surface.
# Cache policy: 1584-token blocks with lazy materialization (prefix must repeat ~3x to pay off); system prompt and tools byte-identical in stable order, volatile last; cached prefixes bill at the cached-input rate.
# Docs: https://llmtech.eu/models/qwen3.8-27b
name = "LLM Tech"
env = ["LLMTECH_API_KEY"]
npm = "@ai-sdk/openai-compatible"