From 824325fdab088d29c8eb3aeb0da0e0f3bdb14fe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=C3=B3teo?= Date: Wed, 25 Feb 2026 15:36:41 -0300 Subject: [PATCH] Add Modal as a provider with zai-org/GLM-5-FP8 free --- providers/modal/logo.svg | 9 +++++++ providers/modal/models/zai-org/GLM-5-FP8.toml | 25 +++++++++++++++++++ providers/modal/provider.toml | 5 ++++ 3 files changed, 39 insertions(+) create mode 100644 providers/modal/logo.svg create mode 100644 providers/modal/models/zai-org/GLM-5-FP8.toml create mode 100644 providers/modal/provider.toml diff --git a/providers/modal/logo.svg b/providers/modal/logo.svg new file mode 100644 index 000000000..1e63036c0 --- /dev/null +++ b/providers/modal/logo.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/providers/modal/models/zai-org/GLM-5-FP8.toml b/providers/modal/models/zai-org/GLM-5-FP8.toml new file mode 100644 index 000000000..abc3c5b76 --- /dev/null +++ b/providers/modal/models/zai-org/GLM-5-FP8.toml @@ -0,0 +1,25 @@ +name = "Z.ai: GLM-5 (FP8 free)" +family = "glm" +release_date = "2026-02-11" +last_updated = "2026-02-11" +attachment = false +reasoning = true +temperature = true +tool_call = true +structured_output = true +open_weights = true + +[interleaved] +field = "reasoning_content" + +[cost] +input = 0 +output = 0 + +[limit] +context = 204800 +output = 131072 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/modal/provider.toml b/providers/modal/provider.toml new file mode 100644 index 000000000..399bd1e96 --- /dev/null +++ b/providers/modal/provider.toml @@ -0,0 +1,5 @@ +name = "Modal" +env = ["MODAL_API_KEY"] +npm = "@ai-sdk/openai-compatible" +api = "https://api.us-west-2.modal.direct/v1" +doc = "https://modal.com/docs"