OpenAI modelo

GPT-4.1

OpenAI: GPT-4.1 Compara precios API, proveedor, longitud de contexto, capacidades, casos de uso, latencia y alternativas. image understanding, multimodal chat. $0.289 / 1M tokens / $1.16 / 1M tokens. 1M tokens.

OpenAIPlatform curatedCatalog
StreamingTool callingJSON modeVisionLong context
Precio entrada$0.289 / 1M tokens
Precio salida$1.16 / 1M tokens
Longitud de contexto1M tokens
Salida maxima8.2k tokens

Que es GPT-4.1 en NextModel?

OpenAI: GPT-4.1 Compara precios API, proveedor, longitud de contexto, capacidades, casos de uso, latencia y alternativas. image understanding, multimodal chat. $0.289 / 1M tokens / $1.16 / 1M tokens. 1M tokens.

Mejores casos de uso

  • image understanding
  • multimodal chat

Ejemplo compatible con OpenAI

Mantén el estilo del SDK de OpenAI, apunta base_url a NextModel y usa el ID de catalogo openai--gpt-4.1.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.nextmodel.app/v1"
)

resp = client.chat.completions.create(
    model="openai/gpt-4.1",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

Alternativas similares

OpenAICatalog

The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling. Training data: up to December 2023.

$1.88 / 1M tokensInput$5.64 / 1M tokensOutput128kContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenAICatalog

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard...

$0.058 / 1M tokensInput$0.231 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenAICatalog

For tasks that demand low latency, GPT‑4.1 nano is the fastest and cheapest model in the GPT-4.1 series. It delivers exceptional performance at a small size with its 1 million...

$0.014 / 1M tokensInput$0.058 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVision
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

OpenAI: GPT-4.1 FAQ