GPT-4.1

OpenAI · April 2025

Answers straight away without thinking first. Good for conversation and code when speed matters more than depth.

Superseded by GPT-5 →

  • Modalities

  • Context window

    1,047,576 tokens, ≈ 786,000 words · about 3,140 pages

  • Max output

    32,768 tokens, ≈ 25,000 words in a single answer

  • Knowledge cutoff

    June 2024

Providers

Files you can attach

  • ImagesJPG, PNG, GIF, WEBP
  • DocumentsPDF, DOCX, XLSX, PPTX
  • Text and codeTXT, MD, CSV, TSV, RPT, LOG, PY, TS, TSX, JS, JSX, CS, GO, JAVA, KT, SWIFT, CPP, C, H, PHP, RB, SQL, SH, PS1, HTML, CSS, SCSS, JSON, YAML, YML, XML, INI

Tools

  • Web searchSupported
  • Hosted shellNot supported
  • Apply patchNot supported
  • Tool searchNot supported

Features

  • StreamingSupported
  • Function callingSupported
  • Structured outputsSupported
  • Fine-tuningSupported

Ready to try it?

Log in

Bring your own API key · Your chats stay in your browser