From 61007effe0a2b6f17d60e8a1f966388fbebef06e Mon Sep 17 00:00:00 2001 From: Ade Arman Date: Tue, 7 Jul 2026 09:20:04 +0700 Subject: [PATCH] feat(providers): add byNara router Add byNara as an OpenAI-compatible provider served by https://router.bynara.id/v1, plus 19 public model aliases sourced from the live pricing endpoint. Co-authored-by: ByNara --- providers/bynara/logo.svg | 28 +++++++++++++++++++ providers/bynara/models/claude-fable-5.toml | 6 ++++ providers/bynara/models/claude-opus-4.7.toml | 6 ++++ providers/bynara/models/claude-opus-4.8.toml | 6 ++++ .../bynara/models/claude-sonnet-4.5.toml | 6 ++++ providers/bynara/models/claude-sonnet-5.toml | 6 ++++ .../bynara/models/deepseek-v4-flash.toml | 8 ++++++ providers/bynara/models/deepseek-v4-pro.toml | 8 ++++++ providers/bynara/models/glm-5.1.toml | 6 ++++ providers/bynara/models/glm-5.2.toml | 8 ++++++ providers/bynara/models/gpt-5.4.toml | 6 ++++ providers/bynara/models/gpt-5.5.toml | 6 ++++ providers/bynara/models/kimi-k2.6.toml | 6 ++++ providers/bynara/models/kimi-k2.7-code.toml | 8 ++++++ .../models/mimo-v2.5-pro-ultraspeed.toml | 8 ++++++ providers/bynara/models/mimo-v2.5-pro.toml | 8 ++++++ providers/bynara/models/mimo-v2.5.toml | 8 ++++++ providers/bynara/models/minimax-m3.toml | 6 ++++ providers/bynara/models/mistral-large.toml | 6 ++++ .../bynara/models/mistral-medium-3-5.toml | 6 ++++ providers/bynara/provider.toml | 6 ++++ 21 files changed, 162 insertions(+) create mode 100644 providers/bynara/logo.svg create mode 100644 providers/bynara/models/claude-fable-5.toml create mode 100644 providers/bynara/models/claude-opus-4.7.toml create mode 100644 providers/bynara/models/claude-opus-4.8.toml create mode 100644 providers/bynara/models/claude-sonnet-4.5.toml create mode 100644 providers/bynara/models/claude-sonnet-5.toml create mode 100644 providers/bynara/models/deepseek-v4-flash.toml create mode 100644 providers/bynara/models/deepseek-v4-pro.toml create mode 100644 providers/bynara/models/glm-5.1.toml create mode 100644 providers/bynara/models/glm-5.2.toml create mode 100644 providers/bynara/models/gpt-5.4.toml create mode 100644 providers/bynara/models/gpt-5.5.toml create mode 100644 providers/bynara/models/kimi-k2.6.toml create mode 100644 providers/bynara/models/kimi-k2.7-code.toml create mode 100644 providers/bynara/models/mimo-v2.5-pro-ultraspeed.toml create mode 100644 providers/bynara/models/mimo-v2.5-pro.toml create mode 100644 providers/bynara/models/mimo-v2.5.toml create mode 100644 providers/bynara/models/minimax-m3.toml create mode 100644 providers/bynara/models/mistral-large.toml create mode 100644 providers/bynara/models/mistral-medium-3-5.toml create mode 100644 providers/bynara/provider.toml diff --git a/providers/bynara/logo.svg b/providers/bynara/logo.svg new file mode 100644 index 0000000000..bc2cf44738 --- /dev/null +++ b/providers/bynara/logo.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/providers/bynara/models/claude-fable-5.toml b/providers/bynara/models/claude-fable-5.toml new file mode 100644 index 0000000000..2627091dc7 --- /dev/null +++ b/providers/bynara/models/claude-fable-5.toml @@ -0,0 +1,6 @@ +base_model = "anthropic/claude-fable-5" +reasoning = false + +[cost] +input = 10 +output = 50 diff --git a/providers/bynara/models/claude-opus-4.7.toml b/providers/bynara/models/claude-opus-4.7.toml new file mode 100644 index 0000000000..0fb1dd7dd4 --- /dev/null +++ b/providers/bynara/models/claude-opus-4.7.toml @@ -0,0 +1,6 @@ +base_model = "anthropic/claude-opus-4-7" +reasoning = false + +[cost] +input = 0 +output = 25 diff --git a/providers/bynara/models/claude-opus-4.8.toml b/providers/bynara/models/claude-opus-4.8.toml new file mode 100644 index 0000000000..a75ab2f9c9 --- /dev/null +++ b/providers/bynara/models/claude-opus-4.8.toml @@ -0,0 +1,6 @@ +base_model = "anthropic/claude-opus-4-8" +reasoning = false + +[cost] +input = 4 +output = 25 diff --git a/providers/bynara/models/claude-sonnet-4.5.toml b/providers/bynara/models/claude-sonnet-4.5.toml new file mode 100644 index 0000000000..7c0a814f18 --- /dev/null +++ b/providers/bynara/models/claude-sonnet-4.5.toml @@ -0,0 +1,6 @@ +base_model = "anthropic/claude-sonnet-4-5" +reasoning = false + +[cost] +input = 3 +output = 15 diff --git a/providers/bynara/models/claude-sonnet-5.toml b/providers/bynara/models/claude-sonnet-5.toml new file mode 100644 index 0000000000..160b2da694 --- /dev/null +++ b/providers/bynara/models/claude-sonnet-5.toml @@ -0,0 +1,6 @@ +base_model = "anthropic/claude-sonnet-5" +reasoning = false + +[cost] +input = 2 +output = 10 diff --git a/providers/bynara/models/deepseek-v4-flash.toml b/providers/bynara/models/deepseek-v4-flash.toml new file mode 100644 index 0000000000..da141ada33 --- /dev/null +++ b/providers/bynara/models/deepseek-v4-flash.toml @@ -0,0 +1,8 @@ +base_model = "deepseek/deepseek-v4-flash" +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 1000000 }] + +[cost] +input = 0.09 +output = 0.18 +reasoning = 0.18 diff --git a/providers/bynara/models/deepseek-v4-pro.toml b/providers/bynara/models/deepseek-v4-pro.toml new file mode 100644 index 0000000000..74b2dcfa4e --- /dev/null +++ b/providers/bynara/models/deepseek-v4-pro.toml @@ -0,0 +1,8 @@ +base_model = "deepseek/deepseek-v4-pro" +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 1000000 }] + +[cost] +input = 0.435 +output = 0.87 +reasoning = 0.87 diff --git a/providers/bynara/models/glm-5.1.toml b/providers/bynara/models/glm-5.1.toml new file mode 100644 index 0000000000..7985fe1ff6 --- /dev/null +++ b/providers/bynara/models/glm-5.1.toml @@ -0,0 +1,6 @@ +base_model = "zhipuai/glm-5.1" +reasoning = false + +[cost] +input = 0.98 +output = 3.08 diff --git a/providers/bynara/models/glm-5.2.toml b/providers/bynara/models/glm-5.2.toml new file mode 100644 index 0000000000..cd6e14a9f6 --- /dev/null +++ b/providers/bynara/models/glm-5.2.toml @@ -0,0 +1,8 @@ +base_model = "zhipuai/glm-5.2" +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 1000000 }] + +[cost] +input = 0.98 +output = 3.08 +reasoning = 3.08 diff --git a/providers/bynara/models/gpt-5.4.toml b/providers/bynara/models/gpt-5.4.toml new file mode 100644 index 0000000000..cb1dee2db1 --- /dev/null +++ b/providers/bynara/models/gpt-5.4.toml @@ -0,0 +1,6 @@ +base_model = "openai/gpt-5.4" +reasoning = false + +[cost] +input = 2.5 +output = 15 diff --git a/providers/bynara/models/gpt-5.5.toml b/providers/bynara/models/gpt-5.5.toml new file mode 100644 index 0000000000..26bd18d88c --- /dev/null +++ b/providers/bynara/models/gpt-5.5.toml @@ -0,0 +1,6 @@ +base_model = "openai/gpt-5.5" +reasoning = false + +[cost] +input = 5 +output = 30 diff --git a/providers/bynara/models/kimi-k2.6.toml b/providers/bynara/models/kimi-k2.6.toml new file mode 100644 index 0000000000..9f9879f8fa --- /dev/null +++ b/providers/bynara/models/kimi-k2.6.toml @@ -0,0 +1,6 @@ +base_model = "moonshotai/kimi-k2.6" +reasoning = false + +[cost] +input = 0.66 +output = 3.41 diff --git a/providers/bynara/models/kimi-k2.7-code.toml b/providers/bynara/models/kimi-k2.7-code.toml new file mode 100644 index 0000000000..85748e2ac8 --- /dev/null +++ b/providers/bynara/models/kimi-k2.7-code.toml @@ -0,0 +1,8 @@ +base_model = "moonshotai/kimi-k2.7-code" +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 262000 }] + +[cost] +input = 0.68 +output = 3.41 +reasoning = 3.41 diff --git a/providers/bynara/models/mimo-v2.5-pro-ultraspeed.toml b/providers/bynara/models/mimo-v2.5-pro-ultraspeed.toml new file mode 100644 index 0000000000..6755f1477a --- /dev/null +++ b/providers/bynara/models/mimo-v2.5-pro-ultraspeed.toml @@ -0,0 +1,8 @@ +base_model = "xiaomi/mimo-v2.5-pro-ultraspeed" +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 1000000 }] + +[cost] +input = 0.435 +output = 0.87 +reasoning = 0.87 diff --git a/providers/bynara/models/mimo-v2.5-pro.toml b/providers/bynara/models/mimo-v2.5-pro.toml new file mode 100644 index 0000000000..465fa3d5b8 --- /dev/null +++ b/providers/bynara/models/mimo-v2.5-pro.toml @@ -0,0 +1,8 @@ +base_model = "xiaomi/mimo-v2.5-pro" +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 1000000 }] + +[cost] +input = 0.435 +output = 0.87 +reasoning = 0.87 diff --git a/providers/bynara/models/mimo-v2.5.toml b/providers/bynara/models/mimo-v2.5.toml new file mode 100644 index 0000000000..26035065fb --- /dev/null +++ b/providers/bynara/models/mimo-v2.5.toml @@ -0,0 +1,8 @@ +base_model = "xiaomi/mimo-v2.5" +reasoning = true +reasoning_options = [{ type = "toggle" }, { type = "budget_tokens", min = 1024, max = 1000000 }] + +[cost] +input = 0.14 +output = 0.28 +reasoning = 0.28 diff --git a/providers/bynara/models/minimax-m3.toml b/providers/bynara/models/minimax-m3.toml new file mode 100644 index 0000000000..8e37e39a0c --- /dev/null +++ b/providers/bynara/models/minimax-m3.toml @@ -0,0 +1,6 @@ +base_model = "minimax/MiniMax-M3" +reasoning = false + +[cost] +input = 0.3 +output = 1.2 diff --git a/providers/bynara/models/mistral-large.toml b/providers/bynara/models/mistral-large.toml new file mode 100644 index 0000000000..fa72728258 --- /dev/null +++ b/providers/bynara/models/mistral-large.toml @@ -0,0 +1,6 @@ +base_model = "mistral/mistral-large-latest" +reasoning = false + +[cost] +input = 0.5 +output = 1.5 diff --git a/providers/bynara/models/mistral-medium-3-5.toml b/providers/bynara/models/mistral-medium-3-5.toml new file mode 100644 index 0000000000..95134f6569 --- /dev/null +++ b/providers/bynara/models/mistral-medium-3-5.toml @@ -0,0 +1,6 @@ +base_model = "mistral/mistral-medium-2604" +reasoning = false + +[cost] +input = 1.5 +output = 7.5 diff --git a/providers/bynara/provider.toml b/providers/bynara/provider.toml new file mode 100644 index 0000000000..6127922796 --- /dev/null +++ b/providers/bynara/provider.toml @@ -0,0 +1,6 @@ +name = "byNara" +# OpenAI-compatible router gateway. Use a byNara API key. +npm = "@ai-sdk/openai-compatible" +env = ["BYNARA_API_KEY"] +api = "https://router.bynara.id/v1" +doc = "https://bynara.id/products"