Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

feat(models): add OpenAI GPT-5.6 model family (#19856)

Sourav Rajvi0849da0f0b08
diff --git a/conf/all_models.json b/conf/all_models.json
index 297c9df807..17e06ce442 100644
--- a/conf/all_models.json
+++ b/conf/all_models.json
@@ -22572,7 +22572,77 @@
"model_types": [
"chat",
"vision"
- ]
+ ],
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ },
+ "context_length": 1050000,
+ "max_output": 128000
+ },
+ {
+ "name": "openai/gpt-5.6-sol",
+ "alias": [
+ "gpt-5.6-sol"
+ ],
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ },
+ "context_length": 1050000,
+ "max_output": 128000
+ },
+ {
+ "name": "openai/gpt-5.6-cyber",
+ "alias": [
+ "gpt-5.6-cyber"
+ ],
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ },
+ "context_length": 1050000,
+ "max_output": 128000
+ },
+ {
+ "name": "openai/gpt-5.6-luna",
+ "alias": [
+ "gpt-5.6-luna"
+ ],
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ },
+ "context_length": 1050000,
+ "max_output": 128000
+ },
+ {
+ "name": "openai/gpt-5.6-terra",
+ "alias": [
+ "gpt-5.6-terra"
+ ],
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "thinking": {
+ "default_value": true,
+ "clear_thinking": true
+ },
+ "context_length": 1050000,
+ "max_output": 128000
},
{
"name": "openai/gpt-5.5-2026-04-23",
diff --git a/conf/llm_factories.json b/conf/llm_factories.json
index 3d68561295..904c42ad55 100644
--- a/conf/llm_factories.json
+++ b/conf/llm_factories.json
@@ -191,6 +191,41 @@
"rank": "999",
"url": "https://api.openai.com/v1",
"llm": [
+ {
+ "llm_name": "gpt-5.6",
+ "tags": "LLM,CHAT,400k,IMAGE2TEXT",
+ "max_tokens": 400000,
+ "model_type": "chat",
+ "is_tools": true
+ },
+ {
+ "llm_name": "gpt-5.6-sol",
+ "tags": "LLM,CHAT,400k,IMAGE2TEXT",
+ "max_tokens": 400000,
+ "model_type": "chat",
+ "is_tools": true
+ },
+ {
+ "llm_name": "gpt-5.6-cyber",
+ "tags": "LLM,CHAT,400k,IMAGE2TEXT",
+ "max_tokens": 400000,
+ "model_type": "chat",
+ "is_tools": true
+ },
+ {
+ "llm_name": "gpt-5.6-luna",
+ "tags": "LLM,CHAT,400k,IMAGE2TEXT",
+ "max_tokens": 400000,
+ "model_type": "chat",
+ "is_tools": true
+ },
+ {
+ "llm_name": "gpt-5.6-terra",
+ "tags": "LLM,CHAT,400k,IMAGE2TEXT",
+ "max_tokens": 400000,
+ "model_type": "chat",
+ "is_tools": true
+ },
{
"llm_name": "gpt-5.5",
"tags": "LLM,CHAT,400k,IMAGE2TEXT",
diff --git a/conf/models/openai.json b/conf/models/openai.json
index 33eedecfdd..9f2cd70350 100644
--- a/conf/models/openai.json
+++ b/conf/models/openai.json
@@ -13,6 +13,66 @@
},
"class": "gpt",
"models": [
+ {
+ "name": "gpt-5.6",
+ "context_length": 1050000,
+ "max_output": 128000,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "gpt-5.6-sol",
+ "context_length": 1050000,
+ "max_output": 128000,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "gpt-5.6-cyber",
+ "context_length": 1050000,
+ "max_output": 128000,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "gpt-5.6-luna",
+ "context_length": 1050000,
+ "max_output": 128000,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
+ {
+ "name": "gpt-5.6-terra",
+ "context_length": 1050000,
+ "max_output": 128000,
+ "model_types": [
+ "chat",
+ "vision"
+ ],
+ "tools": {
+ "support": true
+ }
+ },
{
"name": "gpt-5.5",
"context_length": 1050000,