- Văn bản
- Tính theo token
Giá
Giá vào
4.000 ₫
Giá gốc 78.000 ₫Giảm 94%mỗi 1M token
Giá ra
4.000 ₫
Giá gốc 390.000 ₫Giảm 98%mỗi 1M token
Giá đọc cache
4.000 ₫
Giá gốc 7.800 ₫Giảm 48%mỗi 1M token
Giá ghi cache
—
mỗi 1M token
- API tương thích
- Anthropic Messages
- OpenAI Chat
- Hãng
- Anthropic
- Tiền tệ
- VND
Bắt đầu nhanh
Gọi bằng đúng ID model bên dưới. Thay NIGHTROUTER_API_KEY bằng API key của bạn.
curl https://api.nightrouter.ai/v1/messages \ -H "x-api-key: $NIGHTROUTER_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{"model":"claude-sonnet-4-6","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'
curl https://api.nightrouter.ai/v1/chat/completions \ -H "Authorization: Bearer $NIGHTROUTER_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-sonnet-4-6","messages":[{"role":"user","content":"Hello"}]}'