OpenAI โมเดล

GPT-4.1

OpenAI: GPT-4.1 เปรียบเทียบราคา API ผู้ให้บริการ ความยาว context ความสามารถ use case latency และทางเลือกที่ใกล้เคียง image understanding, multimodal chat. $0.289 / 1M tokens / $1.16 / 1M tokens. 1M tokens.

OpenAIPlatform curatedCatalog
StreamingTool callingJSON modeVisionLong context
ราคา input$0.289 / 1M tokens
ราคา output$1.16 / 1M tokens
ความยาว context1M tokens
เอาต์พุตสูงสุด8.2k tokens

GPT-4.1 ใน NextModel คืออะไร?

OpenAI: GPT-4.1 เปรียบเทียบราคา API ผู้ให้บริการ ความยาว context ความสามารถ use case latency และทางเลือกที่ใกล้เคียง image understanding, multimodal chat. $0.289 / 1M tokens / $1.16 / 1M tokens. 1M tokens.

use case ที่เหมาะ

  • image understanding
  • multimodal chat

ตัวอย่างโค้ดที่เข้ากันได้กับ OpenAI

คงรูปแบบ OpenAI SDK เดิม ชี้ base_url ไปที่ NextModel และใช้ 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)

ทางเลือกที่คล้ายกัน

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