diff --git a/providers/tencent-coding-plan/logo.svg b/providers/tencent-coding-plan/logo.svg new file mode 100644 index 000000000..502e51a5b --- /dev/null +++ b/providers/tencent-coding-plan/logo.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/providers/tencent-coding-plan/models/glm-5.toml b/providers/tencent-coding-plan/models/glm-5.toml new file mode 100644 index 000000000..b5420ef76 --- /dev/null +++ b/providers/tencent-coding-plan/models/glm-5.toml @@ -0,0 +1,26 @@ +name = "GLM-5" +family = "glm" +release_date = "2026-02-11" +last_updated = "2026-02-11" +attachment = false +reasoning = true +temperature = true +tool_call = true +open_weights = false + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 202_752 +output = 16_384 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/tencent-coding-plan/models/hunyuan-2.0-instruct.toml b/providers/tencent-coding-plan/models/hunyuan-2.0-instruct.toml new file mode 100644 index 000000000..63974718e --- /dev/null +++ b/providers/tencent-coding-plan/models/hunyuan-2.0-instruct.toml @@ -0,0 +1,23 @@ +name = "Tencent HY 2.0 Instruct" +family = "hunyuan" +release_date = "2026-03-08" +last_updated = "2026-03-08" +attachment = false +reasoning = false +temperature = true +tool_call = true +open_weights = false + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 131_072 +output = 16_384 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/tencent-coding-plan/models/hunyuan-2.0-thinking.toml b/providers/tencent-coding-plan/models/hunyuan-2.0-thinking.toml new file mode 100644 index 000000000..faf409bae --- /dev/null +++ b/providers/tencent-coding-plan/models/hunyuan-2.0-thinking.toml @@ -0,0 +1,26 @@ +name = "Tencent HY 2.0 Think" +family = "hunyuan" +release_date = "2026-03-08" +last_updated = "2026-03-08" +attachment = false +reasoning = true +temperature = true +tool_call = true +open_weights = false + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 131_072 +output = 16_384 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/tencent-coding-plan/models/hunyuan-t1.toml b/providers/tencent-coding-plan/models/hunyuan-t1.toml new file mode 100644 index 000000000..83b17bca2 --- /dev/null +++ b/providers/tencent-coding-plan/models/hunyuan-t1.toml @@ -0,0 +1,26 @@ +name = "Hunyuan-T1" +family = "hunyuan" +release_date = "2026-03-08" +last_updated = "2026-03-08" +attachment = false +reasoning = true +temperature = true +tool_call = true +open_weights = false + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 131_072 +output = 16_384 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/tencent-coding-plan/models/hunyuan-turbos.toml b/providers/tencent-coding-plan/models/hunyuan-turbos.toml new file mode 100644 index 000000000..0c48790d2 --- /dev/null +++ b/providers/tencent-coding-plan/models/hunyuan-turbos.toml @@ -0,0 +1,23 @@ +name = "Hunyuan-TurboS" +family = "hunyuan" +release_date = "2026-03-08" +last_updated = "2026-03-08" +attachment = false +reasoning = false +temperature = true +tool_call = true +open_weights = false + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 131_072 +output = 16_384 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/tencent-coding-plan/models/kimi-k2.5.toml b/providers/tencent-coding-plan/models/kimi-k2.5.toml new file mode 100644 index 000000000..cc860f197 --- /dev/null +++ b/providers/tencent-coding-plan/models/kimi-k2.5.toml @@ -0,0 +1,27 @@ +name = "Kimi-K2.5" +family = "kimi" +release_date = "2026-01-27" +last_updated = "2026-01-27" +attachment = true +reasoning = true +temperature = true +tool_call = true +knowledge = "2025-01" +open_weights = true + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 262_144 +output = 32_768 + +[modalities] +input = ["text", "image", "video"] +output = ["text"] diff --git a/providers/tencent-coding-plan/models/minimax-m2.5.toml b/providers/tencent-coding-plan/models/minimax-m2.5.toml new file mode 100644 index 000000000..ddde722ca --- /dev/null +++ b/providers/tencent-coding-plan/models/minimax-m2.5.toml @@ -0,0 +1,26 @@ +name = "MiniMax-M2.5" +family = "minimax" +release_date = "2026-02-12" +last_updated = "2026-02-12" +attachment = false +reasoning = true +temperature = true +tool_call = true +open_weights = true + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 204_800 +output = 32_768 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/tencent-coding-plan/models/tc-code-latest.toml b/providers/tencent-coding-plan/models/tc-code-latest.toml new file mode 100644 index 000000000..95829cf8e --- /dev/null +++ b/providers/tencent-coding-plan/models/tc-code-latest.toml @@ -0,0 +1,23 @@ +name = "Auto" +family = "auto" +release_date = "2026-03-08" +last_updated = "2026-03-08" +attachment = false +reasoning = false +temperature = true +tool_call = true +open_weights = false + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 131_072 +output = 16_384 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/tencent-coding-plan/provider.toml b/providers/tencent-coding-plan/provider.toml new file mode 100644 index 000000000..460a70b7e --- /dev/null +++ b/providers/tencent-coding-plan/provider.toml @@ -0,0 +1,5 @@ +name = "Tencent Coding Plan (China)" +env = ["TENCENT_CODING_PLAN_API_KEY"] +npm = "@ai-sdk/openai-compatible" +doc = "https://cloud.tencent.com/document/product/1772/128947" +api = "https://api.lkeap.cloud.tencent.com/coding/v3"