GlobalAiOpc
OpenAI Chat API
OpenAI-compatible chat interface for Chat Completions integrations
baseUrl
http://apillm.globalaiopc.com/gw_llm_powerCompatible with the OpenAI official documentation. You can integrate directly with the following reference:
- OpenAI Chat Completions: https://platform.openai.com/docs/api-reference/chat/create
Authentication
Get KeyUse the
Authorization header for authentication.Required headers:
cURL
Authorization: Bearer {{YOUR_API_KEY}}
Content-Type: application/json
Notes:
Authorization: API key in the formatBearer {{YOUR_API_KEY}}
Supported Models
The following models are supported, organized by model family and version type:
Claude
| Full Version | Official Version | AWS Version | Account Pool / Proxy Version |
|---|---|---|---|
claude-haiku-4-5 | claude-haiku-4-5-official | claude-haiku-4-5-hc | claude-haiku-4-5-fd |
claude-opus-4-5 | claude-opus-4-5-official | claude-opus-4-5-hc | claude-opus-4-5-fd |
claude-opus-4-6 | claude-opus-4-6-official | claude-opus-4-6-hc | claude-opus-4-6-fd |
claude-opus-4-7 | claude-opus-4-7-official | claude-opus-4-7-hc | claude-opus-4-7-fd |
claude-sonnet-4-5 | claude-sonnet-4-5-official | claude-sonnet-4-5-hc | claude-sonnet-4-5-fd |
claude-sonnet-4-6 | claude-sonnet-4-6-official | claude-sonnet-4-6-hc | claude-sonnet-4-6-fd |
Gemini
| Standard / Stable Version | Official Version | Low-cost Version |
|---|---|---|
gemini-2.5-flash-lite | - | - |
gemini-2.5-pro | gemini-2.5-pro-official | gemini-2.5-pro-low |
gemini-3-flash-preview | gemini-3-flash-preview-official | gemini-3-flash-preview-low |
gemini-3.1-flash-lite-preview | - | - |
gemini-3.1-pro-preview | gemini-3.1-pro-preview-official | gemini-3.1-pro-preview-low |
GPT
| Official Version | Official Version | Premium Account Pool | Mixed Account Pool / Proxy Version | Low-cost Version |
|---|---|---|---|---|
gpt-5.4 | gpt-5.4-official | gpt-5.4-hc | gpt-5.4-fd | gpt-5.4-low |
gpt-5.5 | gpt-5.5-official | gpt-5.5-hc | gpt-5.5-fd | gpt-5.5-low |
Version Notes
| Suffix / Type | Description |
|---|---|
| no suffix | Official version |
-official | Official version |
-hc | AWS version or premium account pool version |
-fd | Account pool / proxy version |
-low | Low-cost version |
Multimodal Support
Image Analysis
All models support image analysis.
Video Analysis
Only the following models support video analysis:
gemini-2.5-flash-litegemini-2.5-progemini-2.5-pro-officialgemini-2.5-pro-lowgemini-3-flash-previewgemini-3-flash-preview-officialgemini-3-flash-preview-lowgemini-3.1-flash-lite-previewgemini-3.1-pro-previewgemini-3.1-pro-preview-officialgemini-3.1-pro-preview-low
Request Parameters
modelstringrequiredModel name to use, for example:
gpt-5.4, gpt-5.5, claude-opus-4-7messagesarrayrequiredConversation message array. Each message object usually contains
role and contenttemperaturenumberSampling temperature to control output randomness. Recommended range is 0 to 2
top_pnumberNucleus sampling parameter. It is recommended to tune either
temperature or top_p, not bothstreambooleanWhether to enable streaming responses. When set to
true, the response is returned as SSE and ends with data: [DONE]max_completion_tokensintegerMaximum output token count
stopstring/arrayStop sequence(s). Can be a string or an array
Messages Array Structure
rolestringrequiredMessage role. Supported values:
system, user, assistantcontentstring/arrayrequiredMessage content. Can be a plain text string or an OpenAI-compatible multimodal array
Response
Returns an OpenAI-compatible response format.
idstringUnique identifier for the chat request
objectstringObject type, usually
chat.completioncreatedintegerResponse creation timestamp
modelstringActual model name used
choices[].message.rolestringModel response role, usually
assistantchoices[].message.contentstringGenerated text content
usage.prompt_tokensintegerInput token count
usage.completion_tokensintegerOutput token count
usage.total_tokensintegerTotal token count
Notes
- The request base path is
http://apillm.globalaiopc.com/gw_llm_power - Pass the API key using the
Authorizationheader - Streaming responses use SSE and end with
data: [DONE]
