Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

feat(backend): add GPT-6 Astra support (#14358)

Nicholas Tindle1e232468088b
diff --git a/autogpt_platform/backend/backend/data/llm_registry/catalog.py b/autogpt_platform/backend/backend/data/llm_registry/catalog.py
index 78ee995de9..3cbc864076 100644
--- a/autogpt_platform/backend/backend/data/llm_registry/catalog.py
+++ b/autogpt_platform/backend/backend/data/llm_registry/catalog.py
@@ -1170,6 +1170,27 @@ def _build_catalog() -> CatalogPayload:
output_credits_per_1m=660.0,
),
),
+ CatalogModel(
+ slug="gpt-6-astra",
+ display_name="GPT-6 Astra",
+ provider="openai",
+ creator="openai",
+ context_window=1050000,
+ max_output_tokens=128000,
+ # $10/1M in, $50/1M out — OpenAI list price at launch,
+ # credited at the catalog's standard usd_per_1m x 150
+ # factor (same factor every other entry in this file
+ # uses, e.g. claude-sonnet-5: $3 -> 450). At 1500 input
+ # credits this is 2x the highest tier-2 model in the
+ # catalog, so it's filed as tier 3 to keep the picker's
+ # price badge accurate.
+ price_tier=3,
+ cost=CatalogModelCost(
+ run_credits=20,
+ input_credits_per_1m=1500.0,
+ output_credits_per_1m=7500.0,
+ ),
+ ),
CatalogModel(
slug="gpt-5.6-sol",
display_name="GPT-5.6 Sol",
diff --git a/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py b/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py
index 707eba0518..d81d794c8e 100644
--- a/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py
+++ b/autogpt_platform/backend/backend/data/llm_registry/catalog_test.py
@@ -151,6 +151,23 @@ def test_claude_sonnet_5_bills_at_authored_rates():
assert MODEL_METADATA[s5].max_output_tokens == 128000
+def test_gpt6_astra_bills_at_authored_rates():
+ """GPT-6 Astra (OpenAI list price $10/$50 per 1M) — flat tier and
+ per-1M projections must match the authored catalog entry."""
+ astra = LLMModel("gpt-6-astra")
+ assert MODEL_COST[astra] == 20
+ assert TOKEN_COST[astra].model_dump() == {
+ "input": 1500.0,
+ "output": 7500.0,
+ "cache_read": 0.0,
+ "cache_creation": 0.0,
+ }
+ assert MODEL_METADATA[astra].max_output_tokens == 128000
+ astra_entry = next(m for m in CATALOG.models if m.slug == "gpt-6-astra")
+ assert astra_entry.price_tier == 3
+ assert astra_entry.context_window == 1050000
+
+
def test_provider_usd_prices_are_all_or_nothing():
"""A half-authored provider USD price must refuse to construct — it
would silently underprice against the transport family default."""
diff --git a/autogpt_platform/backend/backend/data/llm_registry/llm_models.py b/autogpt_platform/backend/backend/data/llm_registry/llm_models.py
index b77f1dd8d2..24fb261531 100644
--- a/autogpt_platform/backend/backend/data/llm_registry/llm_models.py
+++ b/autogpt_platform/backend/backend/data/llm_registry/llm_models.py
@@ -140,7 +140,9 @@ class LLMModel(str, Enum, metaclass=LLMModelMeta):
O3_PRO = "o3-pro"
O1 = "o1"
O1_MINI = "o1-mini"
- # GPT-5.6 models (current flagship, July 2026)
+ # GPT-6 models (September 2026)
+ GPT6_ASTRA = "gpt-6-astra"
+ # GPT-5.6 models (July 2026)
GPT5_6_SOL = "gpt-5.6-sol"
GPT5_6_TERRA = "gpt-5.6-terra"
GPT5_6_LUNA = "gpt-5.6-luna"