GPT-4.1 Mini
openai/gpt-4.1-miniGPT-4.1 mini is the smaller, faster tier of OpenAI's GPT-4.1 series, released in April 2025 as a non-reasoning model that accepts text and images and returns text. OpenAI describes it as strong at instruction following and tool calling, with the same 1M-token context window as GPT-4.1 and lower latency. It suits interactive apps, chat and agent tool calls where responsiveness matters more than the extra depth of full GPT-4.1.
Daha fazla oku- Girdi fiyatı
- $0.36
$0.40USD / 1M token - Çıktı fiyatı
- $1.44
$1.60USD / 1M token - Önbellek okuma
- $0.09
$0.10USD / 1M token - Bağlam penceresi
- 1M
- Maks. çıktı
- 32.8K
Teknik özellikler
- Girdi
- Metin, görsel
- Çıktı
- Metin
Bu model hakkında
GPT-4.1 mini is the smaller, faster tier of OpenAI's GPT-4.1 series, released in April 2025 as a non-reasoning model that accepts text and images and returns text. OpenAI describes it as strong at instruction following and tool calling, with the same 1M-token context window as GPT-4.1 and lower latency. It suits interactive apps, chat and agent tool calls where responsiveness matters more than the extra depth of full GPT-4.1.
Modeli deneyin
Oynatma Alanı
Bu modeli denemek için bir istem yazın. Kullanım, gösterilen fiyatlar üzerinden ücretlendirilir.
Bir istem deneyin
Bir görsel ekleyin (isteğe bağlı)
Yanıtınız burada görünecek
Bir örnek seçin veya bir istem yazın, ardından Çalıştır'a tıklayın.
Geliştirmeye başlayın
İlk isteğinizi gönderin
Birleşik kimlik doğrulama ve kullanım takibi sunan desteklenen API'lerden birini seçin.
curl -X POST "https://api.sandbase.ai/v1/responses" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4.1-mini",
"input": "Hello",
"max_output_tokens": 2048
}'Aşağıdaki alanlar Chat Completions API'sini açıklar. Yukarıdaki örnekte gösterildiği gibi, Responses API sağlayıcının yerel istek ve yanıt biçimini kullanır.
Giriş Şeması
9 parametre · 1 zorunlu · 8 isteğe bağlı
| Parametre | Tür | Zorunlu | Açıklama |
|---|---|---|---|
messages | object[] | Zorunlu | Conversation so far, as an ordered list of messages with a role (system, user or assistant) and content. |
seed | integer | İsteğe bağlı | Best-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results. |
tools | array | İsteğe bağlı | Functions the model may call. Each tool declares a name, description and JSON Schema parameters. |
top_p | number | İsteğe bağlı | Nucleus sampling: only tokens within this cumulative probability are considered. · Min: 0 · Maks: 1 |
stream | boolean | İsteğe bağlı | Stream the response as server-sent events instead of returning it in one piece. · Varsayılan: false |
max_tokens | integer | İsteğe bağlı | Maximum number of tokens to generate in the response. · Maks: 32768 |
temperature | number | İsteğe bağlı | Sampling temperature. Higher values make output more random; lower values make it more focused. · Min: 0 · Maks: 2 · Varsayılan: 1 |
tool_choice | string | İsteğe bağlı | Controls tool use: "auto", "none", "required", or a specific function. |
response_format | object | İsteğe bağlı | Output format, for example { "type": "json_object" } or a JSON Schema for structured output. |
Çıkış Şeması
| Alan | Tür | Açıklama |
|---|---|---|
id | string | Tamamlamanın benzersiz tanımlayıcısı |
object | string | Nesne türü, örn. "chat.completion" |
model | string | Tamamlamada kullanılan model |
choices | array | Tamamlama seçeneklerinin listesi |
choices[].message.content | string | Oluşturulan metin içeriği |
choices[].finish_reason | string | Oluşturmanın durmasının nedeni |
usage.prompt_tokens | integer | İstemdeki token sayısı |
usage.completion_tokens | integer | Tamamlamadaki token sayısı |
usage.total_tokens | integer | Kullanılan toplam token sayısı |
Sorular
SSS
OpenAI GPT-4.1 Mini'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "openai/gpt-4.1-mini" ile https://api.sandbase.ai adresindeki Responses API (/v1/responses) veya Chat Completions API (/v1/chat/completions) uç noktalarına istek gönderin. Bu sayfadaki istek örnekleri tam yükü gösterir.
OpenAI GPT-4.1 Mini'in fiyatı nedir?
Mevcut %10 indirimle 1M giriş tokenı başına $0.36 ve 1M çıkış tokenı başına $1.44 (liste fiyatı $0.40 / $1.60), istek başına SandBase bakiyenizden tahsil edilir.
OpenAI GPT-4.1 Mini'in bağlam penceresi nedir?
1M token bağlam, yanıt başına en fazla 32.8K çıkış tokenı ile.
OpenAI GPT-4.1 Mini hangi özellikleri destekliyor?
OpenAI GPT-4.1 Mini, görsel algılama (görüntü girişi), fonksiyon çağrısı, yapılandırılmış çıktı destekler. Tam liste için yukarıdaki Teknik Özellikler bölümüne bakın.
Ayrı bir OpenAI hesabına ihtiyacım var mı?
Hayır. Tek bir SandBase API anahtarı ve bakiyesi size OpenAI GPT-4.1 Mini ve katalogdaki diğer modellere erişim sağlar; OpenAI için ayrıca kayıt olmanız gerekmez.
