OpenAI model

GPT 4o Search Preview

GPT 4o Search Preview So sanh gia API, nha cung cap, do dai context, kha nang, use case, do tre va cac lua chon thay the. General chat via OpenAI, API workloads. $0.47 / 1M tokens / $1.88 / 1M tokens. — tokens.

OpenAIPlatform curatedCatalog
Streaming
Gia input$0.47 / 1M tokens
Gia output$1.88 / 1M tokens
Do dai context— tokens
Output toi da8.2k tokens

GPT 4o Search Preview trong NextModel la gi?

GPT 4o Search Preview So sanh gia API, nha cung cap, do dai context, kha nang, use case, do tre va cac lua chon thay the. General chat via OpenAI, API workloads. $0.47 / 1M tokens / $1.88 / 1M tokens. — tokens.

Use case tot nhat

  • General chat via OpenAI
  • API workloads

Vi du tuong thich OpenAI

Giu nguyen kieu SDK OpenAI, tro base_url toi NextModel va dung ID catalog openai--gpt-4o-search-preview.

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-4o-search-preview",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

Lua chon thay the tuong tu

OpenAICatalog

This model is a variant of GPT-3.5 Turbo tuned for instructional prompts and omitting chat-related optimizations. Training data: up to Sep 2021.

$0.282 / 1M tokensInput$0.376 / 1M tokensOutput4.1kContext
Best forGeneral chat via OpenAI, API workloads
RoutingConfigured
StreamingJSON mode
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenAICatalog

Available through the NextModel gateway via OpenAI.

$0.029 / 1M tokensInput$0.114 / 1M tokensOutputContext
Best forGeneral chat via OpenAI, API workloads
RoutingDegraded
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenAICatalog

Available through the NextModel gateway via OpenAI.

$0.236 / 1M tokensInput$1.88 / 1M tokensOutputContext
Best forGeneral chat via OpenAI, API workloads
RoutingDegraded
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

GPT 4o Search Preview FAQ