NextModelのGPT-3.5 Turboとは?
OpenAI: GPT-3.5 Turbo API価格、プロバイダー、コンテキスト長、機能、ユースケース、レイテンシー、代替候補を比較します。 General chat via OpenAI, API workloads. $0.094 / 1M tokens / $0.282 / 1M tokens. 16.4k tokens.
適した用途
- General chat via OpenAI
- API workloads
OpenAI互換コード例
OpenAI SDKの書き方を保ち、base_url を NextModel に向け、カタログIDを使います openai--gpt-3.5-turbo.
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)近い代替候補
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.
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...
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...
FAQ