OpenAI โมเดล

GPT-4.1 Mini

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

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

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

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

use case ที่เหมาะ

  • image understanding
  • multimodal chat

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

คงรูปแบบ OpenAI SDK เดิม ชี้ base_url ไปที่ NextModel และใช้ ID จากแคตตาล็อก openai--gpt-4.1-mini.

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-mini",
    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 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

$0.289 / 1M tokensInput$1.16 / 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 Mini FAQ