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
8 changes: 8 additions & 0 deletions providers/coderplan/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions providers/coderplan/models/anthropic/claude-haiku-4-5.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Pricing: converted from CNY catalog (https://coderplan.ai/pricing, 2026-08-18) at 1 USD = 7.15 CNY
base_model = "anthropic/claude-haiku-4-5"

[[reasoning_options]]
type = "budget_tokens"
min = 1_024

[cost]
input = 0.07
cache_read = 0.007
output = 0.35
10 changes: 10 additions & 0 deletions providers/coderplan/models/anthropic/claude-opus-4-7.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Pricing: converted from CNY catalog (https://coderplan.ai/pricing, 2026-08-18) at 1 USD = 7.15 CNY
base_model = "anthropic/claude-opus-4-7"

[[reasoning_options]]
type = "effort"
values = ["low", "medium", "high", "xhigh", "max"]

[cost]
input = 0.35
output = 1.75
15 changes: 15 additions & 0 deletions providers/coderplan/models/anthropic/claude-sonnet-4-6.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Pricing: converted from CNY catalog (https://coderplan.ai/pricing, 2026-08-18) at 1 USD = 7.15 CNY
base_model = "anthropic/claude-sonnet-4-6"

[[reasoning_options]]
type = "effort"
values = ["low", "medium", "high", "max"]

[[reasoning_options]]
type = "budget_tokens"
min = 1_024

[cost]
input = 0.21
cache_read = 0.014
output = 1.05
18 changes: 18 additions & 0 deletions providers/coderplan/models/deepseek/deepseek-v4-flash.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Pricing: converted from CNY catalog (https://coderplan.ai/pricing, 2026-08-18) at 1 USD = 7.15 CNY
# Reasoning toggle wire path: OpenAI-compatible `chat.completions` → `thinking.type = enabled|disabled` (DeepSeek-style passthrough)
base_model = "deepseek/deepseek-v4-flash"

[[reasoning_options]]
type = "toggle"

[[reasoning_options]]
type = "effort"
values = ["low", "high", "max"]

[interleaved]
field = "reasoning_content"

[cost]
input = 0.34
cache_read = 0.0112
output = 1.01
18 changes: 18 additions & 0 deletions providers/coderplan/models/deepseek/deepseek-v4-pro.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Pricing: converted from CNY catalog (https://coderplan.ai/pricing, 2026-08-18) at 1 USD = 7.15 CNY
# Reasoning toggle wire path: OpenAI-compatible `chat.completions` → `thinking.type = enabled|disabled` (DeepSeek-style passthrough)
base_model = "deepseek/deepseek-v4-pro"

[[reasoning_options]]
type = "toggle"

[[reasoning_options]]
type = "effort"
values = ["high", "max"]

[interleaved]
field = "reasoning_content"

[cost]
input = 1.01
cache_read = 0.0336
output = 3.02
9 changes: 9 additions & 0 deletions providers/coderplan/models/openai/gpt-5.4.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Pricing: converted from CNY catalog (https://coderplan.ai/pricing, 2026-08-18) at 1 USD = 7.15 CNY
base_model = "openai/gpt-5.4"

reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }]

[cost]
input = 0.12
cache_read = 0.0126
output = 0.73
9 changes: 9 additions & 0 deletions providers/coderplan/models/openai/gpt-5.5.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Pricing: converted from CNY catalog (https://coderplan.ai/pricing, 2026-08-18) at 1 USD = 7.15 CNY
base_model = "openai/gpt-5.5"

reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh"] }]

[cost]
input = 0.25
cache_read = 0.025
output = 1.47
5 changes: 5 additions & 0 deletions providers/coderplan/provider.toml
Original file line number Diff line number Diff line change
@@ -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"
Loading