Comprehensive side-by-side LLM comparison
GPT-4.1 leads with 5.8% higher average benchmark score. GPT-4.1 offers 824.3K more tokens in context window than Llama 3.1 405B Instruct. Llama 3.1 405B Instruct is $8.22 cheaper per million tokens. GPT-4.1 supports multimodal inputs. Llama 3.1 405B Instruct is available on 8 providers. Overall, GPT-4.1 is the stronger choice for coding tasks.
OpenAI
GPT-4.1 represents an iterative improvement in the GPT-4 series, developed to refine the foundational capabilities established by GPT-4. Built to incorporate learnings and optimizations from the deployment of previous versions, it continues the evolution of OpenAI's flagship model line with enhanced reliability and performance.
Meta
Llama 3.1 405B was developed as Meta's largest open-source language model, designed to provide frontier-level capabilities with 405 billion parameters. Built to demonstrate that open-source models can match proprietary systems in capability, it enables researchers and developers to experiment with and deploy a powerful foundation model without licensing restrictions.
8 months newer

Llama 3.1 405B Instruct
Meta
2024-07-23

GPT-4.1
OpenAI
2025-04-14
Cost per million tokens (USD)

GPT-4.1

Llama 3.1 405B Instruct
Context window and performance specifications
Average performance across 3 common benchmarks

GPT-4.1

Llama 3.1 405B Instruct
GPT-4.1
2024-06-01
Available providers and their performance metrics

GPT-4.1
OpenAI

Llama 3.1 405B Instruct

GPT-4.1

Llama 3.1 405B Instruct

GPT-4.1

Llama 3.1 405B Instruct
Bedrock
DeepInfra
Fireworks
Hyperbolic
Lambda
Replicate
Together