AI Model Hub
Access leading AI models and compute through one API, with intelligent routing and dynamic scheduling. Get reliable, cost-effective model services and a broad selection of mainstream models with one purchase.
For volume purchases, high-concurrency plans, or dedicated model and compute options, contact us
import requestsAPI_URL = "https://api.moark.ai/v1/chat/completions"headers = { "Authorization": "Bearer RMFBNXNRRAXU9U5NCXNDV7VIZGTMNSXYU7911ICS" "Content-Type": "application/json",}def query(payload): print("Running Qwen2.5-72B-Instruct on Gitee AI!") response = requests.post(API_URL, headers=headers, json=payload) return response.json()> python ./chat.py
✓ Initialized.
✓ Running qwen2-72B Instruct on Gitee AI!
> Hello! I'm your AI assistant. How can I help you?
> Xiao Ming counts chickens and rabbits at home. There are 16 heads and 44 feet in total. How many chickens and rabbits are there respectively?
> ...
