Switchpoint AI's router instantly analyzes your request and directs it to the optimal AI from an ever-evolving library. As the world of LLMs advances, our router gets smarter, ensuring you...
from openai import OpenAI
client = OpenAI(
base_url="https://infergate.ru/api/v1",
api_key="ig-•••",
)
resp = client.chat.completions.create(
model="switchpoint/router",
messages=[{"role": "user", "content": "Привет!"}],
)
print(resp.choices[0].message.content)modelstringобязательныйmessagesarrayобязательныйtemperaturenumbermax_tokensintegertop_pnumbertop_kintegerstopstring | string[]seedintegerresponse_formatobjectreasoningobjectinclude_reasoningboolean