OpenAILLMAvailable now
openai/gpt-5.6-luna
openai/gpt-5.6-luna is an LLM tool from OpenAI that runs in the background and returns text and structured JSON. Pay as you go, with one API key.
Pricing
Up to $0.006402 per run at the default inputs. $0.26 per 1M input tokens, $0.026 per 1M cached input tokens, $0.325 per 1M cache write tokens, $1.56 per 1M output tokens.
Limits
- Runs
- In the background
- Returns
- text, json
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 500 MB
- Largest output
- 5 GB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
messages required | JSON | — | The conversation so far, oldest first. |
seed | number (whole) | — | |
tools | JSON | — | |
top_p | number … to 1 | — | Taken only with reasoning effort "none". |
logprobs | true or false | — | Taken only with reasoning effort "none". |
reasoning | JSON | — | Reasoning effort; reasoning tokens count toward max_tokens. |
max_tokens | number (whole) 16 to 128000 | — | The most output tokens to generate. |
temperature | number 0 to 2 | — | Taken only with reasoning effort "none". |
tool_choice | JSON | — | |
top_logprobs | number (whole) 0 to 20 | — | Taken only with reasoning effort "none". |
response_format | JSON | — | |
presence_penalty | number -2 to 2 | — | Taken only with reasoning effort "none". |
reasoning_effort | one of none, low, medium, high, xhigh | medium | How much the model reasons. |
frequency_penalty | number -2 to 2 | — | Taken only with reasoning effort "none". |
parallel_tool_calls | true or false | — |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "openai",
"model": "openai/gpt-5.6-luna",
"input": {
"messages": {}
}
}'