mingyan

OpenAI Chat API

OpenAI-compatible chat interface for Chat Completions integrations

POST/gw_llm_power/v1/chat/completions
baseUrlhttp://apillm.globalaiopc.com/gw_llm_power
Compatible with the OpenAI official documentation. You can integrate directly with the following reference:

Authentication

Get Key
Use the Authorization header for authentication.
Required headers:
cURL
Authorization: Bearer {{YOUR_API_KEY}}
Content-Type: application/json
Notes:
  • Authorization: API key in the format Bearer {{YOUR_API_KEY}}

Supported Models

The following models are supported, organized by model family and version type:

Claude

Full VersionOfficial VersionAWS VersionAccount Pool / Proxy Version
claude-haiku-4-5claude-haiku-4-5-officialclaude-haiku-4-5-hcclaude-haiku-4-5-fd
claude-opus-4-5claude-opus-4-5-officialclaude-opus-4-5-hcclaude-opus-4-5-fd
claude-opus-4-6claude-opus-4-6-officialclaude-opus-4-6-hcclaude-opus-4-6-fd
claude-opus-4-7claude-opus-4-7-officialclaude-opus-4-7-hcclaude-opus-4-7-fd
claude-sonnet-4-5claude-sonnet-4-5-officialclaude-sonnet-4-5-hcclaude-sonnet-4-5-fd
claude-sonnet-4-6claude-sonnet-4-6-officialclaude-sonnet-4-6-hcclaude-sonnet-4-6-fd

Gemini

Standard / Stable VersionOfficial VersionLow-cost Version
gemini-2.5-flash-lite--
gemini-2.5-progemini-2.5-pro-officialgemini-2.5-pro-low
gemini-3-flash-previewgemini-3-flash-preview-officialgemini-3-flash-preview-low
gemini-3.1-flash-lite-preview--
gemini-3.1-pro-previewgemini-3.1-pro-preview-officialgemini-3.1-pro-preview-low

GPT

Official VersionOfficial VersionPremium Account PoolMixed Account Pool / Proxy VersionLow-cost Version
gpt-5.4gpt-5.4-officialgpt-5.4-hcgpt-5.4-fdgpt-5.4-low
gpt-5.5gpt-5.5-officialgpt-5.5-hcgpt-5.5-fdgpt-5.5-low

Version Notes

Suffix / TypeDescription
no suffixOfficial version
-officialOfficial version
-hcAWS version or premium account pool version
-fdAccount pool / proxy version
-lowLow-cost version

Multimodal Support

Image Analysis

All models support image analysis.

Video Analysis

Only the following models support video analysis:
  • 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

Request Parameters

modelstringrequired
Model name to use, for example: gpt-5.4, gpt-5.5, claude-opus-4-7
messagesarrayrequired
Conversation message array. Each message object usually contains role and content
temperaturenumber
Sampling temperature to control output randomness. Recommended range is 0 to 2
top_pnumber
Nucleus sampling parameter. It is recommended to tune either temperature or top_p, not both
streamboolean
Whether to enable streaming responses. When set to true, the response is returned as SSE and ends with data: [DONE]
max_completion_tokensinteger
Maximum output token count
stopstring/array
Stop sequence(s). Can be a string or an array

Messages Array Structure

rolestringrequired
Message role. Supported values: system, user, assistant
contentstring/arrayrequired
Message content. Can be a plain text string or an OpenAI-compatible multimodal array

Response

Returns an OpenAI-compatible response format.
idstring
Unique identifier for the chat request
objectstring
Object type, usually chat.completion
createdinteger
Response creation timestamp
modelstring
Actual model name used
choices[].message.rolestring
Model response role, usually assistant
choices[].message.contentstring
Generated text content
usage.prompt_tokensinteger
Input token count
usage.completion_tokensinteger
Output token count
usage.total_tokensinteger
Total token count

Notes

  1. The request base path is http://apillm.globalaiopc.com/gw_llm_power
  2. Pass the API key using the Authorization header
  3. Streaming responses use SSE and end with data: [DONE]