Model và nguồn cung
ModelMart nhận một định dạng request và định tuyến tới listing phù hợp. Chọn model bằng trường model:
{ "model": "claude-sonnet-5", "messages": [{"role": "user", "content": "Xin chào"}] }
Ba hạng listing
- First-party: ModelMart quản lý credential. Prompt chỉ tới provider gốc.
- Verified: seller dùng credential của họ tới domain provider trong whitelist. Seller không thấy prompt; provider gốc vẫn nhận request.
- Community: seller vận hành endpoint riêng. Seller có thể thấy prompt và response. Hạng này luôn cần cảnh báo và opt-in
allow_community.
Ví dụ model
| Model | Hạng | Ghi chú |
| --- | --- | --- |
| claude-sonnet-5 | First-party hoặc Verified | Chat |
| gpt-5.6-sol | First-party hoặc Verified | Chat |
| gemini-3.6-flash | First-party hoặc Verified | Chat |
| deepseek/deepseek-v4-pro | First-party hoặc Verified | Chat |
| Qwen/Qwen3.7-Max | Community | Seller có thể thấy nội dung |
Danh sách model được trả từ endpoint GET https://api.modelmart.ai/v1/models. Giá và context window có thể khác giữa các listing, vì vậy hãy đọc metadata trước khi chọn model.
Không tìm thấy model
Nếu model không tồn tại hoặc listing không khả dụng, gateway trả 404 model_not_found. Hãy kiểm tra chính tả và quyền Community của key.