from openai import OpenAI client = OpenAI( base_url="https://api.naga.ac/v1", api_key="YOUR_API_KEY", ) resp = client.chat.completions.create( model="gpt-5.6-sol", messages=[ {"role": "user", "content": "What's 2+2?"} ], temperature=0.2, ) print(resp.choices[0].message.content)
GPT-5.6 Sol is the flagship model in OpenAI's GPT-5.6 series. It is suited for complex reasoning, coding, and agentic workflows, and is particularly strong at command-line and multi-step coding tasks and long-horizon problem solving.