From 2128831a4a218e98d590bb1d09476df70a056a07 Mon Sep 17 00:00:00 2001 From: Alexander Bakin Date: Sun, 9 Nov 2025 21:48:14 +0300 Subject: [PATCH] add OpenAI models for Deep Infra --- .../deepinfra/models/openai/gpt-oss-120b.toml | 23 +++++++++++++++++++ .../deepinfra/models/openai/gpt-oss-20b.toml | 23 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 providers/deepinfra/models/openai/gpt-oss-120b.toml create mode 100644 providers/deepinfra/models/openai/gpt-oss-20b.toml diff --git a/providers/deepinfra/models/openai/gpt-oss-120b.toml b/providers/deepinfra/models/openai/gpt-oss-120b.toml new file mode 100644 index 000000000..7d04a92e3 --- /dev/null +++ b/providers/deepinfra/models/openai/gpt-oss-120b.toml @@ -0,0 +1,23 @@ +# https://deepinfra.com/openai/gpt-oss-120b + +name = "GPT OSS 120B" +release_date = "2025-08-05" +last_updated = "2025-08-05" +attachment = false +reasoning = true +temperature = true +tool_call = true +open_weights = true + +[cost] +input = 0.05 +output = 0.24 + +[limit] +context = 131_072 +# https://deepinfra.com/docs/advanced/max_tokens_limit +output = 16_384 + +[modalities] +input = ["text"] +output = ["text"] diff --git a/providers/deepinfra/models/openai/gpt-oss-20b.toml b/providers/deepinfra/models/openai/gpt-oss-20b.toml new file mode 100644 index 000000000..f7461e964 --- /dev/null +++ b/providers/deepinfra/models/openai/gpt-oss-20b.toml @@ -0,0 +1,23 @@ +# https://deepinfra.com/openai/gpt-oss-20b + +name = "GPT OSS 20B" +release_date = "2025-08-05" +last_updated = "2025-08-05" +attachment = false +reasoning = true +temperature = true +tool_call = true +open_weights = true + +[cost] +input = 0.03 +output = 0.14 + +[limit] +context = 131_072 +# https://deepinfra.com/docs/advanced/max_tokens_limit +output = 16_384 + +[modalities] +input = ["text"] +output = ["text"]