OpenAI · gpt-6-luna
GPT-6 Luna API
Built for high-volume work, at about 13.5% of list price
OpenAI calls GPT-6 Luna the fastest and most cost-effective GPT-6 tier, made for scoped tasks, triage and frequent automations, with a list input price of $0.10 per 1M tokens. Call gpt-6-luna on AnyAIGC from $0.0135 per 1M input tokens, 86% off OpenAI's price.
- Model ID gpt-6-luna
- Endpoints /v1/chat/completions · /v1/responses
- Price 86% off list
- Concurrency Unlimited
- Business Self-service invoices
$0.0135 per 1M input tokens, so high-volume jobs stay predictable
OpenAI released GPT-6 Luna alongside GPT-6 Sol on , describing it as "our most efficient model for focused, high-volume tasks." OpenAI calls it the fastest and most cost-effective GPT-6 tier, aimed at scoped tasks, triage and frequent automations. Its list price is $0.10 input, $0.01 cached input and $0.50 output per 1M tokens, down from $0.20 and $1.20 for GPT-5.6 Luna: half the input price and about 58% less for output.
GPT-6 Luna supports six reasoning efforts: none, low, medium (default), high, xhigh and max. Use none or low for latency-sensitive classification and extraction, and raise it for harder questions. It has a 1,050,000-token context window, up to 128,000 output tokens, text and image input with text output, and a knowledge cutoff of May 18, 2026.
On AnyAIGC, gpt-6-luna works on both /v1/chat/completions and /v1/responses. With the official OpenAI SDK you only change base_url to https://anyaigc.ai/v1. There is no concurrency cap, so you can fan out large batches in parallel, and the same key also reaches 300+ other models.
- Context window
- 1,050,000
- Max output
- 128,000
- Knowledge cutoff
- 2026-05-18
- Input
- Text, image
- Reasoning effort
- none – max
- Released
- 2026-09-22
GPT-6 Luna API pricing
Per-token billing at fixed rates, with no subscription or monthly fee. Input, output and cached input are each about 13.5% of OpenAI's list price. The three cards show the GPT-6 Astra, Sol and Luna tiers on AnyAIGC; for the Terra tier, see GPT-6.1 Terra.
-
GPT-6
Astra
OpenAI's highest-intelligence model, for the hardest work.
- Input
- $0.4964
$10.00 - Output
- $2.4810
$50.00 - Cached
- $0.0496
$1.00
Per 1M tokens · struck-through is list price
-
GPT-6.1
Sol
Near-Astra intelligence at one fifth of Astra's list price.
- Input
- $0.0993
$2.00 - Output
- $0.4964
$10.00 - Cached
- $0.0050
$0.10
Per 1M tokens · struck-through is list price
-
This page GPT-6
Luna
Fast, efficient handling of high-volume everyday tasks.
- Input
- $0.0135
$0.10 - Output
- $0.0675
$0.50 - Cached
- $0.0014
$0.01
Per 1M tokens · struck-through is list price
gpt-6-luna price breakdown
- Per tokenInput, output and cache priced separately
- 86% offCompared with OpenAI list price
- Unlimited concurrencyIncluded on every account
- USDOne balance for 300+ models
| Item | AnyAIGC | OpenAI list | You save |
|---|---|---|---|
| Inputper 1M tokens | $0.0135 | $0.10 | 86% |
| Outputper 1M tokens | $0.0675 | $0.50 | 86% |
| Cached inputper 1M tokens | $0.0014 | $0.01 | 86% |
Model gpt-6-luna. Prices are in USD and billed on tokens actually used. When a request has more than 272K input tokens, the whole request is billed at 2x input and cache rates and 1.5x output, matching OpenAI's rule. List prices are from OpenAI's announcement. See the AnyAIGC model catalog for live prices.
Cost examples
Estimates for common workloads, with the same usage at list price struck through.
-
One code review
50K input tokens + 5K output tokens
$0.0010
List
$0.0075 -
20-turn agent session
Each turn: 20K cached input + 5K new input + 2K output
$0.0046
List
$0.034 -
1M input + 1M output
1M input tokens + 1M output tokens
$0.081
List
$0.60
How GPT-6 Luna performs across tasks
OpenAI's published results for automation and agentic coding, compared with the previous-generation GPT-5.6 Luna.
AutomationBench · max reasoning effort
In OpenAI's results, GPT-6 Luna costs $0.037 per task on AutomationBench at max effort (list price). OpenAI says that at high effort it scores 5.4 points above the previous generation while cutting cost per task by 58%.
Automation and agentic coding
| Benchmark | GPT-6 Luna | GPT-5.6 Luna |
|---|---|---|
| AutomationBenchFrequent automations | 20.7%max | 17.0%max |
| DeepSWE v1.1Agentic coding | 66.6%max | - |
Source: OpenAI's GPT-6 Sol and Luna announcement. The label under each score is the reasoning effort that produced it. OpenAI says GPT-6 Luna at max effort matches Claude Opus 5 and Fable 5 at medium effort on DeepSWE v1.1, at 93% lower cost per task than Opus 5, and that on OSWorld 2.0 it beats GPT-5.6 Sol at medium effort for about one tenth of the cost.
What GPT-6 Luna is good for
- 01 · Triage
Ticket and message routing
Label support tickets, user feedback and alerts, then route them to the right team. OpenAI lists triage as a core Luna use, and with none or low effort each call is fast and cheap.
- 02 · Extraction
Structured data extraction
Pull fields out of contracts, invoices, resumes and web pages, and return JSON with Structured Outputs. At $0.0135 per 1M input tokens, batches of hundreds of thousands of documents stay on a small budget.
- 03 · Automation
Frequent automations
Scheduled jobs, form processing and data cleanup that run thousands of times a day. OpenAI's AutomationBench result is 3.7 points above GPT-5.6 Luna at $0.037 per task (list price).
- 04 · Bulk text
Summaries, localization and rewrites
Generate summaries, product descriptions and multilingual copy in bulk. The 1,050,000-token context fits long documents, and repeated system prompts bill as cached input at $0.0014 per 1M tokens.
Call the GPT-6 Luna API in three steps
- Sign up and top up: create an account at anyaigc.ai. Your balance works across every model.
- Create an API key: create a token in the console, copy the
sk-key and store it in theANYAIGC_API_KEYenvironment variable. - Send a request: call
https://anyaigc.ai/v1/chat/completionsorhttps://anyaigc.ai/v1/responseswithmodelset togpt-6-lunaandAuthorization: Bearerauth.
curl https://anyaigc.ai/v1/chat/completions \
-H "Authorization: Bearer $ANYAIGC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-luna",
"reasoning_effort": "none",
"messages": [
{"role": "system", "content": "Classify the feedback as bug, feature request, billing or other. Reply with the label only."},
{"role": "user", "content": "My top-up went through but the balance did not update"}
]
}'
import os
from openai import OpenAI
client = OpenAI(
base_url="https://anyaigc.ai/v1",
api_key=os.environ["ANYAIGC_API_KEY"],
)
resp = client.chat.completions.create(
model="gpt-6-luna",
reasoning_effort="low", # none / low / medium / high / xhigh / max
messages=[
{"role": "user", "content": "Extract name, phone and city as JSON: Jane Doe, 555-0100, lives in Austin."},
],
)
print(resp.choices[0].message.content)
import os
from openai import OpenAI
client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])
tools = [{
"type": "function",
"name": "route_ticket",
"description": "Assign a support ticket to the right team",
"parameters": {
"type": "object",
"properties": {
"team": {"type": "string", "enum": ["billing", "tech", "sales"]},
"priority": {"type": "string", "enum": ["low", "high"]},
},
"required": ["team", "priority"],
},
}]
resp = client.responses.create(
model="gpt-6-luna",
input="Ticket: the API keeps returning 401 and our production service is down.",
tools=tools,
reasoning={"effort": "low"},
)
for item in resp.output:
if item.type == "function_call":
print(item.name, item.arguments) # e.g. route_ticket {"team": "tech", "priority": "high"}
print(resp.output_text)
import os
from openai import OpenAI
client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])
stream = client.chat.completions.create(
model="gpt-6-luna",
messages=[{"role": "user", "content": "Summarize the difference between HTTP and HTTPS in 3 sentences."}],
stream=True,
stream_options={"include_usage": True},
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
if chunk.usage:
print("\n", chunk.usage)
Prefer the Responses API for tools. Per OpenAI, gpt-6-luna supports function calling on Chat Completions only when reasoning_effort is set to "none". For function calling at other efforts, or built-in tools such as web search and file search, switch to /v1/responses with the effort in reasoning.effort. Plain chat and streaming work fine on /v1/chat/completions.
See the Chat Completions reference and the Responses reference for every parameter. Fields match the official OpenAI API.
Use GPT-6 Luna in Codex
One command installs the Codex CLI and writes the AnyAIGC config. Or edit the two files under ~/.codex/ yourself. Luna suits small batch edits, code explanations and script generation.
curl -fsSL https://www.anyaigc.ai/install.sh | bash -s codex
# Windows PowerShell: irm https://www.anyaigc.ai/install.ps1 | iex
model_provider = "anyaigc"
model = "gpt-6-luna"
model_reasoning_effort = "medium"
disable_response_storage = true
[model_providers.anyaigc]
name = "anyaigc"
base_url = "https://anyaigc.ai/v1"
wire_api = "responses"
requires_openai_auth = true
{
"OPENAI_API_KEY": "sk-your-api-key"
}
The one-line installer sets the model to gpt-5.5, so change model in ~/.codex/config.toml to gpt-6-luna afterwards. Save both files and run codex in your project folder. Codex uses the Responses API, so tool calling works normally. For complex multi-file refactors, switch to GPT-6.1 Sol. See the Codex setup guide for full steps and common errors.
GPT-6 Luna API for teams and enterprises
Top up, issue invoices yourself, and work with a dedicated support and technical contact.
- Invoices
Issue them yourself
Issue an invoice in the console for the amount you actually topped up, whenever you need one.
- Dedicated support
Account and technical contacts
Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.
- WeChat Pay
- Alipay
- USDT
- Credit card
Why teams trust AnyAIGC
Trial credit, top-ups, refunds, data handling and billing, spelled out up front.
5M free tokens to start
New accounts get trial credit, so you can test before you top up.
Top up from $1, refundable
Top up from $1. Unused balance can be refunded with no fee.
Official channels, real models
Requests go to official model channels, never cheaper or reverse-engineered substitutes.
No retention, no training
Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.
Transparent billing, spend caps
See tokens and cost for every request in the console, and set a quota on each API key.
24/7 support
Contact support any time about integration, billing or incidents.
Other GPT models
The same API key works for every GPT model below. Pick by task difficulty and budget, or see the GPT overview and price comparison.
- LatestGPT-6.2 AstraOpenAI's new frontier model for the hardest projects · Input $0.3971 / 1M
- LatestGPT-6.2 SolEveryday go-to model, priced like 6.1 Sol · Input $0.0993 / 1M
- LatestGPT-6 AstraOpenAI's flagship for the hardest work · Input $0.4964 / 1M
- LatestGPT-6.1 SolNear-Astra at one fifth of the price · Input $0.0993 / 1M
- LatestGPT-6.1 TerraFast vision, computer use and writing · Input $0.0496 / 1M
- LatestGPT-6 LunaFastest, lowest cost, high-volume tasks · Input $0.0135 / 1M
- GPT-6 SolFirst GPT-6 Sol, now succeeded by 6.1 · Input $0.0993 / 1M
- GPT-5.6 SolGPT-5.6 flagship at promo price · Input $0.2482 / 1M
- GPT-5.6 TerraGPT-5.6 balanced tier, now 6.1 Terra · Input $0.0993 / 1M
- GPT-5.6 LunaLow-cost GPT-5.6 tier for volume · Input $0.0270 / 1M
- GPT-5.5Previous flagship, still live in the API · Input $0.2482 / 1M
- GPT-5.5 ProMore compute, deeper answers, Responses only · Input $17.8200 / 1M
Specs and how to choose it
GPT-6 Luna launched alongside GPT-6 Sol and is available in the API as gpt-6-luna.
At max reasoning effort, GPT-6 Luna scored 66.6% on DeepSWE v1.1, on par with Claude Opus 5 at medium effort.
At max reasoning effort, GPT-6 Luna outperformed GPT-5.6 Sol at medium effort on the OSWorld 2.0 offline set.
This page lists Input at $0.0135, Output at $0.0675, Cached input at $0.0014, matching the pricing table above.
At max reasoning effort, gpt-6-luna scored 66.6% on DeepSWE v1.1, slightly below gpt-6-sol's 68.8%.
Specs come from the vendor's official documentation (openai.com). The table on this page is the price, and the model catalog is authoritative for live rates.
GPT-6 Luna API FAQ
How much does the GPT-6 Luna API cost?
On AnyAIGC, gpt-6-luna is billed per token: $0.0135 per 1M input tokens, $0.0675 per 1M output tokens and $0.0014 per 1M cached input tokens. OpenAI's list price is $0.10 input, $0.50 output and $0.01 cached input, so AnyAIGC is about 13.5% of list (86% off). When a request has more than 272K input tokens, the whole request is billed at 2x input and cache rates and 1.5x output.
GPT-6 Luna vs GPT-5.6 Luna: what changed?
GPT-6 Luna is the next generation after GPT-5.6 Luna. The list price drops from $0.20 input and $1.20 output to $0.10 and $0.50, so input is half price and output is about 58% lower. According to OpenAI, it scores 20.7% on AutomationBench at max effort against 17.0% for GPT-5.6 Luna, and at high effort it gains 5.4 points over the previous generation while cutting cost per task by 58%. Its knowledge cutoff is 2026-05-18. On AnyAIGC, GPT-6 Luna is $0.0135 input and $0.0675 output, and GPT-5.6 Luna is $0.0270 input and $0.1620 output per 1M tokens.
Is GPT-6 Luna the cheapest GPT model?
Among OpenAI's current GPT-6 tiers (Astra, Sol, Terra and Luna), Luna has the lowest list price, and OpenAI calls it the fastest and most cost-effective tier. On AnyAIGC its input price is about one seventh of GPT-6.1 Sol's and about one thirty-seventh of GPT-6 Astra's. See the AnyAIGC model catalog for live prices.
GPT-6 Luna or GPT-6.1 Sol: which should I use?
OpenAI positions Luna for scoped tasks, triage and frequent automations, and Sol for complex tasks where you also need to manage time and cost. Use GPT-6 Luna for high-volume work like classification, extraction, summaries and bulk rewriting. Move to GPT-6.1 Sol for multi-file coding, computer use and long agent runs.
Chat Completions or Responses API? Can I use tools?
Both endpoints work. For plain chat and streaming, use https://anyaigc.ai/v1/chat/completions. Per OpenAI, gpt-6-luna supports function calling on Chat Completions only when reasoning_effort is none. For function calling at other efforts, or for built-in tools, use https://anyaigc.ai/v1/responses and set the effort in reasoning.effort.
Can I use GPT-6 Luna in Codex?
Yes. Run curl -fsSL https://www.anyaigc.ai/install.sh | bash -s codex to install and configure it (on Windows, irm https://www.anyaigc.ai/install.ps1 | iex). The installer defaults to gpt-5.5, so change model in ~/.codex/config.toml to gpt-6-luna afterwards. Or edit ~/.codex/config.toml yourself: set base_url to https://anyaigc.ai/v1, wire_api to responses and model to gpt-6-luna, then put OPENAI_API_KEY in ~/.codex/auth.json.
How do I get a GPT-6 Luna API key?
Sign up at anyaigc.ai, top up, and create a token in the console. The same key works for GPT-6 Luna and 300+ other models. With the official OpenAI SDK, just set base_url to https://anyaigc.ai/v1.
Can I get an invoice from AnyAIGC?
Yes. You can issue invoices yourself in the console, for the amount you actually topped up.
Which payment methods are supported?
You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.
Is there free trial credit for new users?
Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.
Can I get a refund on my balance?
Yes. Unused balance can be refunded with no fee. Contact support to start a refund.
Are these the real models? Is my data safe?
Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.
Is my data used for training?
No. Unless the law requires it, AnyAIGC does not persistently store your prompts or outputs or use them for training, and requests are encrypted in transit over HTTPS. See the AnyAIGC Privacy Policy for details. The model's own data policy is governed by OpenAI's official terms.
Run GPT-6 Luna at 86% off
Sign up, create an API key, and move your classification, extraction and batch jobs to gpt-6-luna within minutes.