Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions providers/the-grid-ai/models/agent-max.toml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
20 changes: 14 additions & 6 deletions providers/the-grid-ai/models/agent-prime.toml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 12 additions & 4 deletions providers/the-grid-ai/models/agent-standard.toml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 9 additions & 4 deletions providers/the-grid-ai/models/code-max.toml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
20 changes: 14 additions & 6 deletions providers/the-grid-ai/models/code-prime.toml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 12 additions & 4 deletions providers/the-grid-ai/models/code-standard.toml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 9 additions & 4 deletions providers/the-grid-ai/models/text-max.toml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
18 changes: 13 additions & 5 deletions providers/the-grid-ai/models/text-prime.toml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 12 additions & 4 deletions providers/the-grid-ai/models/text-standard.toml
Original file line number Diff line number Diff line change
@@ -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
17 changes: 9 additions & 8 deletions providers/the-grid-ai/provider.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Loading