GPT-6 Luna API

openai/gpt-6-luna
1,050,000 tokens · 16 input / 80 output credits / 1M tokens

GPT-6 Luna turns text into summaries, classifications, extracted information, and concise rewrites for focused, high-volume tasks. Guide each response with system instructions, carry context through follow-up messages, and set the output budget to suit your workflow.

GPT-6 Luna

OpenAI · chat-completions

Chat with GPT-6 Luna

Each model has its own conversation. Switching never sends another model's history, and switching back resumes where you left off. Requests are billed from actual token usage.

Ctrl / ⌘ + Enter to send0 / 32,000

Continue with

GPT-6 Luna

GPT-6 Luna is OpenAI’s GPT-6 model for focused, high-volume text work. It turns supplied text into summaries, labels, extracted information, and revised drafts, while conversation history keeps follow-up requests connected to the original material. Use system instructions to define the task and response style, then choose Chat Completions or Responses to integrate the same text workflow into your application.

Why Choose GPT-6 Luna?

  • Focused work at scaleUse the GPT-6 family’s efficient model for repeated, well-defined text tasks such as support triage, document summaries, and short rewrites.

  • Context across follow-up requestsKeep source text, user requirements, and previous replies in an ordered conversation when refining a summary or revising a draft.

  • Control over response scopeSet system instructions, sampling settings, and an output-token budget to match a concise label, a factual summary, or a longer explanation.

Parameters

ParameterRequirementDescription
modelRequired

Set to openai/gpt-6-luna for either protocol.

messagesRequired for Chat Completions

For Chat Completions, send a non-empty ordered array. Each message has role and text content; use system, user, or assistant roles.

inputRequired for Responses

For Responses, send text or an ordered array of conversation messages.

instructionsOptional

For Responses, provide system instructions that define the task, tone, and response format.

max_tokensOptional

For Chat Completions, set a positive output-token budget. The playground offers 1–65,536 and defaults to 4,096.

max_output_tokensOptional

For Responses, set a positive output-token budget. The playground offers 1–65,536 and defaults to 4,096.

temperatureOptional

Sampling temperature from 0 to 2. Use a lower value for focused extraction or classification.

Default1
top_pOptional

Nucleus sampling probability from 0 to 1. Adjust either top_p or temperature when tuning a task.

Default1
streamOptional

Choose complete JSON with false or SSE events with true. The playground streams text replies.

Defaultfalsetrue

How to Use

  1. Supply the textPaste the document passage, customer message, or draft you want to process.

  2. Define the resultState the labels, summary length, fields, or writing style you need in System Prompt or Instructions.

  3. Choose the response budgetSelect a protocol and set Max Tokens or Max Output Tokens. Send the message with Ctrl or ⌘ + Enter.

  4. Refine with contextRead the reply and provide a follow-up instruction to expand, shorten, or revise the same material.

Pricing

Each rate applies per 1M tokens. Input, output, cache-read, and cache-write usage settle in credits.

UsageRateDetails
Input$0.080 · 16 credits / 1M tokensRequest tokens counted as standard input.
Output$0.400 · 80 credits / 1M tokensTokens generated in the response.
Cache Read$0.008 · 1.6 credits / 1M tokensInput tokens read from prompt cache when cache usage is reported.
Cache Write$0.100 · 20 credits / 1M tokensInput tokens written to prompt cache when cache usage is reported.

Best Use Cases

  • Support classificationAssign incoming messages to a defined set of categories for review and routing.

  • Summaries and extractionCondense supplied text or extract requested names, dates, actions, and facts.

  • Drafts and rewritesRevise short replies, descriptions, and internal notes to a specified tone and length.

  • Small coding tasksExplain a function, review a short code fragment, or propose a focused edit against explicit requirements.

Pro Tips

  • Give classification tasks a fixed label set and one example per category.
  • For extraction, name the fields and define how to represent an empty value in the text answer.
  • For summaries, specify the audience, target length, and facts that should remain in the answer.
  • Keep the source passage in the conversation when asking for revisions.

Usage Notes

  • The model specification lists a 1,050,000-token context window and 128,000 output tokens.
  • The playground accepts 1–65,536 output tokens with a default of 4,096. Temperature and Top P both default to 1.
  • The same public model identifier works with /v1/chat/completions and /v1/responses.

Related Models

GPT-6 Luna API frequently asked questions

What is the GPT-6 Luna API?

GPT-6 Luna is an OpenAI model for focused, high-volume text tasks. It turns source text into summaries, classification labels, extracted information, and rewritten drafts. System instructions, ordered conversation history, and an output-token budget guide the response toward the requested task and scope. You can call it programmatically or try it from the playground above.

How does GPT-6 Luna summarize documents?

GPT-6 Luna condenses supplied text into a summary for a specified audience and length. Include the source passage, identify the facts to retain, and request a format such as one paragraph or a short list of action items.

How can GPT-6 Luna classify support messages?

GPT-6 Luna can assign a message to a defined category set. Put the labels and their definitions in the system instructions, include representative examples, and ask for the selected label as the text answer.

How does GPT-6 Luna extract information?

GPT-6 Luna identifies requested details in supplied text, such as names, dates, amounts, and action items. Specify the fields, their order, and the text to use for an empty value so the answer follows a consistent pattern.

How can GPT-6 Luna rewrite a draft?

GPT-6 Luna revises supplied text to a requested tone, audience, and length. Identify the names, figures, and commitments to retain, then describe the style of the revised draft.

How can GPT-6 Luna explain code?

GPT-6 Luna can explain a function or suggest a focused change to a short code fragment. Supply the code, intended behavior, and relevant error or test result to keep the explanation tied to the task.

How does GPT-6 Luna retain conversation context?

GPT-6 Luna uses the ordered messages included in each request as conversation context. The playground carries the current conversation into follow-up messages, letting you refine a summary or draft against the same source material.

How long can GPT-6 Luna replies be?

The GPT-6 Luna model specification lists 128,000 output tokens. The playground provides a 1–65,536-token output budget with a default of 4,096. Set Max Tokens for Chat Completions or Max Output Tokens for Responses to match the length of the requested answer.