Tabbit
ResourcesBlogModels
Tabbit LogoTabbit

Tabbit — The AI Browser that Works for You

Topics

  • AI Browser Resources
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Comparisons
  • AI Browser Alternatives
  • Browser Productivity Resources

Popular Guides

  • AI Browser
  • Agentic Browser Download
  • Best AI Browser 2026: Top 9 Tested & Ranked
  • AI Browser Download
  • Free AI Browser
  • Best AI Browser 2026
  • AI Browser Comparison 2026
  • AI Browser for Windows
  • AI Browser for Mac
  • Chrome Alternative 2026

Events

  • Tabbit Skill Competition
  • KPOP SBTI Fandom Personality Test
  • Tabbit Campus Creator Program
  • fifi's Picks: AI Skills for Research Papers
  • User Survey

About

  • Tabbit Blog
  • Press & Media
English
简体中文English
Prompt guide
OfficialGPT-6 Luna

General Prompt Engineering Guide for the OpenAI API

Original source

OpenAI Developers

AuthorOpenAI

Tabbit curation1970-01-01

Read original

One-sentence takeaway

The guide presents reusable prompt engineering methods for message roles, the instructions parameter, context, examples, and formatting, and recommends using evaluation sets to validate prompt behavior after model upgrades.

Use cases

  • Suitable tasks: Building API prompt templates, constraining output formats, and creating comparable regression evaluations for production prompts.

  • Not suitable for: Treating general prompt engineering guidance as tuning advice specific to GPT-6 Luna.

  • Applicable model versions: OpenAI API models. The example request uses gpt-6-astra; replace it with gpt-6-luna and evaluate it.

  • Applicable clients, agents, or APIs: Responses API.

  • Recommended reasoning effort and parameters: The page's example uses reasoning.effort: low; it does not claim this is optimal for Luna or for every task.

Ready-to-use content

Separate developer instructions from user input

The official example puts application rules in instructions and the current task in input:

import OpenAI from "openai";
const client = new OpenAI();

const response = await client.responses.create({
  model: "gpt-6-luna",
  reasoning: { effort: "low" },
  instructions: "Talk like a pirate.",
  input: "Are semicolons optional in JavaScript?",
});

console.log(response.output_text);

The example text and reasoning effort follow the source demonstration. Replace them with your own rules and input in a real application, and compare Luna's reasoning effort levels.

Use role messages

The page explains that the instructions parameter is roughly equivalent to putting developer rules in a developer message:

const response = await client.responses.create({
  model: "gpt-6-luna",
  reasoning: { effort: "low" },
  input: [
    {
      role: "developer",
      content: "Talk like a pirate.",
    },
    {
      role: "user",
      content: "Are semicolons optional in JavaScript?",
    },
  ],
});

console.log(response.output_text);

Version and evaluate production prompts

  • Pin the model snapshot used in production to reduce behavior changes caused by model updates.

  • Build tests and evaluation suites to monitor behavior as prompts change or model versions are upgraded.

  • Put stable rules in instructions or a developer message; put the current task and data in a user message.

Reproduction notes and evidence limits

  • The guide presents these methods as API prompt engineering practices; the page does not provide a Luna-specific comparative experiment.

  • The model field in the examples above has been changed to gpt-6-luna for this task. The visible examples on the original page use gpt-6-astra, so this is a Luna adaptation using the official API format, not code the page provides verbatim for Luna.

  • Before production deployment, compare prompt versions, reasoning effort, and expected output formats against the target input set. Do not judge stability from a single response.

Curated by Tabbit

Prompt material is summarized from public sources and Tabbit editorial notes. Check the original licensing and intended use before copying it.

GPT-6 Luna

Use in Tabbit

GPT-6 Luna

Related prompts

OfficialOpenAI Developers

GPT-6 Model Family Prompting Starter Guide

OfficialOpenAI Developers

GPT-6 Luna API Model Configuration

OfficialOpenAI official announcement2026-09-22

GPT-6 Prompt Caching and Long-Running Agent Optimization Workflow

MediaLiteLLM documentation2026-09-22

Configure GPT-6 Luna Proxy Routing in LiteLLM

GPT-6 Luna

Related reviews

OfficialOpenAI / Introducing GPT-6 Sol and Luna2026-09-22

OpenAI's Official Release: GPT-6 Luna Benchmark Results and Cost Positioning

MediaArtificial Analysis / GPT-6 Sol and Luna push the cost efficiency frontier2026-09-22

Artificial Analysis Independent Evaluation: GPT-6 Luna's Cost, Intelligence, and Coding Results

MediaArtificial Analysis / GPT-6 Luna: Release Intelligence, Performance & Price2026-09

Artificial Analysis Release Dashboard: GPT-6 Luna Performance, Cost, and Latency Across Six Effort Levels

CommunityReddit / r/codex2026-09-23

Reddit r/codex User Reports: GPT-6 Luna Coding Experience and Early Risks