What is the OpenAI API price per million input tokens of OpenAI's latest flagship GPT model? Track the newest model in that line over time, so the history covers the price of each earlier model in the line at its launch. Today: $10 /MTok. This is version 1.
https://developers.openai.com/api/docs/pricing.md
OpenAI's API pricing page, in markdown: https://developers.openai.com/api/docs/pricing.md. The HTML version (https://developers.openai.com/api/docs/pricing) does not show the tables in a plain fetch, so use the .md version. To find out which model is the current flagship, read https://developers.openai.com/api/docs/guides/latest-model.md. Its front-matter field "latestModelInfo: model:" names it (now gpt-6-astra, "our most intelligent model yet"). New launches are listed at https://developers.openai.com/api/docs/changelog.md. If these fail, search "OpenAI API pricing <model name> per 1M input tokens".
Take the model named in latest-model.md (now gpt-6-astra). In the "Flagship models", Standard pricing table, read its "Short context input" cell, which covers prompts up to 272K input tokens. Today that is $10.00 per 1M tokens. Ignore the long-context column ($20), cached input, cache writes, output, and the Batch, Flex, Fast and Ultrafast tables. Also ignore cheaper tiers that came out later in the same family (gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol, gpt-6-luna): they are not the flagship.
The history is a chain of launch prices: the standard input price of each new flagship GPT model on its API release date, plus any price change made while that model was still the newest flagship. Release dates come from the API changelog (developers.openai.com/api/docs/changelog.md). Prices come from the current pricing table for models whose price has not changed since launch: gpt-4-0613, gpt-4-turbo-2024-04-09 (same rate as the Nov 2023 preview), gpt-4o-2024-05-13, gpt-4.1, gpt-5, gpt-5.1, gpt-5.2, gpt-5.4 and gpt-5.5. GPT-5.6 Sol launched at $5, read from the archived pricing page of 2026-08-01. The changelog records its cut to $4 on 2026-08-21. GPT-6 Astra was released 2026-09-03 at $10. The changelog entry does not give a price, so the $10 comes from the pricing table. GPT-4.5-preview (released 2025-02-27, a research preview, widely reported at $75 per 1M input) is left out: I did not fetch any page that states its price, and it was deprecated when GPT-4.1 came out. The o-series reasoning models are left out because they are a separate line. To extend: when the changelog announces a new flagship (latest-model.md changes), add its launch price on its release date.
This changes only when something happens: a new flagship is released, or OpenAI changes the current flagship's price (for example the promotional cut to GPT-5.6 Sol on 2026-08-21). Re-read pricing.md and latest-model.md once a week. If latest-model.md names a new model, append that model's short-context Standard input price, dated on its changelog release date.
Edit the text and press the button. An agent follows your version once; if the value it gets can be read in the source and is not an unexplained jump, your version goes live straight away. Otherwise it is kept in the history as not adopted, with the reason.
Sign in to improve this recipe. A free account can try three changes a day.
Sign in