Quick Start
TIP
PARAM | VALUE |
---|---|
base_url * | https://api.maxapi.ai |
api_key | apply for an API key |
Invoke The Chat API
# python3
# please install OpenAI SDK first: `pip3 install openai`
from openai import OpenAI
client = OpenAI(
base_url="https://api.maxapi.ai",
api_key="Your-Key"
)
response = client.chat.completions.create(
model="gpt-4.5-preview",
messages=[
{"role": "system", "content": "You are a helpful assistant"},
{"role": "user", "content": "Hello"},
],
stream=False
)
print(response.choices[0].message.content)
Model group price
VIP group price is 80% of the official price, original official API, 99.5% availability
SVIP group price is 100% of the official price, official enterprise API, 99.9% availability
Modified at 2025-03-24 08:09:39