Coding / API

GPT 5.6 Luna API

GPT-5.6 Luna through CLODEx for small, clearly bounded code requests. Explore type-checking, error explanation and test-case workflows.

gpt-5.6-lunaopenai

In the public catalog A catalog listing is not a live availability guarantee. Check /v1/models for access with your API key.

01 / YOUR BRIEF

Start with a focused prompt

Explain this TypeScript error and fix the types without any. Change only parseResponse. Add tests for null and a missing field.

A sample brief — add your own inputs. This page does not generate content or charge your balance.

02 / USE CASES

Put the model to work

Understanding an error

Provide the stack trace, dependency versions and a short code sample. Ask for the cause first, then the smallest change.

Focused test cases

List valid arguments and the response shape. Request a small scenario table rather than a large set of unrelated tests.

03 / SPECIFICATIONS

What the CLODEx route supports

Model ID
gpt-5.6-luna
Protocols
openai

Only parameters declared by the integration catalog are shown. An omitted parameter is not a promise of support.

04 / DEVELOPERS

One endpoint. Your application.

cURL · GPT 5.6 Luna
curl --fail-with-body --no-buffer 'https://clodex.xyz/v1/chat/completions' \
  -H "Authorization: Bearer $CLODEX_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<'CLODEX_JSON'
{"messages":[{"content":"Explain this TypeScript error and fix the types without any. Change only parseResponse. Add tests for null and a missing field.","role":"user"}],"model":"gpt-5.6-luna","stream":true}
CLODEX_JSON

Keep your key on the server, never in the browser. A generation example uses your balance only when you run it yourself. Check model access and parameters before submitting.

Documentation ↗

Before you submit

Bound the task to a file or function. Do not assume the model knows repository code that was not supplied in context. Share only relevant files and remove secrets. Review changes and run tests before applying them. A model response does not guarantee correct code.

05 / FAQ

Model FAQ

How do I start using GPT 5.6 Luna in CLODEx?

Sign in to CLODEx, check model access for your key and choose the workspace or API. Reading this page does not submit a model request.

How much does a GPT 5.6 Luna request cost?

Public rates appear in the pricing section. Check the unit: total tokens, separate input and output tokens, per image or a parameter-based video quote. Confirm your account rate in the dashboard.

What if a request does not finish?

Keep the request ID and check the request log. For asynchronous generation, check the existing job's status first. If the cause remains unclear, contact support with the ID, never the API key. Resubmitting may create another paid job.