modelgrep

Longest-Context OpenAI Models

Match · Updated July 2026

GPT-5.6 Luna Pro has the largest context window of any OpenAI model, at 1.1M tokens. GPT-5.6 Luna (1.1M) and GPT-5.6 Terra Pro (1.1M) round out the top three.

1.1MContext
$0.100Input /M

AI models with the largest context windows, ranked by token capacity. The best large language models for long documents, codebases and extended conversations.

  1. 1openai logo
    gpt-5.6-luna-pro
    ReasoningToolsJSON+1$0.100/M
    1.1M
    Context
  2. 2openai logo
    gpt-5.6-luna
    ReasoningToolsJSON+151.2 intel · $0.100/M
    1.1M
    Context
  3. 3openai logo
    gpt-5.6-terra-pro
    ReasoningToolsJSON+1$1.00/M
    1.1M
    Context
  4. 4openai logo
    gpt-5.6-terra
    ReasoningToolsJSON+155.0 intel · $1.00/M
    1.1M
    Context
  5. 5openai logo
    gpt-5.6-sol-pro
    ReasoningToolsJSON+1$5.00/M
    1.1M
    Context
  6. 6openai logo
    gpt-5.6-sol
    ReasoningToolsJSON+158.9 intel · $5.00/M
    1.1M
    Context
  7. 7openai logo
    gpt-5.5-pro
    ReasoningToolsJSON+1$30.00/M
    1.1M
    Context
  8. 8openai logo
    gpt-5.5
    ReasoningToolsJSON+154.8 intel · $5.00/M
    1.1M
    Context
  9. 9openai logo
    gpt-5.5:batch
    ReasoningToolsJSON+154.8 intel · $2.50/M
    1.1M
    Context
  10. 10openai logo
    gpt-5.4-pro
    ReasoningToolsJSON+1$30.00/M
    1.1M
    Context
  11. 11openai logo
    gpt-5.4
    ReasoningToolsJSON+151.4 intel · $2.50/M
    1.1M
    Context
  12. 12openai logo
    gpt-5.4:batch
    ReasoningToolsJSON+151.4 intel · $1.25/M
    1.1M
    Context
  13. 13openai logo
    gpt-4.1
    ToolsJSONVision19.4 intel · $2.00/M
    1.0M
    Context
  14. 14openai logo
    gpt-4.1-mini
    ToolsJSONVision14.8 intel · $0.400/M
    1.0M
    Context
  15. 15openai logo
    gpt-4.1-nano
    ToolsJSONVision9.6 intel · $0.100/M
    1.0M
    Context
  16. 16openai logo
    gpt-chat-latest
    ToolsJSONVision$5.00/M
    400K
    Context
  17. 17openai logo
    gpt-5.4-nano
    ReasoningToolsJSON+138.2 intel · $0.200/M
    400K
    Context
  18. 18openai logo
    gpt-5.4-nano:batch
    ReasoningToolsJSON+138.2 intel · $0.100/M
    400K
    Context
  19. 19openai logo
    gpt-5.4-mini
    ReasoningToolsJSON+140.0 intel · $0.750/M
    400K
    Context
  20. 20openai logo
    gpt-5.4-mini:batch
    ReasoningToolsJSON+140.0 intel · $0.375/M
    400K
    Context
  21. 21openai logo
    gpt-5.3-codex
    ReasoningToolsJSON+144.3 intel · $1.75/M
    400K
    Context
  22. 22openai logo
    gpt-5.2-codex
    ReasoningToolsJSON+140.1 intel · $1.75/M
    400K
    Context
  23. 23openai logo
    gpt-5.2-pro
    ReasoningToolsJSON+1$21.00/M
    400K
    Context
  24. 24openai logo
    gpt-5.2
    ReasoningToolsJSON+142.2 intel · $1.75/M
    400K
    Context
  25. 25openai logo
    gpt-5.2:batch
    ReasoningToolsJSON+142.2 intel · $0.875/M
    400K
    Context

Frequently asked

Which OpenAI model has the largest context window?

GPT-5.6 Luna Pro has the largest context window of any OpenAI model, at 1.1M tokens. GPT-5.6 Luna (1.1M) and GPT-5.6 Terra Pro (1.1M) round out the top three.

What's a good alternative to GPT-5.6 Luna Pro?

GPT-5.6 Luna (1.1M) is the closest alternative on this metric, followed by GPT-5.6 Terra Pro (1.1M). See the full ranking above for the tradeoffs.

How many OpenAI models are there?

modelgrep tracks 70 OpenAI models with live benchmarks, speed, latency and per-provider pricing, led on intelligence by GPT-5.6 Sol. 25 of them qualify for this ranking.

More OpenAI rankings

All rankings