Skip to content
Docs menu

LLM models

GPT-5.6 Luna

On this page

GPT-5.6 — frontier reasoning and generation through one API.

modelIdgpt-5-6-luna
Modalitytext
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationEndpointDescription
Text to completionPOST /api/v1/generateBase generation from a text prompt.
Poll taskGET /api/v1/task/{id}?model=gpt-5-6-lunaRetrieve state and result URLs.

Input parameters

FieldTypeRequiredValues / example
prompttextarearequiredSend a message
MODELtextoptional
memoryselectoptionalfalse, true
function_callingselectoptionalfalse, true
web_searchselectoptionalfalse, true
reasoning_effortselectoptionalLow, Medium, High, XHigh
streamselectoptionalfalse, true

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"gpt-5-6-luna","input":{"prompt":"…","MODEL":"gpt-5-6-luna","memory":"false","function_calling":"false","web_search":"true","reasoning_effort":"Medium","stream":"true"}}'