- Văn bản
- Tính theo token
Giá
Giá vào
4.000 ₫
Giá gốc 130.000 ₫Giảm 96%mỗi 1M token
Giá ra
4.000 ₫
Giá gốc 650.000 ₫Giảm 99%mỗi 1M token
Giá đọc cache
4.000 ₫
Giá gốc 13.000 ₫Giảm 69%mỗi 1M token
Giá ghi cache
5.000 ₫
Giá gốc 162.500 ₫Giảm 96%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-opus-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-opus-4-6","messages":[{"role":"user","content":"Hello"}]}'