From 850e4950d60481335f49fe6e5844ad7c28867efe Mon Sep 17 00:00:00 2001 From: Guillaume Gay Date: Sat, 5 Sep 2026 02:54:09 +0000 Subject: [PATCH] feat: add openai/gpt-6-astra --- models/openai/gpt-6-astra.yaml | 60 ++++++++++++++ .../src/modelparams/_generated/catalog.json | 79 +++++++++++++++++++ .../src/modelparams/_generated/model_ids.py | 2 + .../src/modelparams/_generated/registry.py | 1 + .../src/modelparams/types/openai.py | 15 ++++ packages/modelparams/src/generated/data.ts | 79 +++++++++++++++++++ .../modelparams/src/generated/defaults.ts | 6 ++ .../modelparams/src/generated/model-ids.ts | 1 + .../modelparams/src/generated/params-by-id.ts | 8 ++ 9 files changed, 251 insertions(+) create mode 100644 models/openai/gpt-6-astra.yaml diff --git a/models/openai/gpt-6-astra.yaml b/models/openai/gpt-6-astra.yaml new file mode 100644 index 00000000..2a10e859 --- /dev/null +++ b/models/openai/gpt-6-astra.yaml @@ -0,0 +1,60 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: openai +authType: api_key +apiSurface: openai-chat-completions +model: gpt-6-astra +status: deprecated +replacement: openai/gpt-5.6-sol +shutdownOn: 2026-10-23 +params: + - path: max_completion_tokens + type: integer + label: Max tokens + description: Maximum number of output tokens the model may generate. + range: + min: 1 + max: 131072 + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. + default: 1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0. + default: 1 + range: + min: 0 + max: 1 + group: sampling + - path: reasoning_effort + type: enum + label: Reasoning effort + description: Controls how much reasoning the model should perform before producing an answer. + default: medium + values: + - low + - medium + - high + group: reasoning + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or a schema-constrained JSON object. + default: text + values: + - text + - json_schema + group: output_format + - path: tool_choice + type: enum + label: Tool choice + description: Controls whether the model may call tools, must call one, or skips tool calls. + values: + - auto + - none + - required + group: tooling diff --git a/packages/modelparams-python/src/modelparams/_generated/catalog.json b/packages/modelparams-python/src/modelparams/_generated/catalog.json index 522ab6f3..a8b179f1 100644 --- a/packages/modelparams-python/src/modelparams/_generated/catalog.json +++ b/packages/modelparams-python/src/modelparams/_generated/catalog.json @@ -25164,6 +25164,85 @@ } ] }, + { + "provider": "openai", + "authType": "api_key", + "apiSurface": "openai-chat-completions", + "model": "gpt-6-astra", + "status": "deprecated", + "replacement": "openai/gpt-5.6-sol", + "shutdownOn": "2026-10-23", + "params": [ + { + "path": "max_completion_tokens", + "label": "Max tokens", + "description": "Maximum number of output tokens the model may generate.", + "group": "generation_length", + "type": "integer", + "range": { + "min": 1, + "max": 131072 + } + }, + { + "path": "temperature", + "label": "Temperature", + "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0.", + "group": "sampling", + "type": "number", + "default": 1 + }, + { + "path": "top_p", + "label": "Top P", + "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0.", + "group": "sampling", + "type": "number", + "default": 1, + "range": { + "min": 0, + "max": 1 + } + }, + { + "path": "reasoning_effort", + "label": "Reasoning effort", + "description": "Controls how much reasoning the model should perform before producing an answer.", + "group": "reasoning", + "type": "enum", + "default": "medium", + "values": [ + "low", + "medium", + "high" + ] + }, + { + "path": "response_format.type", + "label": "Response format", + "description": "Controls whether the model returns normal text or a schema-constrained JSON object.", + "group": "output_format", + "type": "enum", + "default": "text", + "values": [ + "text", + "json_schema" + ] + }, + { + "path": "tool_choice", + "label": "Tool choice", + "description": "Controls whether the model may call tools, must call one, or skips tool calls.", + "group": "tooling", + "type": "enum", + "values": [ + "auto", + "none", + "required" + ] + } + ] + }, { "provider": "openai", "authType": "api_key", diff --git a/packages/modelparams-python/src/modelparams/_generated/model_ids.py b/packages/modelparams-python/src/modelparams/_generated/model_ids.py index 14f88791..bfea8958 100644 --- a/packages/modelparams-python/src/modelparams/_generated/model_ids.py +++ b/packages/modelparams-python/src/modelparams/_generated/model_ids.py @@ -332,6 +332,7 @@ "openai/gpt-5.6-sol-subscription", "openai/gpt-5.6-terra", "openai/gpt-5.6-terra-subscription", + "openai/gpt-6-astra", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/gpt-oss-safeguard-120b", @@ -737,6 +738,7 @@ "openai/gpt-5.6-sol-subscription", "openai/gpt-5.6-terra", "openai/gpt-5.6-terra-subscription", + "openai/gpt-6-astra", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/gpt-oss-safeguard-120b", diff --git a/packages/modelparams-python/src/modelparams/_generated/registry.py b/packages/modelparams-python/src/modelparams/_generated/registry.py index 2fabc57e..e2441bb0 100644 --- a/packages/modelparams-python/src/modelparams/_generated/registry.py +++ b/packages/modelparams-python/src/modelparams/_generated/registry.py @@ -357,6 +357,7 @@ "openai/gpt-5.6-sol-subscription": openai.Gpt_5_6_Sol_SubscriptionParams, "openai/gpt-5.6-terra": openai.Gpt_5_6_TerraParams, "openai/gpt-5.6-terra-subscription": openai.Gpt_5_6_Terra_SubscriptionParams, + "openai/gpt-6-astra": openai.Gpt_6_AstraParams, "openai/gpt-oss-120b": openai.Gpt_Oss_120bParams, "openai/gpt-oss-20b": openai.Gpt_Oss_20bParams, "openai/gpt-oss-safeguard-120b": openai.Gpt_Oss_Safeguard_120bParams, diff --git a/packages/modelparams-python/src/modelparams/types/openai.py b/packages/modelparams-python/src/modelparams/types/openai.py index d52c61f3..66cc3845 100644 --- a/packages/modelparams-python/src/modelparams/types/openai.py +++ b/packages/modelparams-python/src/modelparams/types/openai.py @@ -479,6 +479,20 @@ ) setattr(Gpt_5_6_Terra_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG) +Gpt_6_AstraParams = TypedDict( + "Gpt_6_AstraParams", + { + "max_completion_tokens": Annotated[int, Field(ge=1, le=131072)], + "temperature": float, + "top_p": Annotated[float, Field(ge=0, le=1)], + "reasoning_effort": Literal["low", "medium", "high"], + "response_format.type": Literal["text", "json_schema"], + "tool_choice": Literal["auto", "none", "required"], + }, + total=False, +) +setattr(Gpt_6_AstraParams, "__pydantic_config__", _PARAMS_CONFIG) + Gpt_Oss_120bParams = TypedDict( "Gpt_Oss_120bParams", { @@ -646,6 +660,7 @@ "Gpt_5_6_Sol_SubscriptionParams", "Gpt_5_6_TerraParams", "Gpt_5_6_Terra_SubscriptionParams", + "Gpt_6_AstraParams", "Gpt_Oss_120bParams", "Gpt_Oss_20bParams", "Gpt_Oss_Safeguard_120bParams", diff --git a/packages/modelparams/src/generated/data.ts b/packages/modelparams/src/generated/data.ts index 5146335e..0b1daea7 100644 --- a/packages/modelparams/src/generated/data.ts +++ b/packages/modelparams/src/generated/data.ts @@ -25169,6 +25169,85 @@ const GENERATED_CATALOG = [ } ] }, + { + "provider": "openai", + "authType": "api_key", + "apiSurface": "openai-chat-completions", + "model": "gpt-6-astra", + "status": "deprecated", + "replacement": "openai/gpt-5.6-sol", + "shutdownOn": "2026-10-23", + "params": [ + { + "path": "max_completion_tokens", + "label": "Max tokens", + "description": "Maximum number of output tokens the model may generate.", + "group": "generation_length", + "type": "integer", + "range": { + "min": 1, + "max": 131072 + } + }, + { + "path": "temperature", + "label": "Temperature", + "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0.", + "group": "sampling", + "type": "number", + "default": 1 + }, + { + "path": "top_p", + "label": "Top P", + "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0.", + "group": "sampling", + "type": "number", + "default": 1, + "range": { + "min": 0, + "max": 1 + } + }, + { + "path": "reasoning_effort", + "label": "Reasoning effort", + "description": "Controls how much reasoning the model should perform before producing an answer.", + "group": "reasoning", + "type": "enum", + "default": "medium", + "values": [ + "low", + "medium", + "high" + ] + }, + { + "path": "response_format.type", + "label": "Response format", + "description": "Controls whether the model returns normal text or a schema-constrained JSON object.", + "group": "output_format", + "type": "enum", + "default": "text", + "values": [ + "text", + "json_schema" + ] + }, + { + "path": "tool_choice", + "label": "Tool choice", + "description": "Controls whether the model may call tools, must call one, or skips tool calls.", + "group": "tooling", + "type": "enum", + "values": [ + "auto", + "none", + "required" + ] + } + ] + }, { "provider": "openai", "authType": "api_key", diff --git a/packages/modelparams/src/generated/defaults.ts b/packages/modelparams/src/generated/defaults.ts index 823050b2..7d5f5c58 100644 --- a/packages/modelparams/src/generated/defaults.ts +++ b/packages/modelparams/src/generated/defaults.ts @@ -1615,6 +1615,12 @@ export const DEFAULTS = { "reasoning.summary": "auto", "text.verbosity": "medium", }, + "openai/gpt-6-astra": { + temperature: 1, + top_p: 1, + reasoning_effort: "medium", + "response_format.type": "text", + }, "openai/gpt-oss-120b": { temperature: 1, top_p: 1, diff --git a/packages/modelparams/src/generated/model-ids.ts b/packages/modelparams/src/generated/model-ids.ts index 488e5e3b..b3639d63 100644 --- a/packages/modelparams/src/generated/model-ids.ts +++ b/packages/modelparams/src/generated/model-ids.ts @@ -330,6 +330,7 @@ export const MODEL_IDS = [ "openai/gpt-5.6-sol-subscription", "openai/gpt-5.6-terra", "openai/gpt-5.6-terra-subscription", + "openai/gpt-6-astra", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/gpt-oss-safeguard-120b", diff --git a/packages/modelparams/src/generated/params-by-id.ts b/packages/modelparams/src/generated/params-by-id.ts index 2f707577..0baa2f63 100644 --- a/packages/modelparams/src/generated/params-by-id.ts +++ b/packages/modelparams/src/generated/params-by-id.ts @@ -2517,6 +2517,14 @@ export type ParamsById = { "reasoning.summary": "auto" | "concise" | "detailed"; "text.verbosity": "low" | "medium" | "high"; }; + "openai/gpt-6-astra": { + max_completion_tokens: number; + temperature: number; + top_p: number; + reasoning_effort: "low" | "medium" | "high"; + "response_format.type": "text" | "json_schema"; + tool_choice: "auto" | "none" | "required"; + }; "openai/gpt-oss-120b": { max_completion_tokens: number; temperature: number;