Skip to content
Open
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
6 changes: 5 additions & 1 deletion packages/core/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export const Provider = z
const isOpenAIcompatible = data.npm === "@ai-sdk/openai-compatible";
const isOpenrouter = data.npm === "@openrouter/ai-sdk-provider";
const isAnthropic = data.npm === "@ai-sdk/anthropic";
const isKiro = data.npm === "kiro";
const hasApi = data.api !== undefined;

return (
Expand All @@ -123,17 +124,20 @@ export const Provider = z
isAnthropic ||
// openai: api optional (always allowed)
isOpenAI ||
// kiro: api optional (always allowed)
isKiro ||
// all others: must NOT have api
(!isOpenAI &&
!isOpenAIcompatible &&
!isOpenrouter &&
!isAnthropic &&
!isKiro &&
!hasApi)
);
},
{
message:
"'api' is required for openai-compatible and openrouter, optional for anthropic and openai, forbidden otherwise",
"'api' is required for openai-compatible and openrouter, optional for anthropic, openai, and kiro, forbidden otherwise",
path: ["api"],
},
);
Expand Down
21 changes: 21 additions & 0 deletions providers/kiro/models/auto.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "Auto"
family = "claude-sonnet"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = true
reasoning = true
temperature = true
tool_call = true
open_weights = false

[cost]
input = 0
output = 0

[limit]
context = 1_000_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
21 changes: 21 additions & 0 deletions providers/kiro/models/claude-haiku-4.5.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "Claude Haiku 4.5"
family = "claude-haiku"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = true
reasoning = true
temperature = true
tool_call = true
open_weights = false

[cost]
input = 0
output = 0

[limit]
context = 200_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
21 changes: 21 additions & 0 deletions providers/kiro/models/claude-opus-4.5.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "Claude Opus 4.5"
family = "claude-opus"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = true
reasoning = true
temperature = true
tool_call = true
open_weights = false

[cost]
input = 0
output = 0

[limit]
context = 200_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
21 changes: 21 additions & 0 deletions providers/kiro/models/claude-opus-4.6.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "Claude Opus 4.6"
family = "claude-opus"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = true
reasoning = true
temperature = true
tool_call = true
open_weights = false

[cost]
input = 0
output = 0

[limit]
context = 1_000_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
21 changes: 21 additions & 0 deletions providers/kiro/models/claude-sonnet-4.5.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "Claude Sonnet 4.5"
family = "claude-sonnet"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = true
reasoning = true
temperature = true
tool_call = true
open_weights = false

[cost]
input = 0
output = 0

[limit]
context = 200_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
21 changes: 21 additions & 0 deletions providers/kiro/models/claude-sonnet-4.6.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "Claude Sonnet 4.6"
family = "claude-sonnet"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = true
reasoning = true
temperature = true
tool_call = true
open_weights = false

[cost]
input = 0
output = 0

[limit]
context = 1_000_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
21 changes: 21 additions & 0 deletions providers/kiro/models/claude-sonnet-4.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "Claude Sonnet 4"
family = "claude-sonnet"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = true
reasoning = true
temperature = true
tool_call = true
open_weights = false

[cost]
input = 0
output = 0

[limit]
context = 200_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
21 changes: 21 additions & 0 deletions providers/kiro/models/deepseek-3.2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "Deepseek v3.2"
family = "deepseek"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = true
reasoning = false
temperature = true
tool_call = true
open_weights = true

[cost]
input = 0
output = 0

[limit]
context = 164_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
21 changes: 21 additions & 0 deletions providers/kiro/models/minimax-m2.1.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "MiniMax M2.1"
family = "minimax"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = true
reasoning = false
temperature = true
tool_call = true
open_weights = true

[cost]
input = 0
output = 0

[limit]
context = 196_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
21 changes: 21 additions & 0 deletions providers/kiro/models/minimax-m2.5.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "MiniMax M2.5"
family = "minimax"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = false
reasoning = false
temperature = true
tool_call = true
open_weights = true

[cost]
input = 0
output = 0

[limit]
context = 196_000
output = 64_000

[modalities]
input = ["text"]
output = ["text"]
21 changes: 21 additions & 0 deletions providers/kiro/models/qwen3-coder-next.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = "Qwen3 Coder Next"
family = "qwen"
release_date = "2026-03-23"
last_updated = "2026-03-23"
attachment = true
reasoning = false
temperature = true
tool_call = true
open_weights = true

[cost]
input = 0
output = 0

[limit]
context = 256_000
output = 64_000

[modalities]
input = ["text", "image"]
output = ["text"]
5 changes: 5 additions & 0 deletions providers/kiro/provider.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name = "Kiro"
env = ["KIRO_ENABLED"]
npm = "kiro"
api = "https://q.us-east-1.amazonaws.com"
doc = "https://kiro.dev"
Loading