OpenAI
GPT-6.1 Sol
openai/gpt-6.1-sol
A general-purpose text model for product workflows and structured responses.
POST /v1/chat/completions · Input and output tokens
API examples
Store the API key in an environment variable and reuse one idempotency key for retries of the same request.
1from openai import OpenAI2import os3 4client = OpenAI(5 base_url="https://api.anyllm.space/v1",6 api_key=os.environ["ANYLLM_API_KEY"],7 max_retries=0,8)9 10res = client.chat.completions.create(11 model="openai/gpt-6.1-sol",12 max_tokens=1000,13 messages=[{"role": "user", "content": "Summarize the specification"}],14 extra_headers={15 "X-Max-Cost-Rub": "1.50",16 "X-Client-Reference": "project-01",17 "Idempotency-Key": "req-001",18 },19)