Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions models/openai/gpt-6-astra.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
15 changes: 15 additions & 0 deletions packages/modelparams-python/src/modelparams/types/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
{
Expand Down Expand Up @@ -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",
Expand Down
79 changes: 79 additions & 0 deletions packages/modelparams/src/generated/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions packages/modelparams/src/generated/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions packages/modelparams/src/generated/model-ids.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions packages/modelparams/src/generated/params-by-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading