OpenAI model

GPT-4.1

OpenAI: GPT-4.1 is a OpenAI model listed in the NextModel catalogue for image understanding, multimodal chat workloads. Its listed price is $0.289 / 1M tokens input and $1.16 / 1M tokens output per 1M tokens, with a 1M token context window.

OpenAIPlatform curatedCatalog
StreamingTool callingJSON modeVisionLong context
Input price$0.289 / 1M tokens
Output price$1.16 / 1M tokens
Context length1M tokens
Max output8.2k tokens

What is GPT-4.1 in NextModel?

OpenAI: GPT-4.1 is a OpenAI model listed in the NextModel catalogue for image understanding, multimodal chat workloads. Its listed price is $0.289 / 1M tokens input and $1.16 / 1M tokens output per 1M tokens, with a 1M token context window.

Best use cases

  • image understanding
  • multimodal chat

OpenAI-compatible code example

Keep the OpenAI SDK style, set base_url to NextModel, and use the catalogue model ID 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)

Similar alternatives

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 API questions