API Hop

GPT-6 Luna

Prezzi API, protocolli supportati ed esempi di richiesta per GPT-6 Luna su API Hop.

Ottieni una chiave API
ID modello
gpt-6-luna
Editore
OpenAI
Disponibilità
Disponibile
Protocolli
Chat Completions, Responses

Prezzi e fatturazione

Confronta le API

0–272K token di input

Prezzo ufficiale

Input
$0.1000 /M
Output
$0.5000 /M
Input in cache
$0.0100 /M
Scrittura in cache
$0.1250 /M

Prezzo API Hop Risparmio 70%

Input
$0.0300 /M
Output
$0.1500 /M
Input in cache
$0.0030 /M
Scrittura in cache
$0.0375 /M

272.001K–922K token di input

Prezzo ufficiale

Input
$0.2000 /M
Output
$0.7500 /M
Input in cache
$0.0200 /M
Scrittura in cache
$0.2500 /M

Prezzo API Hop Risparmio 70%

Input
$0.0600 /M
Output
$0.2250 /M
Input in cache
$0.0060 /M
Scrittura in cache
$0.0750 /M

Richieste API

Documentazione API

Le richieste usano la tua chiave API e il saldo dell’account. L’accesso ai modelli dipende dalla chiave API; verifica GET /v1/models prima di inviare una richiesta a pagamento.

Chat Completions

POST /v1/chat-completions

curl --request POST 'https://api.apihop.ai/v1/chat-completions' \
  --header "Authorization: Bearer $APIHOP_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.apihop.ai/openai/responses' \
  --header "Authorization: Bearer $APIHOP_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "gpt-6-luna",
  "input": "Hello, reply with one short sentence.",
  "stream": false
}'