Tài liệu / Model & giá / Model & giá

Model & giá

Giá tính bằng $ API cho mỗi 1 triệu token, tách riêng token vào, token ra, đọc cache và ghi cache.

Lấy danh sách model bằng API

bash
curl -s https://ai.gamikey.com/v1/models \
  -H "Authorization: Bearer sk-..."

Luôn dùng đúng mã model trong danh sách, ví dụ claude-sonnet-5-5, gpt-6.2-sol. Không tự đặt mã — mã sai trả lỗi 400.

Model nào gọi qua endpoint nào

ModelChuẩn AnthropicChuẩn OpenAI
Claude/v1/messages/v1/chat/completions, /v1/responses
GPT, Gemini, DeepSeek, GLM, Grok, Kimi, Qwen…—/v1/chat/completions, /v1/responses
Cập nhật: 02/12/2026Thấy lỗi trong tài liệu? Chat với Gamikey