GPT-3.5 Turbo 16k 在 NextModel 中是什麼?
台灣團隊可用的 NextModel 目錄中的 OpenAI 模型,常用於 General chat via OpenAI、API workloads 工作負載。當前展示價格為輸入 $0.564 / 1M tokens、輸出 $0.752 / 1M tokens 每 100 萬 token,上下文視窗為 16.4k token。
適用場景
- General chat via OpenAI
- API workloads
OpenAI 相容呼叫範例
保持 OpenAI SDK 呼叫方式不變,把 base_url 改為 NextModel,並使用模型目錄 ID openai--gpt-3.5-turbo-16k。
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-16k",
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.
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.
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...
常見問題