Skip to main content
GPT-5 Pro is available through Starrise AI via OpenAI-compatible interface.

Key Capabilities

  • OpenAI-compatible — Drop-in replacement for the OpenAI SDK, no other code changes needed
  • Streaming — Real-time token streaming via SSE
  • Tool calling — Supports function calling and tool use
  • Flexible output — Supports JSON mode and structured outputs

Quick Example

curl https://ai.alad.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-pro",
    "messages": [
      { "role": "user", "content": "Explain quantum entanglement in simple terms." }
    ]
  }'

Parameters

ParameterTypeRequiredDescription
modelstringYesFixed value: gpt-5-pro
messagesarrayYesArray of { role, content } objects
max_tokensintegerNoMaximum number of tokens to generate
temperaturefloatNo02, controls randomness, default 1
streambooleanNoEnable SSE streaming, default false
top_pfloatNoNucleus sampling threshold, default 1
stopstring / arrayNoSequences where generation stops
toolsarrayNoList of tools the model can call
response_formatobjectNoSpecify output format (e.g., JSON mode)

API Reference

View the interactive API Playground for GPT-5 Pro.