Hướng dẫn API Cộng đồng Miễn phí Empero: Dùng GLM-5.3-Flash Không Cần Key (1M Context)

💡 Tóm tắt nhanh:
- API Endpoint: https://free.empero.org/v1 (Chuẩn OpenAI compatible)
- Model có sẵn: glm-5.3-flash (Context 1M tokens, kiến trúc MoE 320B-A18B)
- Xác thực: Không cần đăng ký! Có thể điền API Key là free.
- ⚠️ Lưu ý bảo mật: Dữ liệu prompts và kết quả sẽ được lưu ẩn danh để phục vụ nghiên cứu và huấn luyện mô hình mã nguồn mở. Không dùng cho dữ liệu bí mật kinh doanh!

🚀 Ví dụ gọi API

cURL

bash
curl https://free.empero.org/v1/chat/completions \
  -H "Authorization: Bearer free" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3-flash",
    "messages": [{"role": "user", "content": "Xin chào GLM-5.3-Flash"}]
  }'

Python

python
from openai import OpenAI

client = OpenAI(base_url="https://free.empero.org/v1", api_key="free")
res = client.chat.completions.create(
    model="glm-5.3-flash",
    messages=[{"role": "user", "content": "Viết thuật toán quicksort bằng TypeScript"}]
)
print(res.choices[0].message.content)

Phản hồi từ cộng đồng

Bình luận được liên kết với tài khoản GitHub của bạn — đăng nhập để tham gia thảo luận.