Comprehensive side-by-side LLM comparison
Mistral Small 3.1 24B Instruct supports multimodal inputs. Both models have their strengths depending on your specific coding needs.
OpenAI
GPT-5 Codex, released by OpenAI in August 2025, is a coding-specialized large language model from the GPT-5 family engineered for software engineering, code generation, and agentic development workflows. It builds on GPT-5's architecture with optimizations targeting multi-file code editing, test generation, and automated debugging. GPT-5 Codex targets developers and agentic coding tools requiring a model tuned specifically for programming tasks.
Mistral AI
Mistral Small 3.1 is a 24-billion-parameter multimodal model from Mistral AI, released in March 2025 as an update to Mistral Small 3 that added vision understanding and expanded the context window from 32K to 128K tokens. The model accepts both text and image inputs, broadening its applicability to document analysis, image-grounded reasoning, and mixed-media workflows without requiring an increase in parameter count. Released under Apache 2.0, it continued Mistral's pattern of incremental capability gains delivered in compact, practically deployable open-weight packages.
4 months newer

Mistral Small 3.1 24B Instruct
Mistral AI
2025-03-17

GPT-5 Codex
OpenAI
2025-08
Available providers and their performance metrics
GPT-5 Codex
Mistral Small 3.1 24B Instruct
GPT-5 Codex
Mistral Small 3.1 24B Instruct