# Redis vs PostgreSQL: which do AI models recommend for nosql, October 2026

IT AI Recommendation Index, October 2026 Edition, NoSQL databases. Zero of fourteen models named Redis first on the direct prompt; zero named PostgreSQL. Page: https://it-ai-index.com/it-data/nosql-databases/redis-vs-postgresql/

| | First-choice share | Rank | Negative rate | Labels | Models naming it |
|---|---|---|---|---|---|
| Redis | 2% | #4 of 13 | 15% | 55 | 14 of 14 |
| PostgreSQL | 2% | #6 of 13 | 0% | 11 | 9 of 14 |

## The direct prompt, model by model

- Mistral Small: neither first, one named (first choices: Amazon DynamoDB, MongoDB) (alternatives: Azure Cosmos DB, Redis)
- DeepSeek V4 Flash: neither first, one named (first choices: MongoDB) (alternatives: Amazon DynamoDB, PostgreSQL)
- Qwen 3.7 Flash: neither first, one named (first choices: MongoDB) (alternatives: Amazon DynamoDB, Neo4j, PostgreSQL)
- GPT-6 Luna: neither first, one named (first choices: MongoDB) (alternatives: Amazon DynamoDB, PostgreSQL)
- Claude Haiku 4.5: neither named (first choices: MongoDB) (alternatives: Amazon DynamoDB, Google Cloud Firestore, PostgreSQL with JSON)
- GPT-5.4 mini: neither named (first choices: MongoDB) (alternatives: Amazon DynamoDB, Apache Cassandra)
- Gemini 3.5 Flash: neither named (first choices: MongoDB) (alternatives: Amazon DynamoDB, Couchbase)
- Perplexity Sonar: neither named (first choices: MongoDB) (alternatives: Amazon DynamoDB, Azure Cosmos DB)
- Grok 4.1 Fast: neither named (first choices: MongoDB) (alternatives: Amazon DynamoDB, Apache Cassandra)
- Llama 4 Maverick: neither named (first choices: MongoDB)
- Kimi K2: neither named (first choices: MongoDB) (alternatives: Couchbase)
- GLM 4.7 FlashX: neither named (first choices: MongoDB) (alternatives: Amazon DynamoDB, Apache Cassandra, Couchbase)
- MiniMax M2.5: neither named (first choices: MongoDB) (alternatives: Amazon DynamoDB, Couchbase)
- Muse Glimmer 30B: neither named (first choices: MongoDB) (alternatives: Amazon DynamoDB)

## What the models said about Redis

- "Redis is extremely fast but should be used with caution for data that needs to persist on disk or for applications requiring complex queries" (Mistral Small, negative prompt, soft negative)
- "Cautious when: Using it as a primary database rather than a cache — it's an in-memory store, and data durability can be a concern." (DeepSeek V4 Flash, negative prompt, soft negative)
- "early versions lacked auth. Redis 7+ is solid; use ACLs and avoid as a primary durable store unless clustered with persistence." (Grok 4.1 Fast, negative prompt, soft negative)
- "Redis is the most popular and versatile key-value store... ideal for mid-sized B2B applications" (Mistral Small, paraphrase prompt, first choice)
- "Redis receiving the highest rating of 8.9 among the leaders" (Claude Haiku 4.5, comparative prompt, first choice)
- "Key-Value Stores
Top Examples: Redis, Amazon DynamoDB" (Qwen 3.7 Flash, comparative prompt, first choice)

## What the models said about PostgreSQL

- "Before choosing any NoSQL database, ask yourself: "Why can't I use PostgreSQL?"" (Gemini 3.5 Flash, negative prompt, first choice)
- "If your data is highly normalized and relational ... stick to Postgres." (Qwen 3.7 Flash, scale prompt, first choice)
- "modern trends suggest looking at PostgreSQL (specifically with JSONB) as the ultimate hybrid solution" (Qwen 3.7 Flash, direct prompt, alternative)

Share is the count of first choices across the direct, paraphrase, budget and scale prompts over all fourteen models, for a mid-market B2B company; rank is within the category. Comparisons are drawn for the top eight products in each category. Published under CC BY 4.0; the output is the models' output, and nothing here is a recommendation by the index.
