GPT-4o (2024-11-20)
openai/gpt-4o-2024-11-20This is the pinned November 20, 2024 snapshot of OpenAI's GPT-4o, with text and image input and text output, plus Structured Outputs and function calling. It is the most recent of the dated GPT-4o snapshots OpenAI lists in the API, following the August 2024 release. Use it for workloads that need a fixed GPT-4o version from late 2024 rather than the moving GPT-4o alias.
Daha fazla oku- Girdi fiyatı
- $2.25
$2.50USD / 1M token - Çıktı fiyatı
- $9.00
$10.00USD / 1M token - Önbellek okuma
- $1.13
$1.25USD / 1M token - Bağlam penceresi
- 128K
- Maks. çıktı
- 16.4K
Teknik özellikler
- Girdi
- Metin, görsel
- Çıktı
- Metin
Bu model hakkında
This is the pinned November 20, 2024 snapshot of OpenAI's GPT-4o, with text and image input and text output, plus Structured Outputs and function calling. It is the most recent of the dated GPT-4o snapshots OpenAI lists in the API, following the August 2024 release. Use it for workloads that need a fixed GPT-4o version from late 2024 rather than the moving GPT-4o alias.
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-4o-2024-11-20",
"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ı
12 parametre · 1 zorunlu · 11 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. |
stop | string[] | İsteğe bağlı | Sequences where the model stops generating. The stop sequence is not included in the output. |
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: 16384 |
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. |
presence_penalty | number | İsteğe bağlı | Penalizes tokens that already appear at all, encouraging new topics. · Min: -2 · Maks: 2 |
frequency_penalty | number | İsteğe bağlı | Penalizes tokens by how often they already appear, reducing repetition. · Min: -2 · Maks: 2 |
Çı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-4o (2024-11-20)'i SandBase üzerinden nasıl çağırırım?
Bir SandBase API anahtarı oluşturun, ardından model kimliği "openai/gpt-4o-2024-11-20" 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-4o (2024-11-20)'in fiyatı nedir?
Mevcut %10 indirimle 1M giriş tokenı başına $2.25 ve 1M çıkış tokenı başına $9 (liste fiyatı $2.50 / $10), istek başına SandBase bakiyenizden tahsil edilir.
OpenAI GPT-4o (2024-11-20)'in bağlam penceresi nedir?
128K token bağlam, yanıt başına en fazla 16.4K çıkış tokenı ile.
OpenAI GPT-4o (2024-11-20) hangi özellikleri destekliyor?
OpenAI GPT-4o (2024-11-20), 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-4o (2024-11-20) ve katalogdaki diğer modellere erişim sağlar; OpenAI için ayrıca kayıt olmanız gerekmez.
