OpenAI โมเดล

GPT-3.5 Turbo

OpenAI: GPT-3.5 Turbo เปรียบเทียบราคา API ผู้ให้บริการ ความยาว context ความสามารถ use case latency และทางเลือกที่ใกล้เคียง General chat via OpenAI, API workloads. $0.094 / 1M tokens / $0.282 / 1M tokens. 16.4k tokens.

OpenAIPlatform curatedCatalog
StreamingTool callingJSON mode
ราคา input$0.094 / 1M tokens
ราคา output$0.282 / 1M tokens
ความยาว context16.4k tokens
เอาต์พุตสูงสุด4.1k tokens

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

OpenAI: GPT-3.5 Turbo เปรียบเทียบราคา API ผู้ให้บริการ ความยาว context ความสามารถ use case latency และทางเลือกที่ใกล้เคียง General chat via OpenAI, API workloads. $0.094 / 1M tokens / $0.282 / 1M tokens. 16.4k tokens.

use case ที่เหมาะ

  • General chat via OpenAI
  • API workloads

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

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

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

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

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

OpenAICatalog

GPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.

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

This model offers four times the context length of gpt-3.5-turbo, allowing it to support approximately 20 pages of text in a single request at a higher cost. Training data: up...

$0.564 / 1M tokensInput$0.752 / 1M tokensOutput16.4kContext
Best forGeneral chat via OpenAI, API workloads
RoutingConfigured
StreamingTool callingJSON mode
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenAICatalog

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...

$5.64 / 1M tokensInput$11.28 / 1M tokensOutput8.2kContext
Best forGeneral chat via OpenAI, API workloads
RoutingConfigured
StreamingTool callingJSON mode
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

OpenAI: GPT-3.5 Turbo FAQ