LLM Reference
Azure OpenAI

Using GPT-6 Luna on Azure OpenAI

Implementation guide · GPT-6 · OpenAI

Serverless

Azure OpenAI exposes GPT-6 Luna through model ID gpt-6-luna. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-09-23. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Azure OpenAI and generate an API key.
  2. 2
    Use the Azure OpenAI SDK or REST API to call gpt-6-luna — see the documentation for request format.
  3. 3
    You'll be billed $0.10/1M input, $0.50/1M output tokens. See full pricing.

Code Examples

Install
pip install openai
API key
AZURE_OPENAI_API_KEY
Model ID
gpt-6-luna

gpt-6-luna is your Azure deployment name, not the underlying model name. Deployment names are set when you deploy a model in Azure AI Foundry / Azure OpenAI Studio.

import os
from openai import AzureOpenAI

client = AzureOpenAI(
    azure_endpoint=os.environ["AZURE_OPENAI_ENDPOINT"],  # e.g. https://{resource}.openai.azure.com
    api_key=os.environ["AZURE_OPENAI_API_KEY"],
    api_version="2024-02-01"
)
response = client.chat.completions.create(
    model="gpt-6-luna",  # your deployment name
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Pricing on Azure OpenAI

TypePrice (per 1M)
Input tokens$0.10
Output tokens$0.50

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsCode ExecutionPrompt CachingBatch API

About GPT-6 Luna

OpenAI GPT-6 Luna, announced September 22, 2026 with GPT-6 Sol, is the most efficient GPT-6 tier for focused high-volume tasks below Sol and flagship Astra. First-party OpenAI API id gpt-6-luna. Docs: 1,050,000 context, 128,000 max output, knowledge cutoff May 18, 2026, text and image input to text output, reasoning effort none/low/medium/high/xhigh/max, function calling, structured outputs, prompt caching, Batch and Flex at 50% of Standard, Fast mode at 2x, and computer use and code interpreter via Responses tools.

Model Specs

Released2026-09-22
Context1.05m
Knowledge cutoff2026-05

More Models on Azure OpenAI

Provider

Azure OpenAI
Azure OpenAI

Microsoft

Redmond, Washington, United States