Skip to content

GPT

GPT models cover a broad capability range, from fast general-purpose chat to dedicated coding variants, with reasoning_effort control on the GPT-5 line.

Models

Model Code Notes
GPT 5.5 gpt-5.5 Latest flagship.
GPT 5.4 gpt-5.4 GPT-5.4 line.
GPT 5.4 Mini gpt-5.4-mini GPT-5.4 line, smaller.
GPT 5.4 Pro gpt-5.4-pro GPT-5.4 line, Responses API only.
GPT 5.3 Chat Chat variant.
GPT 5.3 Codex gpt-5.3-codex Agentic coding variant.
GPT 5.2 Codex gpt-5.2-codex Agentic coding variant.
GPT 5.1 gpt-5.1 GPT-5.1 line.
GPT 5.1 Codex gpt-5.1-codex Agentic coding variant.
GPT 5.1 Codex Max gpt-5.1-codex-max Agentic coding, highest capability.
GPT 5.1 Codex Mini gpt-5.1-codex-mini Agentic coding, cost-effective.
GPT 5 gpt-5 GPT-5 base.
GPT 4.1 gpt-4.1 Previous generation.
GPT 4.1 Mini gpt-4.1-mini Previous generation, smaller.

Capabilities

  • tools, tool_choice, parallel_tool_calls, functions (legacy)
  • reasoning_effort on all GPT-5 variants
  • logprobs / top_logprobs, logit_bias, web_search_options
  • modalities, audio, prediction, service_tier

GPT-5 parameter sanitisation

GPT-5 models convert max_tokensmax_completion_tokens, accept temperature only at 1.0 (or with reasoning_effort = "none" on 5.1+), and drop stop / penalties. See Per-Model Details → GPT-5 series.

Example

from openai import OpenAI

client = OpenAI(base_url="https://llm.siraya.ai/v1", api_key="<API_KEY>")
resp = client.chat.completions.create(
    model="gpt-5.4",
    messages=[{"role": "user", "content": "Write a haiku about routing."}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)