OpenAI: GPT-4.1Work with me

OpenAI: GPT-4.1

byOpenAI

GPT-4.1 is a language model from OpenAI released on Apr 14, 2025. It reads text, images and files and writes text, with a 1.05M token context window and up to 33K tokens per reply.

Show more

It costs $2 per million input tokens and $8 per million output tokens. Cached input bills at $0.50, 75% less than fresh input.

It supports tool calling, structured JSON output and prompt caching.

27 providers serve it, including Vercel AI Gateway, Snowflake Cortex and Ofox. The lowest input price is $1.60 per million tokens at Ofox.

Modalities
In / out price
$2 / $8 per 1M
Context
1.05M
Max output
33K
Released
Apr 14, 2025
Knowledge cutoff
Apr 2024
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

GPT-4.1 pricing

USD, as listed on Oct 15, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$2 / 1M tokens
Output$8 / 1M tokens
Cached input (read)$0.50 / 1M tokens

GPT-4.1 providers

27 providers serve it, including Vercel AI Gateway, Snowflake Cortex and Ofox. The lowest input price is $1.60 per million tokens at Ofox. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.

ProviderInput /MOutput /MCache read /MContextMax output
OpenAI First party$2$8$0.501.05M33K
Vercel AI Gateway$3.50$14$0.8751.05M33K
Snowflake Cortexn/an/a–128K32K
Ofox$1.60$6.40$0.401.05M33K
Poe$1.80$7.20$0.451.05M33K
302.AI$2$8–1.05M33K
Abacus$2$8$0.501.05M33K
Cloudflare AI Gateway$2$8$0.501.05M33K
DevPass (LLM Gateway)$2$8$0.501M33K
Eden AI$2$8$0.501.05M33K
FastRouter$2$8$0.501.05M33K
Helicone$2$8$0.501.05M33K

Showing 12 of 27 providers: the lab first, then the major clouds, then the cheapest resellers.

What GPT-4.1 costs per month

Pick a workload close to yours or type your own volumes.

GPT-4.1 per month
$167
Without caching
$234
Per request
$0.0056

Supported request parameters

What you can set when you call GPT-4.1 through an OpenAI compatible API.

  • Toolstools
  • Structured outputsstructured_outputs
  • Temperaturetemperature

Alternatives to GPT-4.1

Models that take the same inputs and call tools, closest in price, cheaper ones first.

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 30 providers.

    by googleFeb 5, 2025$1.25/M input tokens$10/M output tokens30 providers

  • Index 46.5

    Reads text, images and files. Tool calling, structured output, reasoning. Served by 22 providers.

    by x-aiSep 16, 2026500K context$2/M input tokens$6/M output tokens22 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 29 providers.

    by x-aiAug 10, 2026$2/M input tokens$6/M output tokens29 providers

  • Index 45.4

    Reads text, images, files and video. Tool calling, structured output, reasoning. Served by 30 providers.

    by qwenJul 19, 20261M context$2/M input tokens$6/M output tokens30 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 24 providers.

    by x-aiJul 7, 2026$2/M input tokens$6/M output tokens24 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 18 providers.

    by mistralaiApr 29, 2026262K context$1.50/M input tokens$7.50/M output tokens18 providers

More from OpenAI

  • Index 51.8

    Reads text, images and files. Tool calling, structured output, reasoning. Served by 27 providers.

    by openaiSep 29, 20261.05M context$2/M input tokens$10/M output tokens27 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiSep 29, 2026$2/M input tokens$10/M output tokens2 providers

  • Index 38.1

    Reads text, images and files. Tool calling, structured output, reasoning. Served by 27 providers.

    by openaiSep 22, 20261.05M context$0.10/M input tokens$0.50/M output tokens27 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiSep 22, 2026$0.10/M input tokens$0.50/M output tokens2 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 27 providers.

    by openaiSep 22, 2026$2/M input tokens$10/M output tokens27 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiSep 22, 2026$2/M input tokens$10/M output tokens2 providers

All OpenAI models

GPT-4.1 questions

How much does the GPT-4.1 API cost?

$2 per million input tokens and $8 per million output tokens, with cached input at $0.50. The estimator on this page turns that into a monthly bill for your own workload.

What is the context window of GPT-4.1?

1,047,576 tokens of input, and it can write up to 32,768 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.

Which providers serve GPT-4.1?

27 providers serve it, including Vercel AI Gateway, Snowflake Cortex and Ofox. The lowest input price is $1.60 per million tokens at Ofox. Prices differ by host, so the Providers table on this page lists each one with its input and output price.

Does GPT-4.1 support tool calling?

Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.

Is GPT-4.1 open source?

No. OpenAI serves it through an API only, so you cannot download the weights or host it yourself.

When was GPT-4.1 released?

Apr 14, 2025, with training data up to Apr 2024.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 15, 2026. The summary is written from these facts.

Building on GPT-4.1?

I test your real tasks on it and the two closest alternatives, then ship the agent on whichever wins on cost and accuracy.

Book Meeting