| Архитектура | text+image+file->text / Router |
| Контекст | 1,050,000 токенов |
| Макс. ответ | 128,000 токенов |
| Цена промпта | 1 000 ₽ |
| Цена ответа | 6 000 ₽ |
| Модерация | Включена |
from openai import OpenAI
client = OpenAI(
base_url="https://ai.nnov.ru/api",
api_key="YOUR_API_KEY"
)
chat_completion = client.chat.completions.create(
model="~openai/gpt-latest",
messages=[
{"role": "user", "content": "Привет, как дела?"}
]
)
print(chat_completion.choices[0].message.content)