diff --git a/providers/coderplan/logo.svg b/providers/coderplan/logo.svg new file mode 100644 index 0000000000..cde9ad702a --- /dev/null +++ b/providers/coderplan/logo.svg @@ -0,0 +1,8 @@ + + + + + + $ + + diff --git a/providers/coderplan/models/anthropic/claude-haiku-4-5.toml b/providers/coderplan/models/anthropic/claude-haiku-4-5.toml new file mode 100644 index 0000000000..f992cf5347 --- /dev/null +++ b/providers/coderplan/models/anthropic/claude-haiku-4-5.toml @@ -0,0 +1,13 @@ +base_model = "anthropic/claude-haiku-4-5" + +[[reasoning_options]] +type = "toggle" + +[[reasoning_options]] +type = "budget_tokens" +min = 1_024 +max = 63_999 + +[cost] +input = 0.14 +output = 0.68 diff --git a/providers/coderplan/models/anthropic/claude-opus-4-7.toml b/providers/coderplan/models/anthropic/claude-opus-4-7.toml new file mode 100644 index 0000000000..752aa032fb --- /dev/null +++ b/providers/coderplan/models/anthropic/claude-opus-4-7.toml @@ -0,0 +1,13 @@ +base_model = "anthropic/claude-opus-4-7" + +[[reasoning_options]] +type = "toggle" + +[[reasoning_options]] +type = "budget_tokens" +min = 1_024 +max = 63_999 + +[cost] +input = 0.68 +output = 3.42 diff --git a/providers/coderplan/models/anthropic/claude-sonnet-4-6.toml b/providers/coderplan/models/anthropic/claude-sonnet-4-6.toml new file mode 100644 index 0000000000..d7a4203f5a --- /dev/null +++ b/providers/coderplan/models/anthropic/claude-sonnet-4-6.toml @@ -0,0 +1,13 @@ +base_model = "anthropic/claude-sonnet-4-6" + +[[reasoning_options]] +type = "toggle" + +[[reasoning_options]] +type = "budget_tokens" +min = 1_024 +max = 63_999 + +[cost] +input = 0.41 +output = 2.05 diff --git a/providers/coderplan/models/deepseek/deepseek-v4-flash.toml b/providers/coderplan/models/deepseek/deepseek-v4-flash.toml new file mode 100644 index 0000000000..302cd4b9d4 --- /dev/null +++ b/providers/coderplan/models/deepseek/deepseek-v4-flash.toml @@ -0,0 +1,12 @@ +base_model = "deepseek/deepseek-v4-flash" + +[[reasoning_options]] +type = "toggle" + +[[reasoning_options]] +type = "effort" +values = ["high", "xhigh"] + +[cost] +input = 0.02 +output = 0.04 diff --git a/providers/coderplan/models/deepseek/deepseek-v4-pro.toml b/providers/coderplan/models/deepseek/deepseek-v4-pro.toml new file mode 100644 index 0000000000..caf2c4706f --- /dev/null +++ b/providers/coderplan/models/deepseek/deepseek-v4-pro.toml @@ -0,0 +1,15 @@ +base_model = "deepseek/deepseek-v4-pro" + +[interleaved] +field = "reasoning_content" + +[[reasoning_options]] +type = "toggle" + +[[reasoning_options]] +type = "effort" +values = ["high", "xhigh"] + +[cost] +input = 0.19 +output = 0.38 diff --git a/providers/coderplan/models/openai/gpt-5.4.toml b/providers/coderplan/models/openai/gpt-5.4.toml new file mode 100644 index 0000000000..89675a2155 --- /dev/null +++ b/providers/coderplan/models/openai/gpt-5.4.toml @@ -0,0 +1,9 @@ +base_model = "openai/gpt-5.4" + +[[reasoning_options]] +type = "effort" +values = ["low", "medium", "high"] + +[cost] +input = 0.17 +output = 1.03 diff --git a/providers/coderplan/models/openai/gpt-5.5.toml b/providers/coderplan/models/openai/gpt-5.5.toml new file mode 100644 index 0000000000..aeb51a55f6 --- /dev/null +++ b/providers/coderplan/models/openai/gpt-5.5.toml @@ -0,0 +1,9 @@ +base_model = "openai/gpt-5.5" + +[[reasoning_options]] +type = "effort" +values = ["low", "medium", "high"] + +[cost] +input = 0.34 +output = 2.05 diff --git a/providers/coderplan/provider.toml b/providers/coderplan/provider.toml new file mode 100644 index 0000000000..bcc29da6af --- /dev/null +++ b/providers/coderplan/provider.toml @@ -0,0 +1,5 @@ +name = "CoderPlan" +env = ["CODERPLAN_API_KEY"] +npm = "@ai-sdk/openai-compatible" +api = "https://api.coderplan.ai/v1" +doc = "https://coderplan.ai/docs/setup"