From 6d4b51cbe11574f1effc00cb812ff69c7ab8341e Mon Sep 17 00:00:00 2001 From: dylanvu Date: Wed, 2 Sep 2026 19:13:37 -0400 Subject: [PATCH] feat: add Pareto Inference Pass provider --- providers/pareto/logo.svg | 5 ++++ .../models/deepseek/deepseek-v4-flash.toml | 22 ++++++++++++++++ .../pareto/models/z-ai/glm-5.3-flash.toml | 25 +++++++++++++++++++ providers/pareto/models/z-ai/glm-5.3.toml | 22 ++++++++++++++++ providers/pareto/provider.toml | 8 ++++++ 5 files changed, 82 insertions(+) create mode 100644 providers/pareto/logo.svg create mode 100644 providers/pareto/models/deepseek/deepseek-v4-flash.toml create mode 100644 providers/pareto/models/z-ai/glm-5.3-flash.toml create mode 100644 providers/pareto/models/z-ai/glm-5.3.toml create mode 100644 providers/pareto/provider.toml diff --git a/providers/pareto/logo.svg b/providers/pareto/logo.svg new file mode 100644 index 00000000000..cf140760f7e --- /dev/null +++ b/providers/pareto/logo.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/providers/pareto/models/deepseek/deepseek-v4-flash.toml b/providers/pareto/models/deepseek/deepseek-v4-flash.toml new file mode 100644 index 00000000000..894fa5d992b --- /dev/null +++ b/providers/pareto/models/deepseek/deepseek-v4-flash.toml @@ -0,0 +1,22 @@ +# Paid Pareto Pass: $3/week, up to $20/day of usage; no additional token charges. +# https://docs.paretoinference.com/pareto-pass +# Effort: reasoning_effort = high|xhigh; Pareto forwards no reasoning toggle. +# Effort levels and limits follow OpenRouter (accessed 2026-09-02). +# https://openrouter.ai/api/v1/models +base_model = "deepseek/deepseek-v4-flash" + +[[reasoning_options]] +type = "effort" +values = ["high", "xhigh"] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 1_048_576 diff --git a/providers/pareto/models/z-ai/glm-5.3-flash.toml b/providers/pareto/models/z-ai/glm-5.3-flash.toml new file mode 100644 index 00000000000..d3780ddb0c4 --- /dev/null +++ b/providers/pareto/models/z-ai/glm-5.3-flash.toml @@ -0,0 +1,25 @@ +# Paid Pareto Pass: $3/week, up to $20/day of usage; no additional token charges. +# https://docs.paretoinference.com/pareto-pass +# Effort: reasoning_effort = low|high|max; Pareto forwards no reasoning toggle. +# Limits and input modalities follow OpenRouter (accessed 2026-09-02). +# https://openrouter.ai/api/v1/models +base_model = "zhipuai/glm-5.3-flash" + +[[reasoning_options]] +type = "effort" +values = ["low", "high", "max"] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 1_310_720 + +[modalities] +input = ["text", "image", "video"] diff --git a/providers/pareto/models/z-ai/glm-5.3.toml b/providers/pareto/models/z-ai/glm-5.3.toml new file mode 100644 index 00000000000..d12f4600a2d --- /dev/null +++ b/providers/pareto/models/z-ai/glm-5.3.toml @@ -0,0 +1,22 @@ +# Paid Pareto Pass: $3/week, up to $20/day of usage; no additional token charges. +# https://docs.paretoinference.com/pareto-pass +# Effort: reasoning_effort = low|high|max; Pareto forwards no reasoning toggle. +# Limits follow the upstream OpenRouter catalog (accessed 2026-09-02). +# https://openrouter.ai/api/v1/models +base_model = "zhipuai/glm-5.3" + +[[reasoning_options]] +type = "effort" +values = ["low", "high", "max"] + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 +cache_read = 0 +cache_write = 0 + +[limit] +context = 1_310_720 diff --git a/providers/pareto/provider.toml b/providers/pareto/provider.toml new file mode 100644 index 00000000000..8bf02c83662 --- /dev/null +++ b/providers/pareto/provider.toml @@ -0,0 +1,8 @@ +# Pareto Pass is a paid $3/week subscription with up to $20/day of usage. +# Zero token costs below mean no additional charge within the Pass allowance, +# not free access. https://docs.paretoinference.com/pareto-pass +name = "Pareto Inference (Pass)" +npm = "@ai-sdk/openai-compatible" +env = ["PARETO_API_KEY"] +api = "https://api.paretoinference.com/v1" +doc = "https://docs.paretoinference.com/pareto-pass"