diff --git a/providers/the-grid-ai/models/agent-max.toml b/providers/the-grid-ai/models/agent-max.toml index 042a9850ea..a289925901 100644 --- a/providers/the-grid-ai/models/agent-max.toml +++ b/providers/the-grid-ai/models/agent-max.toml @@ -1,11 +1,11 @@ name = "Agent Max" -description = "Multimodal reasoning model for visual analysis, planning, and tool use" +description = "Frontier models for autonomous research, deep multi-step tool chains, and complex long-horizon tasks. Any model that meets the contract spec can serve your request." +# contract spec: https://thegrid.ai/docs/instrument-specifications/current-instruments release_date = "2026-05-04" -last_updated = "2026-05-19" -# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments +last_updated = "2026-07-06" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }] temperature = true tool_call = true structured_output = true @@ -17,8 +17,13 @@ field = "reasoning_content" [limit] context = 1_000_000 +input = 922_000 output = 128_000 [modalities] input = ["text", "image"] output = ["text"] + +# Pricing on The Grid is variable. +# Tokens trade on an open market, so cost is not fixed and is intentionally omitted here. +# See the live price for Agent Max: https://app.thegrid.ai/trading/market-4dccbf0b-3ff7-460a-be3b-c45b1ad1f4b7 diff --git a/providers/the-grid-ai/models/agent-prime.toml b/providers/the-grid-ai/models/agent-prime.toml index 859adf426e..d7fcee645e 100644 --- a/providers/the-grid-ai/models/agent-prime.toml +++ b/providers/the-grid-ai/models/agent-prime.toml @@ -1,21 +1,29 @@ name = "Agent Prime" -description = "Preview model for early access evaluation, prototyping, and compatibility testing" +description = "Reliable models for dependable agentic applications, multi-step tool use, and reasoning workflows. Any model that meets the contract spec can serve your request." +# contract spec: https://thegrid.ai/docs/instrument-specifications/current-instruments release_date = "2026-05-04" -last_updated = "2026-05-19" -# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments +last_updated = "2026-07-06" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true structured_output = true status = "beta" open_weights = false +[interleaved] +field = "reasoning_content" + [limit] -context = 128_000 -output = 64_000 +context = 196_608 +input = 120_000 +output = 30_000 [modalities] input = ["text"] output = ["text"] + +# Pricing on The Grid is variable. +# Tokens trade on an open market, so cost is not fixed and is intentionally omitted here. +# See the live price for Agent Prime: https://app.thegrid.ai/trading/market-a5370c86-ea80-4919-831b-2c12826f61e2 diff --git a/providers/the-grid-ai/models/agent-standard.toml b/providers/the-grid-ai/models/agent-standard.toml index b56297b0c5..75a430a01f 100644 --- a/providers/the-grid-ai/models/agent-standard.toml +++ b/providers/the-grid-ai/models/agent-standard.toml @@ -1,21 +1,29 @@ name = "Agent Standard" -description = "Preview model for early access evaluation, prototyping, and compatibility testing" +description = "Price-optimized models for fast tool calls, simple agent loops, high-throughput automation, and orchestration. Any model that meets the contract spec can serve your request." +# contract spec: https://thegrid.ai/docs/instrument-specifications/current-instruments release_date = "2026-05-04" -last_updated = "2026-05-19" -# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments +last_updated = "2026-07-06" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true structured_output = true status = "beta" open_weights = false +[interleaved] +field = "reasoning_content" + [limit] context = 128_000 +input = 120_000 output = 16_000 [modalities] input = ["text"] output = ["text"] + +# Pricing on The Grid is variable. +# Tokens trade on an open market, so cost is not fixed and is intentionally omitted here. +# See the live price for Agent Standard: https://app.thegrid.ai/trading/market-0b9d4bf5-b8aa-4f18-85f7-fe0765b92334 diff --git a/providers/the-grid-ai/models/code-max.toml b/providers/the-grid-ai/models/code-max.toml index 69786587c1..47ef7e829d 100644 --- a/providers/the-grid-ai/models/code-max.toml +++ b/providers/the-grid-ai/models/code-max.toml @@ -1,11 +1,11 @@ name = "Code Max" -description = "Coding model for repository understanding, refactors, and agentic engineering tasks" +description = "Frontier models for complex research, architectural decisions, debugging, and multi-file development. Any model that meets the contract spec can serve your request." +# contract spec: https://thegrid.ai/docs/instrument-specifications/current-instruments release_date = "2026-05-04" -last_updated = "2026-05-19" -# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments +last_updated = "2026-07-06" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }] temperature = true tool_call = true structured_output = true @@ -17,8 +17,13 @@ field = "reasoning_content" [limit] context = 1_000_000 +input = 922_000 output = 128_000 [modalities] input = ["text", "image"] output = ["text"] + +# Pricing on The Grid is variable. +# Tokens trade on an open market, so cost is not fixed and is intentionally omitted here. +# See the live price for Code Max: https://app.thegrid.ai/trading/market-b960220b-183d-4154-b446-21ee41218956 diff --git a/providers/the-grid-ai/models/code-prime.toml b/providers/the-grid-ai/models/code-prime.toml index d20f013ed4..09f6e501da 100644 --- a/providers/the-grid-ai/models/code-prime.toml +++ b/providers/the-grid-ai/models/code-prime.toml @@ -1,21 +1,29 @@ name = "Code Prime" -description = "Coding model for repository understanding, refactors, and agentic engineering tasks" +description = "Reliable models for everyday software tasks, code completion, review, and standard debugging. Any model that meets the contract spec can serve your request." +# contract spec: https://thegrid.ai/docs/instrument-specifications/current-instruments release_date = "2026-05-04" -last_updated = "2026-05-19" -# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments +last_updated = "2026-07-06" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true structured_output = true status = "beta" open_weights = false +[interleaved] +field = "reasoning_content" + [limit] -context = 128_000 -output = 64_000 +context = 196_608 +input = 120_000 +output = 30_000 [modalities] input = ["text"] output = ["text"] + +# Pricing on The Grid is variable. +# Tokens trade on an open market, so cost is not fixed and is intentionally omitted here. +# See the live price for Code Prime: https://app.thegrid.ai/trading/market-9a45fd52-81e2-4c77-b1c1-73ef992e5a84 diff --git a/providers/the-grid-ai/models/code-standard.toml b/providers/the-grid-ai/models/code-standard.toml index 0130d172a6..154a5ce041 100644 --- a/providers/the-grid-ai/models/code-standard.toml +++ b/providers/the-grid-ai/models/code-standard.toml @@ -1,21 +1,29 @@ name = "Code Standard" -description = "Coding model for repository understanding, refactors, and agentic engineering tasks" +description = "Price-optimized models for rapid autocomplete, linting, high-frequency suggestions, and batch edits. Any model that meets the contract spec can serve your request." +# contract spec: https://thegrid.ai/docs/instrument-specifications/current-instruments release_date = "2026-05-04" -last_updated = "2026-05-19" -# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments +last_updated = "2026-07-06" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true structured_output = true status = "beta" open_weights = false +[interleaved] +field = "reasoning_content" + [limit] context = 128_000 +input = 120_000 output = 16_000 [modalities] input = ["text"] output = ["text"] + +# Pricing on The Grid is variable. +# Tokens trade on an open market, so cost is not fixed and is intentionally omitted here. +# See the live price for Code Standard: https://app.thegrid.ai/trading/market-c7c68506-9830-4699-8c53-8e3d167fa04b diff --git a/providers/the-grid-ai/models/text-max.toml b/providers/the-grid-ai/models/text-max.toml index 4f78f8577b..c1e45286ab 100644 --- a/providers/the-grid-ai/models/text-max.toml +++ b/providers/the-grid-ai/models/text-max.toml @@ -1,11 +1,11 @@ name = "Text Max" -description = "Multimodal reasoning model for visual analysis, planning, and tool use" +description = "Frontier models for deep reasoning, long context, and complex workflows. Any model that meets the contract spec can serve your request." +# contract spec: https://thegrid.ai/docs/instrument-specifications/current-instruments release_date = "2026-03-24" -last_updated = "2026-05-19" -# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments +last_updated = "2026-07-06" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }] temperature = true tool_call = true structured_output = true @@ -16,8 +16,13 @@ field = "reasoning_content" [limit] context = 1_000_000 +input = 922_000 output = 128_000 [modalities] input = ["text", "image"] output = ["text"] + +# Pricing on The Grid is variable. +# Tokens trade on an open market, so cost is not fixed and is intentionally omitted here. +# See the live price for Text Max: https://app.thegrid.ai/trading/market-24d9fd99-3ea8-4522-bd66-8e16bbe03894 diff --git a/providers/the-grid-ai/models/text-prime.toml b/providers/the-grid-ai/models/text-prime.toml index 0fb86c4264..c728a96f99 100644 --- a/providers/the-grid-ai/models/text-prime.toml +++ b/providers/the-grid-ai/models/text-prime.toml @@ -1,20 +1,28 @@ name = "Text Prime" -description = "Reasoning model for deliberate analysis, multi-step problem solving, and tool use" +description = "Reliable models for everyday text generation, editing, and analysis across diverse workflows. Any model that meets the contract spec can serve your request." +# contract spec: https://thegrid.ai/docs/instrument-specifications/current-instruments release_date = "2026-02-26" -last_updated = "2026-05-19" -# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments +last_updated = "2026-07-06" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true structured_output = true open_weights = false +[interleaved] +field = "reasoning_content" + [limit] -context = 128_000 +context = 196_608 +input = 120_000 output = 30_000 [modalities] input = ["text"] output = ["text"] + +# Pricing on The Grid is variable. +# Tokens trade on an open market, so cost is not fixed and is intentionally omitted here. +# See the live price for Text Prime: https://app.thegrid.ai/trading/market-1d2124dd-a403-42aa-bc0a-639bd7039b3a diff --git a/providers/the-grid-ai/models/text-standard.toml b/providers/the-grid-ai/models/text-standard.toml index 4adb9e2ca7..1e1a705ee2 100644 --- a/providers/the-grid-ai/models/text-standard.toml +++ b/providers/the-grid-ai/models/text-standard.toml @@ -1,20 +1,28 @@ name = "Text Standard" -description = "Reasoning model for deliberate analysis, multi-step problem solving, and tool use" +description = "Price-optimized models with low-latency, high-throughput and shorter maximum outputs. Any model that meets the contract spec can serve your request." +# contract spec: https://thegrid.ai/docs/instrument-specifications/current-instruments release_date = "2026-02-26" -last_updated = "2026-05-19" -# reflects last update to contract specification: https://thegrid.ai/docs/instrument-specifications/current-instruments +last_updated = "2026-07-06" attachment = false reasoning = true -reasoning_options = [] +reasoning_options = [{ type = "effort", values = ["low", "medium", "high"] }] temperature = true tool_call = true structured_output = true open_weights = false +[interleaved] +field = "reasoning_content" + [limit] context = 128_000 +input = 120_000 output = 16_000 [modalities] input = ["text"] output = ["text"] + +# Pricing on The Grid is variable. +# Tokens trade on an open market, so cost is not fixed and is intentionally omitted here. +# See the live price for Text Standard: https://app.thegrid.ai/trading/market-20536b70-3b9a-44be-aa50-3cd72d1ab8dd diff --git a/providers/the-grid-ai/provider.toml b/providers/the-grid-ai/provider.toml index ed32510fe2..f0cc7e15f3 100644 --- a/providers/the-grid-ai/provider.toml +++ b/providers/the-grid-ai/provider.toml @@ -1,14 +1,15 @@ name = "The Grid AI" env = ["THEGRIDAI_API_KEY"] npm = "@ai-sdk/openai-compatible" -# Reasoning HTTP format (accessed 2026-06-25): -# POST https://api.thegrid.ai/v1/chat/completions and beta POST -# https://messages-beta.api.thegrid.ai/v1/messages route by instrument. The -# docs say callers choose reasoning depth through the instrument tier, not a -# dedicated thinking configuration; Messages has no `thinking` request field. -# The generic Chat schema lists `reasoning_effort`, but no instrument-specific -# effect is documented, so no caller reasoning control is verified here. -# Sources: +# Raw HTTP reasoning controls (accessed 2026-07-06): +# - POST https://api.thegrid.ai/v1/chat/completions routes by instrument tier +# and accepts `reasoning_effort = "low" | "medium" | "high" | "xhigh" | "max"`, +# with `low|medium|high` mandatory on `*-standard`/`*-prime` and the wider +# 5-value set plus a caller toggle on `*-max`. Per-instrument effort enums +# come from the public catalog at GET https://api.thegrid.ai/v1/models. +# - beta POST https://messages-beta.api.thegrid.ai/v1/messages is a separate +# Anthropic-compatible route and does not yet expose a `thinking` request +# field; reasoning depth on that route still follows the instrument tier. # https://thegrid.ai/docs/api-reference/consumption-api # https://thegrid.ai/docs/instrument-specifications/current-instruments api = "https://api.thegrid.ai/v1"