diff --git a/crates/core/seeds/model_catalog_v2_2026_11_24.json b/crates/core/seeds/model_catalog_v2_2026_11_24.json new file mode 100644 index 000000000..3bb919e95 --- /dev/null +++ b/crates/core/seeds/model_catalog_v2_2026_11_24.json @@ -0,0 +1,1035 @@ +{ + "revision": 11, + "source_sha256": "ba1159df618c9ae050d444e03e0a760a9c1fb4e2a0731de75780c9685fd9ca95", + "models": [ + { + "slug": "gpt-6.2-sol", + "display_name": "GPT-6.2 Sol", + "description": "Near-Astra performance for complex work at a lower cost.", + "visibility": "list", + "priority": 1, + "default_reasoning_effort": "medium", + "context_window": 272000, + "max_context_window": 922000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh", + "max" + ], + "service_tiers": [ + "priority" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "supported_endpoints": [ + "/v1/responses", + "/v1/chat/completions" + ], + "api_context_window": 1050000, + "max_output_tokens": 128000, + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "unified_exec", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "experimental_supported_tools": [], + "effective_context_window_percent": 95, + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "include_skills_usage_instructions": false, + "tool_calling_endpoints": [ + "/v1/responses" + ], + "supports_streaming": true + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/models/gpt-6.2-sol", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 2000000, + "cached_input_microusd_per_1m": 100000, + "cache_write_microusd_per_1m": 2500000, + "output_microusd_per_1m": 10000000 + }, + { + "min_input_tokens": 272001, + "input_microusd_per_1m": 4000000, + "cached_input_microusd_per_1m": 200000, + "cache_write_microusd_per_1m": 5000000, + "output_microusd_per_1m": 15000000 + } + ] + }, + { + "slug": "gpt-6.2-astra", + "display_name": "GPT-6.2 Astra", + "description": "Our most capable model for complex, demanding work.", + "visibility": "list", + "priority": 1, + "default_reasoning_effort": "low", + "context_window": 272000, + "max_context_window": 922000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh", + "max" + ], + "service_tiers": [ + "priority" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "supported_endpoints": [ + "/v1/responses", + "/v1/chat/completions" + ], + "api_context_window": 1050000, + "max_output_tokens": 128000, + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "unified_exec", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "experimental_supported_tools": [], + "effective_context_window_percent": 95, + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "include_skills_usage_instructions": false, + "tool_calling_endpoints": [ + "/v1/responses" + ], + "supports_streaming": true + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/models/gpt-6.2-astra", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 8000000, + "cached_input_microusd_per_1m": 400000, + "cache_write_microusd_per_1m": 10000000, + "output_microusd_per_1m": 40000000 + }, + { + "min_input_tokens": 272001, + "input_microusd_per_1m": 16000000, + "cached_input_microusd_per_1m": 800000, + "cache_write_microusd_per_1m": 20000000, + "output_microusd_per_1m": 60000000 + } + ] + }, + { + "slug": "gpt-6.1-terra", + "display_name": "GPT-6.1 Terra", + "description": "Balanced agentic coding model for everyday work.", + "visibility": "list", + "priority": 3, + "default_reasoning_effort": "medium", + "context_window": 272000, + "max_context_window": 922000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh", + "max" + ], + "service_tiers": [ + "priority" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "supported_endpoints": [ + "/v1/responses", + "/v1/chat/completions" + ], + "api_context_window": 1050000, + "max_output_tokens": 128000, + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "unified_exec", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "experimental_supported_tools": [], + "effective_context_window_percent": 95, + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "include_skills_usage_instructions": false, + "tool_calling_endpoints": [ + "/v1/responses" + ], + "supports_streaming": true + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/models/gpt-6.1-terra", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 1000000, + "cached_input_microusd_per_1m": 50000, + "cache_write_microusd_per_1m": 1250000, + "output_microusd_per_1m": 5000000 + }, + { + "min_input_tokens": 272001, + "input_microusd_per_1m": 2000000, + "cached_input_microusd_per_1m": 100000, + "cache_write_microusd_per_1m": 2500000, + "output_microusd_per_1m": 7500000 + } + ] + }, + { + "slug": "gpt-6-astra", + "display_name": "GPT-6-Astra", + "description": "Our most capable model for complex, demanding work.", + "visibility": "list", + "priority": 1, + "default_reasoning_effort": "low", + "context_window": 272000, + "max_context_window": 872000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh", + "max", + "ultra" + ], + "service_tiers": [ + "priority" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "supported_endpoints": [ + "/v1/responses", + "/v1/chat/completions" + ], + "api_context_window": 1050000, + "max_output_tokens": 128000, + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "unified_exec", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "experimental_supported_tools": [], + "effective_context_window_percent": 95, + "minimal_client_version": "0.153.0", + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "comp_hash": "3000", + "tool_mode": "code_mode_only", + "multi_agent_version": "v2", + "multi_agent_reasoning_effort": "xhigh", + "use_responses_lite": true, + "include_skills_usage_instructions": false + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/models/gpt-6-astra", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 10000000, + "cached_input_microusd_per_1m": 1000000, + "cache_write_microusd_per_1m": 12500000, + "output_microusd_per_1m": 50000000 + }, + { + "min_input_tokens": 272001, + "input_microusd_per_1m": 20000000, + "cached_input_microusd_per_1m": 2000000, + "cache_write_microusd_per_1m": 25000000, + "output_microusd_per_1m": 75000000 + } + ] + }, + { + "slug": "gpt-6.1-sol", + "display_name": "GPT-6.1 Sol", + "description": "Near-Astra performance for complex work at a lower cost.", + "visibility": "list", + "priority": 2, + "default_reasoning_effort": "medium", + "context_window": 272000, + "max_context_window": 872000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh", + "max" + ], + "service_tiers": [ + "priority" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "supported_endpoints": [ + "/v1/responses", + "/v1/chat/completions" + ], + "api_context_window": 1050000, + "max_output_tokens": 128000, + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "unified_exec", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "experimental_supported_tools": [], + "effective_context_window_percent": 95, + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "include_skills_usage_instructions": false, + "tool_calling_endpoints": [ + "/v1/responses" + ], + "supports_streaming": true + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/models/gpt-6.1-sol", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 2000000, + "cached_input_microusd_per_1m": 100000, + "cache_write_microusd_per_1m": 2500000, + "output_microusd_per_1m": 10000000 + }, + { + "min_input_tokens": 272001, + "input_microusd_per_1m": 4000000, + "cached_input_microusd_per_1m": 200000, + "cache_write_microusd_per_1m": 5000000, + "output_microusd_per_1m": 15000000 + } + ] + }, + { + "slug": "gpt-5.6-sol", + "display_name": "GPT-5.6-Sol", + "description": "Latest frontier agentic coding model.", + "visibility": "list", + "priority": 4, + "default_reasoning_effort": "low", + "context_window": 272000, + "max_context_window": 872000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh", + "max", + "ultra" + ], + "service_tiers": [ + "priority", + "ultrafast" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "unified_exec", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "experimental_supported_tools": [], + "effective_context_window_percent": 95, + "minimal_client_version": "0.144.0", + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "comp_hash": "3000", + "tool_mode": "code_mode_only", + "multi_agent_version": "v2", + "use_responses_lite": true, + "include_skills_usage_instructions": false, + "upgrade": { + "model": "gpt-6-sol", + "upgrade_copy": "Use the newer GPT-6 Sol model" + } + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/models/compare", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 5000000, + "cached_input_microusd_per_1m": 500000, + "cache_write_microusd_per_1m": 6250000, + "output_microusd_per_1m": 30000000 + }, + { + "min_input_tokens": 272001, + "input_microusd_per_1m": 10000000, + "cached_input_microusd_per_1m": 1000000, + "cache_write_microusd_per_1m": 12500000, + "output_microusd_per_1m": 45000000 + } + ] + }, + { + "slug": "gpt-5.6-terra", + "display_name": "GPT-5.6-Terra", + "description": "Balanced agentic coding model for everyday work.", + "visibility": "list", + "priority": 7, + "default_reasoning_effort": "medium", + "context_window": 272000, + "max_context_window": 872000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh", + "max", + "ultra" + ], + "service_tiers": [ + "priority" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "unified_exec", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "experimental_supported_tools": [], + "effective_context_window_percent": 95, + "minimal_client_version": "0.144.0", + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "comp_hash": "3000", + "tool_mode": "code_mode_only", + "multi_agent_version": "v2", + "use_responses_lite": true, + "include_skills_usage_instructions": false, + "upgrade": { + "model": "gpt-6-sol", + "upgrade_copy": "Use the newer GPT-6 Sol model" + } + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/models/compare", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 2000000, + "cached_input_microusd_per_1m": 200000, + "cache_write_microusd_per_1m": 2500000, + "output_microusd_per_1m": 12000000 + }, + { + "min_input_tokens": 272001, + "input_microusd_per_1m": 4000000, + "cached_input_microusd_per_1m": 400000, + "cache_write_microusd_per_1m": 5000000, + "output_microusd_per_1m": 18000000 + } + ] + }, + { + "slug": "gpt-5.6-luna", + "display_name": "GPT-5.6-Luna", + "description": "Fast and affordable agentic coding model.", + "visibility": "list", + "priority": 8, + "default_reasoning_effort": "medium", + "context_window": 272000, + "max_context_window": 872000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh", + "max" + ], + "service_tiers": [ + "priority" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "unified_exec", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "experimental_supported_tools": [], + "effective_context_window_percent": 95, + "minimal_client_version": "0.144.0", + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "comp_hash": "3000", + "tool_mode": "code_mode_only", + "multi_agent_version": "v1", + "use_responses_lite": true, + "include_skills_usage_instructions": false, + "upgrade": { + "model": "gpt-6-luna", + "upgrade_copy": "Use the newer GPT-6 Luna model" + } + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/models/compare", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 200000, + "cached_input_microusd_per_1m": 20000, + "cache_write_microusd_per_1m": 250000, + "output_microusd_per_1m": 1200000 + }, + { + "min_input_tokens": 272001, + "input_microusd_per_1m": 400000, + "cached_input_microusd_per_1m": 40000, + "cache_write_microusd_per_1m": 500000, + "output_microusd_per_1m": 1800000 + } + ] + }, + { + "slug": "gpt-5.5", + "display_name": "GPT-5.5", + "description": "Frontier model for complex coding, research, and real-world work.", + "visibility": "list", + "priority": 7, + "default_reasoning_effort": "medium", + "context_window": 272000, + "max_context_window": 272000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh" + ], + "service_tiers": [ + "priority" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "unified_exec", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "experimental_supported_tools": [], + "effective_context_window_percent": 95, + "minimal_client_version": "0.124.0", + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "comp_hash": "2911", + "tool_mode": null, + "multi_agent_version": null, + "use_responses_lite": false, + "include_skills_usage_instructions": false, + "upgrade": { + "model": "gpt-6-sol", + "upgrade_copy": "Use the newer GPT-6 Sol model" + } + }, + "price_status": "official", + "price_source": "verified_seed_2026-05-11", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 5000000, + "cached_input_microusd_per_1m": 500000, + "output_microusd_per_1m": 30000000 + }, + { + "min_input_tokens": 272000, + "input_microusd_per_1m": 10000000, + "cached_input_microusd_per_1m": 1000000, + "output_microusd_per_1m": 45000000 + } + ] + }, + { + "slug": "gpt-image-2", + "display_name": "GPT Image 2", + "description": "State-of-the-art image generation and editing model.", + "visibility": "list", + "priority": 44, + "default_reasoning_effort": null, + "context_window": null, + "max_context_window": null, + "capabilities": { + "reasoning_efforts": [], + "service_tiers": [], + "additional_speed_tiers": [], + "input_modalities": [ + "text", + "image" + ], + "output_modalities": [ + "image" + ], + "supported_endpoints": [ + "/v1/images/generations", + "/v1/images/edits" + ], + "snapshot": "gpt-image-2-2026-04-21", + "supports_text_generation": false, + "supports_image_generation": true, + "supports_image_editing": true, + "supports_transparent_background": false, + "include_skills_usage_instructions": false + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/pricing#image-generation", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 8000000, + "cached_input_microusd_per_1m": 2000000, + "output_microusd_per_1m": 30000000 + } + ] + }, + { + "slug": "gpt-6-sol", + "display_name": "GPT-6-Sol", + "description": "Latest frontier agentic coding model.", + "visibility": "list", + "priority": 2, + "default_reasoning_effort": "medium", + "context_window": 272000, + "max_context_window": 872000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh", + "max", + "ultra" + ], + "service_tiers": [ + "priority", + "ultrafast" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "supported_endpoints": [ + "/v1/responses", + "/v1/chat/completions" + ], + "api_context_window": 1050000, + "max_output_tokens": 128000, + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "shell_command", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "effective_context_window_percent": 95, + "minimal_client_version": "0.155.0", + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "comp_hash": "3000", + "tool_mode": "code_mode_only", + "multi_agent_version": "v2", + "multi_agent_reasoning_effort": null, + "use_responses_lite": true, + "include_skills_usage_instructions": false + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/models/gpt-6-sol", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 2000000, + "cached_input_microusd_per_1m": 200000, + "cache_write_microusd_per_1m": 2500000, + "output_microusd_per_1m": 10000000 + }, + { + "min_input_tokens": 272001, + "input_microusd_per_1m": 4000000, + "cached_input_microusd_per_1m": 400000, + "cache_write_microusd_per_1m": 5000000, + "output_microusd_per_1m": 15000000 + } + ] + }, + { + "slug": "gpt-6-luna", + "display_name": "GPT-6-Luna", + "description": "Fast and affordable agentic coding model.", + "visibility": "list", + "priority": 3, + "default_reasoning_effort": "high", + "context_window": 272000, + "max_context_window": 872000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh", + "max" + ], + "service_tiers": [ + "priority" + ], + "additional_speed_tiers": [ + "fast" + ], + "input_modalities": [ + "text", + "image" + ], + "supported_endpoints": [ + "/v1/responses", + "/v1/chat/completions" + ], + "api_context_window": 1050000, + "max_output_tokens": 128000, + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "shell_command", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "effective_context_window_percent": 95, + "minimal_client_version": "0.155.0", + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "comp_hash": "3000", + "tool_mode": "code_mode_only", + "multi_agent_version": "v2", + "use_responses_lite": true, + "include_skills_usage_instructions": false + }, + "price_status": "official", + "price_source": "https://developers.openai.com/api/docs/models/gpt-6-luna", + "price_tiers": [ + { + "min_input_tokens": 0, + "input_microusd_per_1m": 100000, + "cached_input_microusd_per_1m": 10000, + "cache_write_microusd_per_1m": 125000, + "output_microusd_per_1m": 500000 + }, + { + "min_input_tokens": 272001, + "input_microusd_per_1m": 200000, + "cached_input_microusd_per_1m": 20000, + "cache_write_microusd_per_1m": 250000, + "output_microusd_per_1m": 750000 + } + ] + }, + { + "slug": "gpt-image-2.5-sunburst", + "display_name": "GPT Image 2.5 Sunburst", + "description": "Advanced image generation with high instruction following and image fidelity.", + "visibility": "list", + "priority": 45, + "default_reasoning_effort": null, + "context_window": null, + "max_context_window": null, + "capabilities": { + "reasoning_efforts": [], + "service_tiers": [], + "additional_speed_tiers": [], + "quality_settings": [ + "low", + "medium", + "high", + "xhigh", + "max", + "auto" + ], + "input_modalities": [ + "text", + "image" + ], + "output_modalities": [ + "image" + ], + "supported_endpoints": [ + "/v1/images/generations", + "/v1/images/edits" + ], + "snapshot": "gpt-image-2.5-sunburst-2026-09-08", + "supports_text_generation": false, + "supports_image_generation": true, + "supports_image_editing": true, + "supports_transparent_background": true, + "include_skills_usage_instructions": false + }, + "price_status": "missing", + "price_source": "https://developers.openai.com/api/docs/models/gpt-image-2.5-sunburst", + "price_tiers": [] + }, + { + "slug": "gpt-image-2.5-flare", + "display_name": "GPT Image 2.5 Flare", + "description": "Fast, high-quality everyday image generation.", + "visibility": "list", + "priority": 46, + "default_reasoning_effort": null, + "context_window": null, + "max_context_window": null, + "capabilities": { + "reasoning_efforts": [], + "service_tiers": [], + "additional_speed_tiers": [], + "quality_settings": [ + "low", + "medium", + "high", + "xhigh", + "max", + "auto" + ], + "input_modalities": [ + "text", + "image" + ], + "output_modalities": [ + "image" + ], + "supported_endpoints": [ + "/v1/images/generations", + "/v1/images/edits" + ], + "snapshot": "gpt-image-2.5-flare-2026-09-08", + "supports_text_generation": false, + "supports_image_generation": true, + "supports_image_editing": true, + "supports_transparent_background": true, + "include_skills_usage_instructions": false + }, + "price_status": "missing", + "price_source": "https://developers.openai.com/api/docs/models/gpt-image-2.5-flare", + "price_tiers": [] + }, + { + "slug": "codex-auto-review", + "display_name": "Codex Auto Review", + "description": "Automatic approval review model for Codex.", + "visibility": "hide", + "priority": 43, + "default_reasoning_effort": "medium", + "context_window": 272000, + "max_context_window": 1000000, + "capabilities": { + "reasoning_efforts": [ + "low", + "medium", + "high", + "xhigh" + ], + "service_tiers": [], + "additional_speed_tiers": [], + "input_modalities": [ + "text", + "image" + ], + "prefer_websockets": true, + "supports_parallel_tool_calls": true, + "supports_reasoning_summaries": true, + "default_reasoning_summary": "none", + "reasoning_summary_format": "experimental", + "supports_verbosity": true, + "default_verbosity": "low", + "supports_image_detail_original": true, + "supports_search_tool": true, + "apply_patch_tool_type": "freeform", + "web_search_tool_type": "text_and_image", + "shell_type": "shell_command", + "truncation_mode": "tokens", + "truncation_limit": 10000, + "experimental_supported_tools": [], + "effective_context_window_percent": 95, + "minimal_client_version": "0.98.0", + "default_service_tier": null, + "auto_compact_token_limit": null, + "auto_review_model_override": null, + "comp_hash": null, + "tool_mode": null, + "multi_agent_version": null, + "use_responses_lite": false, + "include_skills_usage_instructions": false + }, + "price_status": "missing", + "price_source": null, + "price_tiers": [] + } + ] +} diff --git a/crates/core/src/storage/model_catalog_revision10_tests.rs b/crates/core/src/storage/model_catalog_revision10_tests.rs index f8276d6ac..bcff06fc4 100644 --- a/crates/core/src/storage/model_catalog_revision10_tests.rs +++ b/crates/core/src/storage/model_catalog_revision10_tests.rs @@ -42,7 +42,7 @@ fn revision10_adds_sol61_without_changing_revision9_models() { .unwrap() .unwrap(); assert!(model.enabled && model.supported_in_api); - assert_eq!(model.builtin_revision, Some(10)); + assert_eq!(model.builtin_revision, Some(MODEL_CATALOG_REVISION11)); assert_eq!( model.capabilities["service_tiers"], serde_json::json!(["priority"]) @@ -147,7 +147,7 @@ fn revision10_does_not_seed_into_future_catalog() { storage .conn .execute( - "UPDATE models SET builtin_revision=11 WHERE slug='gpt-6-astra'", + "UPDATE models SET builtin_revision=12 WHERE slug='gpt-6-astra'", [], ) .unwrap(); @@ -164,13 +164,20 @@ fn revision10_does_not_seed_into_future_catalog() { |r| r.get(0), ) .unwrap(); - assert_eq!(revision, "11"); + assert_eq!(revision, "12"); } #[test] fn revision10_failed_insert_rolls_back_migration_markers() { let storage = revision9_storage(); storage.conn.execute("CREATE TRIGGER reject_sol61 BEFORE INSERT ON models WHEN NEW.slug='gpt-6.1-sol' BEGIN SELECT RAISE(ABORT, 'test insert failure'); END;", []).unwrap(); + storage + .conn + .execute( + "UPDATE models SET builtin_revision=9 WHERE origin='builtin' AND user_edited=0", + [], + ) + .unwrap(); assert!(storage.apply_model_catalog_revision10_migration().is_err()); assert!(!storage .has_migration(MODEL_CATALOG_REVISION10_MIGRATION_VERSION) diff --git a/crates/core/src/storage/model_catalog_v2.rs b/crates/core/src/storage/model_catalog_v2.rs index b04ec9c9d..a6e747a8b 100644 --- a/crates/core/src/storage/model_catalog_v2.rs +++ b/crates/core/src/storage/model_catalog_v2.rs @@ -20,6 +20,7 @@ const MODEL_CATALOG_REVISION9_MIGRATION_VERSION: &str = "137_model_catalog_revis const MODEL_CATALOG_REVISION9: i64 = 9; const MODEL_CATALOG_REVISION10_MIGRATION_VERSION: &str = "138_model_catalog_gpt61_sol"; const MODEL_CATALOG_REVISION10: i64 = 10; +const MODEL_CATALOG_REVISION11: i64 = 11; const RETIRED_CODEX_MODEL_SLUGS_REVISION9: &[&str] = &["gpt-5.4", "gpt-5.4-mini", "gpt-5.2"]; const GPT56_METADATA_FIX_CONTEXT_WINDOW: i64 = 272_000; const GPT56_METADATA_FIX_MAX_CONTEXT_WINDOW: i64 = 872_000; @@ -41,6 +42,7 @@ const KNOWN_MODEL_CATALOG_SOURCE_SHA256: &[&str] = &[ "ff99a8e61a58adaebb872d1970f746994cdbd1191e7adf74587cc1e6e01503d2", "e526f3b9048f16c07d3c1e15a1d43eec16a78f7fe18e6552419d02d8ccc8e064", "e993784040f785e736674a573347b353d6cd69b648398dbc56a5a548a72d6dd8", + "ba1159df618c9ae050d444e03e0a760a9c1fb4e2a0731de75780c9685fd9ca95", ]; #[derive(Debug, Clone, Deserialize)] struct BuiltinCatalogFixture { @@ -278,7 +280,7 @@ fn revision9_fixture() -> BuiltinCatalogFixture { } fn fixture() -> BuiltinCatalogFixture { - gpt61_sol_migration_fixture() + revision11_fixture() } fn gpt61_sol_migration_fixture() -> BuiltinCatalogFixture { @@ -298,6 +300,17 @@ fn gpt61_sol_migration_fixture() -> BuiltinCatalogFixture { fixture } +fn revision11_fixture() -> BuiltinCatalogFixture { + let fixture: BuiltinCatalogFixture = + serde_json::from_str(include_str!("../../seeds/model_catalog_v2_2026_11_24.json")) + .expect("model catalog V2 revision 11 fixture must be valid"); + assert_eq!( + fixture.revision, MODEL_CATALOG_REVISION11, + "model catalog V2 revision 11 fixture must remain frozen" + ); + fixture +} + fn should_replace_fixture_source_hash( current: Option<&str>, fixture: &BuiltinCatalogFixture, @@ -3183,8 +3196,8 @@ mod tests { let storage = storage(); let all = storage.list_managed_models_v2(true).expect("list all"); let visible = storage.list_api_models_v2().expect("list visible"); - assert_eq!(all.len(), 12); - assert_eq!(visible.len(), 11); + assert_eq!(all.len(), 15); + assert_eq!(visible.len(), 14); for slug in RETIRED_CODEX_MODEL_SLUGS_REVISION9 { assert!(all.iter().all(|model| model.slug != *slug)); } @@ -3976,7 +3989,7 @@ mod tests { storage .conn .execute( - "UPDATE models SET builtin_revision=11 + "UPDATE models SET builtin_revision=12 WHERE origin='builtin' AND user_edited=0", [], ) @@ -3997,7 +4010,7 @@ mod tests { storage .conn .execute( - "UPDATE model_catalog_v2_meta SET value='11' WHERE key='builtin_revision'", + "UPDATE model_catalog_v2_meta SET value='12' WHERE key='builtin_revision'", [], ) .unwrap(); @@ -4023,7 +4036,7 @@ mod tests { .unwrap() .expect("future Sol remains"); assert_eq!(sol.display_name, "Future GPT-6 Sol"); - assert_eq!(sol.builtin_revision, Some(11)); + assert_eq!(sol.builtin_revision, Some(12)); assert_eq!(sol.capabilities["future"], true); let revision: String = storage .conn @@ -4033,7 +4046,7 @@ mod tests { |row| row.get(0), ) .unwrap(); - assert_eq!(revision, "11"); + assert_eq!(revision, "12"); let source_sha256: String = storage .conn .query_row( @@ -4198,7 +4211,7 @@ mod tests { .unwrap() .unwrap(); assert_eq!(image.origin, "builtin"); - assert_eq!(image.builtin_revision, Some(10)); + assert_eq!(image.builtin_revision, Some(11)); assert_eq!(image.routes.len(), 1); assert_eq!(image.routes[0].upstream_model, "gpt-image-2"); let sol = storage @@ -4214,7 +4227,7 @@ mod tests { |row| row.get(0), ) .unwrap(); - assert_eq!(revision, "10"); + assert_eq!(revision, "11"); } #[test] @@ -4273,7 +4286,7 @@ mod tests { .unwrap() .unwrap(); assert_eq!(restored.origin, "builtin"); - assert_eq!(restored.builtin_revision, Some(10)); + assert_eq!(restored.builtin_revision, Some(11)); assert_eq!(restored.routes[0].upstream_model, "gpt-image-2"); } diff --git a/crates/storage-seaorm/src/model_catalog/reconcile.rs b/crates/storage-seaorm/src/model_catalog/reconcile.rs index d7d3b9ea9..9cfd1a354 100644 --- a/crates/storage-seaorm/src/model_catalog/reconcile.rs +++ b/crates/storage-seaorm/src/model_catalog/reconcile.rs @@ -45,12 +45,13 @@ struct BuiltinModelSeed { pub(crate) async fn reconcile_builtin_catalog(db: &DatabaseConnection) -> Result<(), DbErr> { reconcile_revision9_catalog(db).await?; - // Revision 10 only adds GPT-6.1 Sol. Existing rows own their metadata, - // prices and routes; insert_missing_seed also respects custom slugs and tombstones. + // Revision 11 adds GPT-6.1 Terra and the GPT-6.2 family. Existing rows own + // their metadata, prices and routes; insert_missing_seed also respects custom + // slugs and tombstones. let latest: BuiltinCatalogFixture = serde_json::from_str(include_str!( - "../../../core/seeds/model_catalog_v2_2026_09_30.json" + "../../../core/seeds/model_catalog_v2_2026_11_24.json" )) - .expect("revision 10 model catalog fixture must be valid"); + .expect("revision 11 model catalog fixture must be valid"); let tx = db.begin().await?; crate::UsersRepository::lock(&tx, "model_groups").await?; let stored_revision = meta_value(&tx, "builtin_revision")