Inteligencia de modelos de IA

GPT-4.1

openai/gpt-4-1

Por OpenAI · familia: gpt · lanzado 2025-04-14 · fecha de conocimiento: 2024-04

$2.00
Entrada / 1M tokens
$8.00
Salida / 1M tokens
1.05M
Ventana de contexto
33K
Salida máxima

Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.

Capacidades

Llamada a herramientasRazonamientoSalida estructuradaAdjuntosPesos abiertosControl de temperatura
Modalidades: entrada text, image, pdf · salida text

Model fit scores

0–100 · higher is better

These scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.

Coding90
  • Tool calling40/40
  • Structured output20/20
  • Reasoning0/10
  • Context window (100K → 1M)20/20
  • Provider availability10/10
Agents85
  • Tool calling35/35
  • Structured output25/25
  • Reasoning0/15
  • Output token limit15/15
  • Provider availability10/10
JSON / structured output80
  • Structured output / JSON mode50/50
  • Tool calling20/20
  • Temperature control10/10
  • Price-friendly for high-volume0/20
Cost efficiency42
  • Headline price (log-scaled)37/95
  • Has prompt-cache pricing5/5
Long context91
  • Context window (100K → 2M)81/90
  • Has published price for full window10/10
Vision100
  • Accepts image input50/50
  • Context window (10K → 1M)30/30
  • Has published price10/10
  • Provider availability10/10
Production-readiness94
  • Number of independent providers40/40
  • Has published per-token price20/20
  • Context window ≥ 8K15/15
  • No data inconsistencies across providers4/10
  • Official model (not derivative)15/15

Cost Efficiency Index

Open full calculator →

Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.

ScenarioCostAssumption
RAG answer
per 1,000 RAG answers
$14.00
$0.01 per request
5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot.
Support ticket triage
per 10,000 tickets
$28.00
< $0.01 per request
1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support.
Data extraction
per 1,000 documents
$8.00
< $0.01 per request
2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines.
Code review
per 1,000 PRs
$24.00
$0.02 per request
8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads.
Agent step
per 1,000 steps
$28.80
$0.03 per request
12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step.

Detalle de precios

Precio recomendado de openai · gpt-4.1

$2.00
Entrada
$8.00
Salida
$0.500
Lectura de caché

Proveedor más barato: github-copilot · Unknown entrada + Unknown salida

Disponible en 19 proveedores

ProveedorID de modelo del proveedorEntrada / 1MSalida / 1MContextoLanzado
OpenAI
openai
gpt-4.1$2.00$8.001.05M2025-04-14
GitHub Copilot
github-copilot
gpt-4.1UnknownUnknown128K2025-04-14
Azure Cognitive Services
azure-cognitive-services
gpt-4.1$2.00$8.001.05M2025-04-14
Azure
azure
gpt-4.1$2.00$8.001.05M2025-04-14
GitHub Models
github-models
openai/gpt-4.1UnknownUnknown128K2025-04-14
OpenRouter
openrouter
openai/gpt-4.1$2.00$8.001.05M2025-04-14
Vercel AI Gateway
vercel
openai/gpt-4.1$2.00$8.001.05M2025-04-14
302.AI
302ai
gpt-4.1$2.00$8.001.05M2025-04-14
NanoGPT
nano-gpt
openai/gpt-4.1$2.00$8.001.05M2025-09-10
Abacus
abacus
gpt-4.1$2.00$8.001.05M2025-04-14
Kilo Gateway
kilo
openai/gpt-4.1$2.00$8.001.05M2025-04-14
SAP AI Core
sap-ai-core
gpt-4.1$2.00$8.001.05M2025-04-14
Poe
poe
openai/gpt-4.1$1.80$7.201.05M2025-04-14
Helicone
helicone
gpt-4.1$2.00$8.001.05M2025-04-14
AIHubMix
aihubmix
gpt-4.1$2.00$8.001.05M2025-04-14
Requesty
requesty
openai/gpt-4.1$2.00$8.001.05M2025-04-14
DigitalOcean
digitalocean
openai-gpt-4.1$2.00$8.001.05M2025-04-14
LLM Gateway
llmgateway
gpt-4.1$2.00$8.001.05M2025-04-14
FastRouter
fastrouter
openai/gpt-4.1$2.00$8.001.05M2025-04-14

Inconsistencias de datos entre proveedores

  • context_window varies: 1047576, 128000
  • release_date varies (span 149d): 2025-04-14, 2025-09-10
  • modalities varies across offerings

Los proveedores reportan valores distintos para este modelo. Los datos clave de arriba usan un proveedor representativo; consulta la tabla para detalles por proveedor.

Frequently asked questions

How much does GPT-4.1 cost?

GPT-4.1 costs $2.00 per 1M input tokens and $8.00 per 1M output tokens, sourced from openai. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.

What is the context window of GPT-4.1?

GPT-4.1 has a context window of 1.05M tokens, with a max output of 33K tokens per reply. This is the total combined size of prompt + completion.

Does GPT-4.1 support tool calling?

Yes. GPT-4.1 supports tool calling (function calling). This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.

Does GPT-4.1 support structured output / JSON mode?

Yes. GPT-4.1 supports structured output / JSON-schema-constrained decoding. This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.

Can GPT-4.1 accept image input?

Yes. GPT-4.1 accepts both text and image input. Vision pricing per image is usually billed on top of the regular token rate — check OpenAI's docs for the exact rule.

Is GPT-4.1 open-weight?

No. GPT-4.1 is a proprietary model — only OpenAI (and any approved hosting partners) can serve it. The pricing above reflects the cheapest API access.

What are the best alternatives to GPT-4.1?

If GPT-4.1 doesn't fit, consider GPT OSS 120B, GPT OSS 20B, GPT-5.2. Each one targets the same use case — see the Related links below for direct head-to-head pages.

Where does this data come from?

All numbers come from the public models.dev API and are normalised into a single canonical model record. We re-pull daily and write any changes (price, context, capability) to the /changelog page.

More OpenAI models

Última actualización:

Data is sourced from models.dev and normalized for comparison. Prices and capabilities may change. Always verify critical production decisions with the provider's official documentation.