Compare commits

..
2 Commits
Author SHA1 Message Date
opencode-agent e10c8e79b8 docs(cache-08): positive-only final batch 08
Keep impossibl/jalapeno/jiekou plus 6 proven autos; delete the 8
Use-headers/body-none lines (OMITTED), keeping mechanism plus hit
plus docs. infomaniak and iteracompute become unknown 2-liners
after 3+ sources each with no documented cache mechanism.

Proven autos (4-line headers, headers-none OMITTED):
- inception: automatic prefix cache, cached_tokens hit
- inceptron: automatic prefix reuse, cache-read billing
- inference: automatic prefix reuse, per-model cache-read rates
- inferx: automatic prefix reuse, cached-input pricing
- io-net: supports_prompt_cache flag plus cache read/write billing
- kenari: automatic prefix reuse, cache read/write pricing

Unknown (2-liner): infomaniak, iteracompute.
2026-09-11 20:38:23 -05:00
opencode-agent 7a088e3a3e docs(cache): standalone provider cache docs batch 08 2026-09-11 20:35:06 -05:00
93 changed files with 191 additions and 644 deletions

No files matched your search

@@ -1,6 +0,0 @@
# Catalog and endpoint support: https://agentrouter.org/api/pricing
# AgentRouter publishes relative token ratios, not USD prices, so cost is intentionally omitted.
# Toggle: thinking.type = enabled|disabled
# Effort: reasoning_effort = low|high|max
base_model = "deepseek/deepseek-v4-flash"
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "high", "max"] }]
@@ -1,5 +0,0 @@
# Catalog and endpoint support: https://agentrouter.org/api/pricing
# AgentRouter publishes relative token ratios, not USD prices, so cost is intentionally omitted.
# GLM-5.3 always reasons (thinking cannot be disabled); effort levels low|high|max, default max.
base_model = "zhipuai/glm-5.3"
reasoning_options = [{ type = "effort", values = ["low", "high", "max"] }]
+1 -1
View File
@@ -12,4 +12,4 @@ cache_read = 0.2
[limit]
context = 1_048_576
output = 128_000
output = 1_048_576
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): Use body `cache_control` ephemeral breakpoint on Anthropic routes; automatic prefix caching on other routes.
# Cache headers: none
# Cache policy: repeat byte-identical prefix on the same model; Anthropic breakpoints use min ~1024 tokens, 5m TTL refreshed on hit, 1h via ttl.
# Cache verify: confirm hits via GET /v1/requests cached_input_tokens.
# Docs: https://impossibl.com/docs/prompt-caching.md
name = "Impossibl"
npm = "@ai-sdk/openai-compatible"
api = "https://api.impossibl.com/v1"
+4
View File
@@ -1,3 +1,7 @@
# Cache key (chat): automatic prefix cache on the same model.
# Cache policy: automatic prefix cache; replay requests with a stable byte-identical prefix on the same model.
# Cache verify: confirm hits via usage.prompt_tokens_details.cached_tokens.
# Docs: https://docs.inceptionlabs.ai/api-reference/chat/create-a-chat-completion
name = "Inception"
env = ["INCEPTION_API_KEY"]
npm = "@ai-sdk/openai-compatible"
+4
View File
@@ -1,3 +1,7 @@
# Cache key (chat): automatic prefix reuse on the same model.
# Cache policy: automatic prefix reuse; replay requests with a stable byte-identical prefix on the same model.
# Cache verify: confirm hits via usage block where reported.
# Docs: https://docs.inceptron.io/API%20Reference/chat-completions
name = "Inceptron"
npm = "@ai-sdk/openai-compatible"
env = ["INCEPTRON_API_KEY"]
+4
View File
@@ -1,3 +1,7 @@
# Cache key (chat): automatic prefix reuse on the same model.
# Cache policy: automatic prefix reuse; replay requests with a stable byte-identical prefix on the same model.
# Cache verify: confirm hits via usage block where reported.
# Docs: https://docs.inference.net/api/api-quickstart
name = "Inference"
env = ["INFERENCE_API_KEY"]
npm = "@ai-sdk/openai-compatible"
+4
View File
@@ -1,3 +1,7 @@
# Cache key (chat): automatic prefix reuse on the same model.
# Cache policy: automatic prefix reuse; replay requests with a stable byte-identical prefix on the same model.
# Cache verify: confirm hits via usage block where reported.
# Docs: https://inferx.net/docs/api-reference
name = "InferX"
env = ["INFERX_API_KEY"]
npm = "@ai-sdk/openai-compatible"
+2
View File
@@ -1,3 +1,5 @@
# Cache key (chat): unknown — no documented cache mechanism after ≥3 sources.
# Docs: https://developer.infomaniak.com/docs/api/post/2/ai/%7Bproduct_id%7D/openai/v1/chat/completions
name = "Infomaniak"
npm = "@ai-sdk/openai-compatible"
api = "https://api.infomaniak.com/2/ai/${INFOMANIAK_PRODUCT_ID}/openai/v1"
+4
View File
@@ -1,3 +1,7 @@
# Cache key (chat): automatic prefix cache on cache-capable models.
# Cache policy: automatic prefix cache on models with metadata supports_prompt_cache=true; repeat byte-identical prefix on the same model with cache read/write billing.
# Cache verify: confirm hits via cached-token billing on eligible models.
# Docs: https://io.net/docs/reference/ai-models/get-models-list
name = "IO.NET"
env = ["IOINTELLIGENCE_API_KEY"]
npm = "@ai-sdk/openai-compatible"
+2
View File
@@ -1,3 +1,5 @@
# Cache key (chat): unknown — no documented cache mechanism after ≥3 sources.
# Docs: https://iteracompute.com/docs.html
# IteraCompute exposes an OpenAI-compatible API through @ai-sdk/openai-compatible.
# Authentication uses ITERACOMPUTE_API_KEY; the API base URL is https://api.iteracompute.com/v1.
name = "IteraCompute"
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): Use body `prompt_cache_key` routing hint — documented chat-payload field that pins prefix-hash routing to improve hit rate.
# Cache headers: none
# Cache policy: exact-prefix match required; apply one stable `prompt_cache_key` per workload on the same model; cache is org-scoped.
# Cache verify: confirm hits via usage.prompt_tokens_details.cached_tokens.
# Docs: https://www.jalapeno-cloud.ai/docs/inference/features/prompt-caching
name = "Jalapeno Cloud"
env = ["JALAPENO_API_KEY"]
npm = "@ai-sdk/openai-compatible"
+5
View File
@@ -1,3 +1,8 @@
# Cache key (chat): Use body `cache_control` ephemeral breakpoints on Anthropic models; automatic prefix caching on OpenAI/Gemini-backed models.
# Cache headers: none
# Cache policy: Anthropic models use `cache_control` ephemeral breakpoints (min 1024 tokens Sonnet/Opus, 2048 Haiku); OpenAI/Gemini-backed models cache on repeated identical prefix.
# Cache verify: confirm hits via usage.prompt_tokens_details.cached_tokens / cache_read_input_tokens.
# Docs: https://docs.jiekou.ai/docs/feature/prompt-caching.md
name = "Jiekou.AI"
env = ["JIEKOU_API_KEY"]
npm = "@ai-sdk/openai-compatible"
+4
View File
@@ -1,3 +1,7 @@
# Cache key (chat): automatic prefix reuse on the same model.
# Cache policy: automatic prefix reuse; replay requests with a stable byte-identical prefix on the same model.
# Cache verify: confirm hits via usage block where reported.
# Docs: https://kenari.id/docs
name = "Kenari"
npm = "@ai-sdk/openai-compatible"
env = ["KENARI_API_KEY"]
@@ -11,5 +11,4 @@ output = 3.2
cache_read = 0.135
[limit]
context = 1_048_576
output = 393_216
context = 1_024_000
@@ -10,7 +10,7 @@ input = 0.042
output = 0.22
[limit]
output = 235_929
context = 131_072
[modalities]
input = ["image", "text", "video"]
@@ -1,22 +0,0 @@
name = "Inference.net: Schematron V2 Small"
description = "Schematron V2 Small is a 3B-parameter HTML-to-JSON extraction model from Inference.net. It prioritizes extraction quality for complex schemas and long pages. Extraction instructions must be supplied through a JSON schema..."
release_date = "2026-09-12"
last_updated = "2026-09-12"
attachment = false
reasoning = false
temperature = true
tool_call = false
structured_output = true
open_weights = false
[cost]
input = 0.05
output = 0.23
[limit]
context = 128_000
output = 4_096
[modalities]
input = ["text"]
output = ["text"]
@@ -1,22 +0,0 @@
name = "Inference.net: Schematron V2 Turbo"
description = "Schematron V2 Turbo is a 3B-parameter HTML-to-JSON extraction model from Inference.net. It prioritizes throughput for high-volume extraction workloads. Extraction instructions must be supplied through a JSON schema in response_format rather..."
release_date = "2026-09-12"
last_updated = "2026-09-12"
attachment = false
reasoning = false
temperature = true
tool_call = false
structured_output = true
open_weights = false
[cost]
input = 0.03
output = 0.15
[limit]
context = 128_000
output = 8_192
[modalities]
input = ["text"]
output = ["text"]
@@ -8,4 +8,4 @@ output = 0.4
[limit]
context = 131_072
output = 16_384
output = 8_192
@@ -10,7 +10,3 @@ values = ["high"]
input = 0.3
output = 1.2
cache_read = 0.03
[limit]
context = 200_000
output = 128_000
@@ -15,8 +15,8 @@ input = 0.13
output = 0.52
[limit]
context = 128_000
output = 32_000
context = 262_144
output = 235_929
[modalities]
input = ["text"]
+3 -3
View File
@@ -7,9 +7,9 @@ type = "effort"
values = ["none", "low", "high"]
[cost]
input = 0.14
output = 0.58
cache_read = 0.035
input = 0.132
output = 0.528
cache_read = 0.033
[limit]
context = 262_144
@@ -12,5 +12,4 @@ output = 4.05
cache_read = 0.16
[limit]
context = 524_288
output = 471_859
output = 32_768
+1
View File
@@ -12,3 +12,4 @@ cache_read = 0.26
[limit]
context = 1_048_576
output = 943_718
@@ -1,5 +1,5 @@
# Tracks the current Claude Haiku alias target on Kilo (Claude Haiku 4.5).
name = "Anthropic: Claude Haiku Latest"
name = "Anthropic Claude Haiku Latest"
description = "Fast Claude model for responsive assistance, classification, and lightweight agents"
family = "claude-haiku"
release_date = "2026-04-27"
@@ -1,5 +1,5 @@
# Tracks the current Claude Sonnet alias target on Kilo (Claude Sonnet 4.6 by pricing).
name = "Anthropic: Claude Sonnet Latest"
name = "Anthropic Claude Sonnet Latest"
description = "Balanced Claude model for coding, analysis, agent workflows, and cost control"
family = "claude-sonnet"
release_date = "2026-04-27"
@@ -1,4 +1,4 @@
name = "DeepSeek: DeepSeek V4 Flash Latest"
name = "DeepSeek V4 Flash Latest"
description = "This model always redirects to the latest model in the DeepSeek V4 Flash family."
family = "deepseek"
release_date = "2026-08-01"
@@ -15,13 +15,13 @@ type = "effort"
values = ["none", "low", "high", "max"]
[cost]
input = 0.03
output = 0.07
cache_read = 0.005
input = 0.05
output = 0.16
cache_read = 0.013
[limit]
context = 1_048_576
output = 943_718
output = 393_216
[modalities]
input = ["text"]
@@ -1,5 +1,5 @@
# Tracks the current Gemini Flash alias target (Gemini 3.5 Flash).
name = "Google: Gemini Flash Latest"
name = "Google Gemini Flash Latest"
description = "Fast Gemini model balancing multimodal reasoning, tool use, and cost"
family = "gemini-flash"
release_date = "2026-04-27"
@@ -1,4 +1,4 @@
name = "Google: Gemini Pro Latest"
name = "Google Gemini Pro Latest"
description = "Advanced Gemini model for complex reasoning, coding, and multimodal analysis"
family = "gemini-pro"
release_date = "2026-04-27"
@@ -1,4 +1,4 @@
name = "MoonshotAI: Kimi Latest"
name = "MoonshotAI Kimi Latest"
description = "Kimi multimodal agent model for visual understanding, coding, and planning"
family = "kimi"
release_date = "2026-04-27"
@@ -15,8 +15,9 @@ type = "effort"
values = ["none", "low", "high", "max"]
[cost]
input = 2.1
output = 10.95
input = 2.302729
output = 11.550195
cache_read = 0.263169
[limit]
context = 1_048_576
@@ -1,4 +1,4 @@
name = "OpenAI: GPT Astra Latest ($$$$)"
name = "OpenAI GPT Astra Latest ($$$$)"
description = "This model always redirects to the latest model in the OpenAI GPT Astra family."
family = "gpt-astra"
release_date = "2026-09-11"
@@ -1,4 +1,4 @@
name = "OpenAI: GPT Luna Latest"
name = "OpenAI GPT Luna Latest"
description = "This model always redirects to the latest model in the OpenAI GPT Luna family."
family = "gpt-luna"
release_date = "2026-09-11"
@@ -1,5 +1,5 @@
# Tracks the current GPT Mini alias target on Kilo (GPT-5.4 Mini).
name = "OpenAI: GPT Mini Latest"
name = "OpenAI GPT Mini Latest"
description = "Compact GPT model for low-latency assistance and high-volume workloads"
family = "gpt-mini"
release_date = "2026-04-27"
@@ -1,4 +1,4 @@
name = "OpenAI: GPT Sol Latest"
name = "OpenAI GPT Sol Latest"
description = "This model always redirects to the latest model in the OpenAI GPT Sol family."
family = "gpt-sol"
release_date = "2026-09-11"
@@ -1,4 +1,4 @@
name = "OpenAI: GPT Terra Latest"
name = "OpenAI GPT Terra Latest"
description = "This model always redirects to the latest model in the OpenAI GPT Terra family."
family = "gpt-terra"
release_date = "2026-09-11"
@@ -1,14 +0,0 @@
base_model = "moonshotai/kimi-k3"
name = "Kimi K3 (Alibaba Cloud)"
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 3
output = 15
cache_read = 0.3
[limit]
output = 1_048_576
@@ -1,12 +0,0 @@
base_model = "openai/gpt-6-astra"
name = "GPT-6 Astra (AWS Mantle)"
[[reasoning_options]]
type = "effort"
values = ["low", "medium", "high", "xhigh", "max"]
[cost]
input = 10
output = 50
cache_read = 1
cache_write = 12.5
@@ -1,14 +0,0 @@
base_model = "moonshotai/kimi-k3"
name = "Kimi K3 (Runpod)"
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 3
output = 15
cache_read = 0.3
[limit]
output = 1_048_576
@@ -1,18 +0,0 @@
base_model = "deepseek/deepseek-v4-flash"
name = "DeepSeek V4 Flash (Tencent Cloud)"
structured_output = false
[interleaved]
field = "reasoning_content"
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 0.14
output = 0.28
cache_read = 0.0028
[limit]
output = 393_216
@@ -1,18 +0,0 @@
base_model = "deepseek/deepseek-v4-pro"
name = "DeepSeek V4 Pro (Tencent Cloud)"
structured_output = false
[interleaved]
field = "reasoning_content"
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 0.435
output = 0.87
cache_read = 0.00363
[limit]
output = 393_216
@@ -1,15 +0,0 @@
base_model = "zhipuai/glm-5-turbo"
name = "GLM-5 Turbo (Tencent Cloud)"
structured_output = false
[[reasoning_options]]
type = "effort"
values = ["low", "medium", "high", "xhigh", "max"]
[cost]
input = 1.2
output = 4
cache_read = 0.24
[limit]
output = 128_000
@@ -1,18 +0,0 @@
base_model = "zhipuai/glm-5.1"
name = "GLM-5.1 (Tencent Cloud)"
structured_output = false
[interleaved]
field = "reasoning_content"
[[reasoning_options]]
type = "effort"
values = ["low", "medium", "high", "xhigh", "max"]
[cost]
input = 1.4
output = 4.4
cache_read = 0.26
[limit]
output = 128_000
@@ -1,18 +0,0 @@
base_model = "zhipuai/glm-5.2"
name = "GLM-5.2 (Tencent Cloud)"
structured_output = false
[interleaved]
field = "reasoning_content"
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 1.4
output = 4.4
cache_read = 0.26
[limit]
output = 128_000
@@ -1,19 +0,0 @@
base_model = "zhipuai/glm-5"
name = "GLM-5 (Tencent Cloud)"
structured_output = false
[interleaved]
field = "reasoning_content"
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 1
output = 3.2
cache_read = 0.2
[limit]
context = 200_000
output = 128_000
@@ -1,15 +0,0 @@
base_model = "zhipuai/glm-5v-turbo"
name = "GLM-5V Turbo (Tencent Cloud)"
structured_output = false
[[reasoning_options]]
type = "effort"
values = ["low", "medium", "high", "xhigh", "max"]
[cost]
input = 1.2
output = 4
cache_read = 0.24
[limit]
output = 128_000
@@ -1,23 +0,0 @@
name = "Hy-MT2 Plus (Tencent Cloud)"
description = "Tencent Hy reasoning model for coding, instruction following, and agent tasks"
family = "Hy"
release_date = "2026-05-21"
last_updated = "2026-05-21"
attachment = false
reasoning = false
temperature = true
tool_call = false
structured_output = false
open_weights = false
[cost]
input = 0.074
output = 0.295
[limit]
context = 8_192
output = 4_096
[modalities]
input = ["text"]
output = ["text"]
@@ -1,17 +0,0 @@
base_model = "tencent/hy3"
base_model_omit = ["limit.input"]
name = "Hy3 (Tencent Cloud)"
structured_output = true
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh"]
[cost]
input = 0.132
output = 0.528
cache_read = 0.033
[limit]
context = 262_144
output = 131_072
@@ -1,16 +0,0 @@
base_model = "tencent/hy4-preview"
name = "Hy4 Preview (Tencent Cloud)"
structured_output = true
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 0.834
output = 2.501
cache_read = 0.042
[limit]
context = 1_000_000
output = 65_536
@@ -1,14 +0,0 @@
base_model = "moonshotai/kimi-k2.6"
name = "Kimi K2.6 (Tencent Cloud)"
[interleaved]
field = "reasoning_content"
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 0.858
output = 3.566
cache_read = 0.145
@@ -1,14 +0,0 @@
base_model = "moonshotai/kimi-k2.7-code-highspeed"
name = "Kimi K2.7 Code Highspeed (Tencent Cloud)"
[interleaved]
field = "reasoning_content"
[[reasoning_options]]
type = "effort"
values = ["minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 1.9
output = 8
cache_read = 0.38
@@ -1,14 +0,0 @@
base_model = "moonshotai/kimi-k2.7-code"
name = "Kimi K2.7 Code (Tencent Cloud)"
[interleaved]
field = "reasoning_content"
[[reasoning_options]]
type = "effort"
values = ["minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 0.95
output = 4
cache_read = 0.19
@@ -1,14 +0,0 @@
base_model = "moonshotai/kimi-k3"
name = "Kimi K3 (Tencent Cloud)"
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 3
output = 15
cache_read = 0.3
[limit]
output = 1_048_576
@@ -1,24 +0,0 @@
base_model = "xiaomi/mimo-v2.5-pro"
name = "MiMo V2.5 Pro (Tencent Cloud)"
structured_output = false
[interleaved]
field = "reasoning_content"
[[reasoning_options]]
type = "effort"
values = ["none", "low", "medium", "high"]
[cost]
input = 0.435
output = 0.87
cache_read = 0.0036
[[cost.tiers]]
tier = { type = "context", size = 256_000 }
input = 2
output = 6
cache_read = 0.4
[limit]
context = 1_000_000
@@ -1,16 +0,0 @@
base_model = "minimax/MiniMax-M2.7"
name = "MiniMax M2.7 (Tencent Cloud)"
structured_output = false
[[reasoning_options]]
type = "effort"
values = ["low", "medium", "high", "xhigh", "max"]
[cost]
input = 0.3
output = 1.2
cache_read = 0.06
[limit]
context = 200_000
output = 128_000
@@ -1,16 +0,0 @@
base_model = "minimax/MiniMax-M3"
name = "MiniMax M3 (Tencent Cloud)"
structured_output = false
[[reasoning_options]]
type = "effort"
values = ["low", "medium", "high", "xhigh", "max"]
[cost]
input = 0.3
output = 1.2
cache_read = 0.06
[limit]
context = 1_000_000
output = 131_072
@@ -1,10 +0,0 @@
base_model = "zhipuai/glm-5-turbo"
[[reasoning_options]]
type = "effort"
values = ["low", "medium", "high", "xhigh", "max"]
[cost]
input = 1.2
output = 4
cache_read = 0.24
@@ -1,10 +0,0 @@
base_model = "zhipuai/glm-5v-turbo"
[[reasoning_options]]
type = "effort"
values = ["low", "medium", "high", "xhigh", "max"]
[cost]
input = 1.2
output = 4
cache_read = 0.24
@@ -1,23 +0,0 @@
name = "Hy-MT2 Plus"
description = "Tool-capable chat model for instruction following and agentic application workflows"
family = "Hy"
release_date = "2026-05-21"
last_updated = "2026-05-21"
attachment = false
reasoning = false
temperature = true
tool_call = true
structured_output = false
open_weights = false
[cost]
input = 0.074
output = 0.295
[limit]
context = 8_192
output = 8_192
[modalities]
input = ["text"]
output = ["text"]
+4 -4
View File
@@ -2,12 +2,12 @@ base_model = "tencent/hy3"
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh"]
values = ["none", "low", "high"]
[cost]
input = 0.132
output = 0.528
cache_read = 0.033
input = 0.14
output = 0.58
cache_read = 0.035
[limit]
context = 262_144
@@ -1,13 +0,0 @@
base_model = "tencent/hy4-preview"
[[reasoning_options]]
type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 0.834
output = 2.501
cache_read = 0.042
[limit]
context = 1_000_000
@@ -8,7 +8,7 @@ field = "reasoning_content"
[[reasoning_options]]
type = "effort"
values = ["minimal", "low", "medium", "high", "xhigh", "max"]
values = ["low", "medium", "high", "xhigh", "max"]
[cost]
input = 1.9
@@ -1,14 +0,0 @@
# Hosted NIM: model listed at GET https://integrate.api.nvidia.com/v1/models
# (verified 2026-09-12). Thinking is always enabled; reasoning budget controlled
# with top-level `reasoning_effort`: low|high|max, default max.
# https://docs.nvidia.com/nim/vision-language-models/latest/get-started/advanced/get-started-glm-5-3-flash.html
base_model = "zhipuai/glm-5.3-flash"
reasoning_options = [{ type = "effort", values = ["low", "high", "max"] }]
[interleaved]
field = "reasoning_content"
[cost]
input = 0.0
output = 0.0
@@ -1,14 +0,0 @@
# Toggle: native POST /api/chat and /api/generate use `think = true|false`.
# Effort: OpenAI POST /v1/chat/completions accepts top-level `reasoning_effort`
# or `reasoning.effort` with high|max (DeepSeek V4 maps low/medium -> high).
# Sources: https://docs.ollama.com/capabilities/thinking, https://docs.ollama.com/openai
# API-verified context: https://ollama.com/api/show (deepseek4.context_length = 1048576)
# Output: Ollama has no separate output cap; deepseek4 peers on this host
# (deepseek-v4-flash:0731, deepseek-v4-pro) serve output = 1048576.
base_model = "deepseek/deepseek-v4-pro-0813"
reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["high", "max"] }]
[limit]
context = 1048576
output = 1048576
@@ -10,9 +10,9 @@ type = "effort"
values = ["low", "high", "max"]
[cost]
input = 0.04
output = 0.08
cache_read = 0.008
input = 0.065
output = 0.18
cache_read = 0.016
[limit]
context = 1_310_720
@@ -13,9 +13,9 @@ type = "effort"
values = ["high", "xhigh"]
[cost]
input = 0.06538
output = 0.13076
cache_read = 0.013076
input = 0.06734
output = 0.13468
cache_read = 0.013468
[limit]
context = 1_048_576
@@ -13,10 +13,9 @@ type = "effort"
values = ["high", "xhigh"]
[cost]
input = 1.6
output = 3.2
cache_read = 0.135
input = 0.849816
output = 1.699632
cache_read = 0.070818
[limit]
context = 1_048_576
output = 393_216
@@ -6,12 +6,8 @@ base_model = "google/gemma-4-26b-a4b-it"
type = "toggle"
[cost]
input = 0.09
output = 0.3
cache_read = 0.05
[limit]
output = 235_929
input = 0.042
output = 0.22
[modalities]
input = ["image", "text", "video"]
@@ -1,22 +0,0 @@
name = "Schematron V2 Small"
description = "Efficient model for low-latency assistance, extraction, and routine automation"
release_date = "2026-09-12"
last_updated = "2026-09-12"
attachment = false
reasoning = false
temperature = true
tool_call = false
structured_output = true
open_weights = true
[cost]
input = 0.05
output = 0.23
[limit]
context = 128_000
output = 4_096
[modalities]
input = ["text"]
output = ["text"]
@@ -1,22 +0,0 @@
name = "Schematron V2 Turbo"
description = "Efficient model for low-latency assistance, extraction, and routine automation"
release_date = "2026-09-12"
last_updated = "2026-09-12"
attachment = false
reasoning = false
temperature = true
tool_call = false
structured_output = true
open_weights = true
[cost]
input = 0.03
output = 0.15
[limit]
context = 128_000
output = 8_192
[modalities]
input = ["text"]
output = ["text"]
@@ -3,9 +3,9 @@ description = "Open Llama instruction model for multilingual chat, reasoning, an
structured_output = true
[cost]
input = 0.4
output = 0.4
input = 0.72
output = 0.72
[limit]
context = 131_072
output = 16_384
output = 8_192
@@ -10,8 +10,8 @@ type = "effort"
values = ["low", "medium", "high", "xhigh"]
[cost]
input = 0.35
output = 1.5
input = 0.3
output = 1.1
cache_read = 0.04
[limit]
@@ -6,9 +6,6 @@ reasoning_options = []
field = "reasoning_details"
[cost]
input = 0.27
output = 1.08
cache_read = 0.027
[limit]
output = 128_000
input = 0.3
output = 1.2
cache_read = 0.03
@@ -12,9 +12,9 @@ type = "effort"
values = ["low", "high", "max"]
[cost]
input = 2.648138
output = 13.282724
cache_read = 0.302644
input = 2.302729
output = 11.550195
cache_read = 0.263169
[limit]
output = 943_718
@@ -12,12 +12,12 @@ knowledge = "2025-06-30"
open_weights = true
[cost]
input = 0.04815
output = 0.19305
input = 0.09
output = 0.3
[limit]
context = 262_144
output = 32_000
output = 235_929
[modalities]
input = ["text"]
@@ -12,4 +12,4 @@ output = 4.05
cache_read = 0.17
[limit]
output = 471_859
output = 32_768
@@ -6,9 +6,10 @@ type = "effort"
values = ["low", "high", "max"]
[cost]
input = 1.092
output = 3.432
cache_read = 0.2028
input = 1.4
output = 4.4
cache_read = 0.26
[limit]
context = 1_310_720
output = 943_718
@@ -1,6 +1,6 @@
# Toggle: reasoning.enabled = true|false
# https://openrouter.ai/docs/guides/best-practices/reasoning-tokens
name = "Claude Haiku Latest"
name = "Anthropic Claude Haiku Latest"
description = "Fast Claude model for responsive assistance, classification, and lightweight agents"
family = "claude-haiku"
release_date = "2026-04-27"
@@ -1,6 +1,6 @@
# OpenRouter alias currently redirects to Claude Sonnet 5.
# https://openrouter.ai/~anthropic/claude-sonnet-latest
name = "Claude Sonnet Latest"
name = "Anthropic Claude Sonnet Latest"
description = "Balanced Claude model for coding, analysis, agent workflows, and cost control"
family = "claude-sonnet"
release_date = "2026-04-27"
@@ -20,13 +20,13 @@ type = "effort"
values = ["low", "high", "max"]
[cost]
input = 0.03
output = 0.07
cache_read = 0.005
input = 0.05
output = 0.16
cache_read = 0.013
[limit]
context = 1_310_720
output = 943_718
output = 393_216
[modalities]
input = ["text"]
@@ -1,6 +1,6 @@
# OpenRouter alias currently redirects to Gemini 3.5 Flash.
# https://openrouter.ai/~google/gemini-flash-latest
name = "Gemini Flash Latest"
name = "Google Gemini Flash Latest"
description = "Fast Gemini model balancing multimodal reasoning, tool use, and cost"
family = "gemini-flash"
release_date = "2026-04-27"
@@ -1,6 +1,6 @@
# OpenRouter alias currently redirects to Gemini 3.1 Pro Preview.
# https://openrouter.ai/~google/gemini-pro-latest
name = "Gemini Pro Latest"
name = "Google Gemini Pro Latest"
description = "Advanced Gemini model for complex reasoning, coding, and multimodal analysis"
family = "gemini-pro"
release_date = "2026-04-27"
@@ -1,6 +1,6 @@
# Toggle: reasoning.enabled = true|false
# https://openrouter.ai/docs/guides/best-practices/reasoning-tokens
name = "Kimi Latest"
name = "MoonshotAI Kimi Latest"
description = "Kimi multimodal agent model for visual understanding, coding, and planning"
family = "kimi"
release_date = "2026-04-27"
@@ -20,8 +20,9 @@ type = "effort"
values = ["low", "high", "max"]
[cost]
input = 2.1
output = 10.95
input = 2.302729
output = 11.550195
cache_read = 0.263169
[limit]
context = 1_048_576
@@ -1,4 +1,4 @@
name = "GPT Astra Latest"
name = "OpenAI GPT Astra Latest"
description = "GPT model for general reasoning, writing, coding, and tool-assisted tasks"
family = "gpt-astra"
release_date = "2026-09-11"
@@ -1,4 +1,4 @@
name = "GPT Luna Latest"
name = "OpenAI GPT Luna Latest"
description = "GPT model for general reasoning, writing, coding, and tool-assisted tasks"
family = "gpt-luna"
release_date = "2026-09-11"
@@ -1,4 +1,5 @@
name = "GPT Mini Latest"
reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }]
name = "OpenAI GPT Mini Latest"
description = "Compact GPT model for low-latency assistance and high-volume workloads"
family = "gpt-mini"
release_date = "2026-04-27"
@@ -11,10 +12,6 @@ structured_output = true
knowledge = "2025-08-31"
open_weights = false
[[reasoning_options]]
type = "effort"
values = ["none", "low", "medium", "high", "xhigh"]
[cost]
input = 0.75
output = 4.5
@@ -1,4 +1,4 @@
name = "GPT Sol Latest"
name = "OpenAI GPT Sol Latest"
description = "GPT model for general reasoning, writing, coding, and tool-assisted tasks"
family = "gpt-sol"
release_date = "2026-09-11"
@@ -1,4 +1,4 @@
name = "GPT Terra Latest"
name = "OpenAI GPT Terra Latest"
description = "GPT model for general reasoning, writing, coding, and tool-assisted tasks"
family = "gpt-terra"
release_date = "2026-09-11"
@@ -8,9 +8,9 @@ values = ["none", "low", "medium", "high", "max"]
type = "budget_tokens"
[cost]
input = 0.5
output = 1.5
cache_read = 0.05
input = 0.22
output = 0.66
cache_read = 0.007
[limit]
context = 1_048_576
@@ -1,18 +0,0 @@
base_model = "deepseek/deepseek-v4.1-flash"
name = "DeepSeek V4.1 Flash (EU)"
[[reasoning_options]]
type = "effort"
values = ["none", "low", "medium", "high", "max"]
[[reasoning_options]]
type = "budget_tokens"
[cost]
input = 0.5
output = 1.5
cache_read = 0.05
[limit]
context = 1_048_576
output = 393_216
@@ -0,0 +1,30 @@
name = "thinkingcap-qwen3.6-27b"
description = "ThinkingCap-Qwen3.6-27B is a reasoning tuned model from BottlecapAI built on Qwen3.6 27B. It supports extended thinking with tool calling and a 256K context window. Served via Sference."
family = "qwen3.6"
release_date = "2026-07-13"
last_updated = "2026-07-13"
attachment = false
reasoning = true
tool_call = true
structured_output = false
open_weights = false
[[reasoning_options]]
type = "effort"
values = ["none", "low", "medium", "high", "max"]
[[reasoning_options]]
type = "budget_tokens"
[cost]
input = 0.4
output = 2.6
cache_read = 0.05
[limit]
context = 262_144
output = 32_768
[modalities]
input = ["text"]
output = ["text"]
@@ -0,0 +1,30 @@
name = "thinkingcap-qwen3.6-27b@eu"
description = "ThinkingCap-Qwen3.6-27B is a reasoning tuned model from BottlecapAI built on Qwen3.6 27B. It supports extended thinking with tool calling and a 256K context window. Served via Sference."
family = "qwen3.6"
release_date = "2026-07-13"
last_updated = "2026-07-13"
attachment = false
reasoning = true
tool_call = true
structured_output = false
open_weights = false
[[reasoning_options]]
type = "effort"
values = ["none", "low", "medium", "high", "max"]
[[reasoning_options]]
type = "budget_tokens"
[cost]
input = 0.4
output = 2.6
cache_read = 0.05
[limit]
context = 262_144
output = 32_768
[modalities]
input = ["text"]
output = ["text"]
@@ -11,9 +11,9 @@ type = "effort"
values = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]
[cost]
input = 0.3
output = 0.7
cache_read = 0.06
input = 0.65
output = 1.45
cache_read = 0.13
[limit]
context = 1_048_576
@@ -1,13 +0,0 @@
base_model = "deepseek/deepseek-v4.1-flash"
reasoning_options = [{ type = "effort", values = ["low", "high", "max"] }]
[interleaved]
field = "reasoning_content"
[cost]
input = 0.3
output = 1.2
cache_read = 0.006
[limit]
context = 1_048_576