GPT-6 Luna
Harga API GPT-6 Luna, protokol yang didukung, dan contoh permintaan di RequestBeam.
- ID model
gpt-6-luna- Penerbit
- OpenAI
- Ketersediaan
- Tersedia
- Protokol
- Chat Completions, Responses
Harga dan penagihan
Bandingkan API0-272K token input
Harga resmi
- Input
- $0.1000 /M
- Output
- $0.5000 /M
- Input cache
- $0.0100 /M
- Penulisan cache
- $0.1250 /M
Harga RequestBeam Hemat 80%
- Input
- $0.0200 /M
- Output
- $0.1000 /M
- Input cache
- $0.0020 /M
- Penulisan cache
- $0.0250 /M
272.001K-922K token input
Harga resmi
- Input
- $0.2000 /M
- Output
- $0.7500 /M
- Input cache
- $0.0200 /M
- Penulisan cache
- $0.2500 /M
Harga RequestBeam Hemat 80%
- Input
- $0.0400 /M
- Output
- $0.1500 /M
- Input cache
- $0.0040 /M
- Penulisan cache
- $0.0500 /M
Permintaan API
Dokumentasi APIPermintaan menggunakan kunci API dan saldo akun Anda. Akses model ditentukan oleh kunci API; periksa GET /v1/models sebelum mengirim permintaan berbayar.
Chat Completions
POST /v1/chat-completions
curl --request POST 'https://api.requestbeam.com/v1/chat-completions' \
--header "Authorization: Bearer $REQUESTBEAM_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Hello, introduce yourself in one sentence."
}
],
"stream": false
}' Responses
POST /openai/responses
curl --request POST 'https://api.requestbeam.com/openai/responses' \
--header "Authorization: Bearer $REQUESTBEAM_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-6-luna",
"input": "Hello, reply with one short sentence.",
"stream": false
}'