This model offers four times the context length of gpt-3.5-turbo, allowing it to support approximate…
from openai import OpenAI
client = OpenAI(
base_url="https://orcarouter.ai/v1",
api_key="$ORCAROUTER_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-3.5-turbo-16k",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)| Input / 1M tokens | $3.00 |
| Output / 1M tokens | $4.00 |
| Currency | USD |