GPT-6 Luna API
Access GPT-6 Luna through one API key. OpenAI GPT-6 Fast & Low-Cost.
GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. Luna suits anything you run thousands of times a day: routing and classification, extraction, moderation, autocomplete, and the many small tool calls inside an agent where a flagship would be wasted.
Takes 30 seconds.
GPT-6 Luna API pricing
Pay per request from your YepAPI balance — no subscription, no monthly minimum. Prices updated September 27, 2026.
| Token type | Price |
|---|---|
| Input | $0.15 / 1M tokens |
| Output | $0.74 / 1M tokens |
| Context window | 1.1M tokens |
| What it costs | Per job | Per 1,000 |
|---|---|---|
| Chat reply1K input + 500 output tokens | $0.0005 | $0.52 |
| RAG answer8K input + 800 output tokens | $0.0018 | $1.79 |
| Agent step with tools30K input + 2K output tokens | $0.006 | $5.98 |
| Long document summary100K input + 2K output tokens | $0.016 | $16.48 |
4,900+
Developers
2.3M+
API calls served
184
Endpoints
$0.01
Per call
Yep, that's it.
Try it live
Send a message and see GPT-6 Luna respond in real time.
Maximum tokens in the response.
Real-time tokens
GPT-6 Luna specs
| Provider | OpenAI |
|---|---|
| Model ID | openai/gpt-6-luna |
| Endpoint | /v1/ai/chat |
| Type | Text Generation |
| Context window | 1.05M tokens |
| Max output | 128K tokens |
| Reasoning | No |
| OpenAI-compatible | Yes — /v1/ai/chat/completions |
How to get a GPT-6 Luna API key
- 1
Create an account
Sign up at yepapi.com with Google or email. It takes about 30 seconds.
- 2
Create an API key
Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.
- 3
Call GPT-6 Luna
Send a request to /v1/ai/chat with the x-api-key header and model "openai/gpt-6-luna".
- 4
Pay as you go
Usage is billed per request from your balance. Top up any amount; there is no subscription.
Strengths
At $0.15 per 1M input and $0.74 per 1M output tokens it is the cheapest way to get GPT-6 behaviour, a fraction of GPT-6 Sol.
Tuned for fast time-to-first-token, so it fits interactive UIs and tight latency budgets.
Even the fast tier keeps the 1,050,000-token window, so long documents do not need chunking.
Function calling and JSON schema outputs make it a solid engine for high-volume agent sub-steps.
Quick start
Copy this snippet and start making calls with GPT-6 Luna.
const res = await fetch('https://api.yepapi.com/v1/ai/chat', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "openai/gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Explain API gateways in 2 sentences."
}
],
"maxTokens": 256
}),
});
const { data } = await res.json();
console.log(data.message.content);GPT-6 Luna vs similar models
Every model below runs on the same API key — switch by changing the model ID.
| Model | Provider | Price | Context |
|---|---|---|---|
| GPT-6 Luna | OpenAI | $0.15 in / $0.74 out per 1M | 1.1M |
| GPT-6 Luna Pro | OpenAI | $0.15 in / $0.74 out per 1M | 1.1M |
| GPT-4o Mini | OpenAI | $0.22 in / $0.89 out per 1M | 128K |
| GPT-OSS 120B | OpenAI | $0.22 in / $0.89 out per 1M | 131K |
| GPT-5.6 Luna | OpenAI | $0.30 in / $1.77 out per 1M | 1.1M |
| GPT-5.6 Luna Pro | OpenAI | $0.30 in / $1.77 out per 1M | 1.1M |
| Nemotron 3 Super | NVIDIA | $0 in / $0 out per 1M | 262K |
| Qwen3.7 Flash | Qwen | $0.04 in / $0.19 out per 1M | 1M |
Why use GPT-6 Luna through YepAPI?
GPT-6 Luna API — pricing, context window & access
GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. It pairs a 1,050,000-token context window with up to 128,000 output tokens per response, at $0.15 per 1M input and $0.74 per 1M output tokens through YepAPI.
Through YepAPI you call GPT-6 Luna on an OpenAI-compatible endpoint with a single key — the same key that reaches GPT-6, Claude, Gemini, Grok and the SEO, SERP and scraping APIs. Input: text, images, files.
What is GPT-6 Luna?
GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. At $0.15 / $0.74 per 1M tokens it brings the GPT-6 generation to high-volume, latency-sensitive workloads such as chat, classification and lightweight agentic tasks, while keeping the full 1M-token context window and 128K output ceiling of its larger siblings. A GPT-6 Luna Pro variant runs it in a higher-effort reasoning mode. It accepts text, images, files as input, handles up to 1,050,000 tokens of context and returns up to 128,000 output tokens per call.
Build with GPT-6 Luna via YepAPI
YepAPI serves GPT-6 Luna on the OpenAI-compatible /v1/ai/chat endpoint. Point your base URL at YepAPI, add your key, and set the model string to gpt-6-luna (or the full openai/gpt-6-luna). Function calling, structured outputs and reasoning settings pass straight through, and switching to any other model on the platform is a one-string change per request.
GPT-6 Luna API pricing — $0.15 / 1M input, $0.74 / 1M output
GPT-6 Luna costs $0.15 per 1M input tokens and $0.74 per 1M output tokens through YepAPI, pay per token with no minimums. Failed calls are never charged, and every request is itemised in your dashboard API Logs so you can see exactly what a 128,000-token response cost.
GPT-6 Luna use cases
Luna suits anything you run thousands of times a day: routing and classification, extraction, moderation, autocomplete, and the many small tool calls inside an agent where a flagship would be wasted.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. Luna suits anything you run thousands of times a day: routing and classification, extraction, moderation, autocomplete, and the many small tool calls inside an agent where a flagship would be wasted.
GPT-6 Luna costs $0.15 per 1M input tokens and $0.74 per 1M output tokens through YepAPI, billed per request with no monthly fee. For example, a chat reply (1K input + 500 output tokens) costs about $0.0005.
Sign up at yepapi.com (Google or email, about 30 seconds), open the dashboard and create an API key. The same key works for GPT-6 Luna and every other model — no separate OpenAI account or waitlist.
Use "openai/gpt-6-luna" as the model on /v1/ai/chat. The short alias "gpt-6-luna" also works.
Yes. Point the OpenAI SDK at https://api.yepapi.com/v1/ai with your YepAPI key and set model to "openai/gpt-6-luna". Streaming works the same way, so existing OpenAI code only needs the base URL and key changed.
GPT-6 Luna supports a 1.1M token context window with up to 128K output tokens per request.
Explore more models
GPT-5.4 Pro
OpenAIAccess GPT-5.4 Pro through one API key. OpenAI's most powerful reasoning model.
GPT-5.6 Sol
OpenAIAccess GPT-5.6 Sol through one API key. OpenAI GPT-5.6 Flagship for Coding & Agents.
GPT-5.3 Codex
OpenAIAccess GPT-5.3 Codex through one API key. Previous-gen coding model with massive output.
Grok 4.20
xAIAccess Grok 4.20 through one API key. xAI's flagship model with the largest context window.
Muse Spark Open
MetaAccess Muse Spark Open through one API key. Meta Open-Weight Coding Model.
MiMo-V2.6-Pro
XiaomiAccess MiMo-V2.6-Pro through one API key. Xiaomi 1T-Parameter Flagship.
More Text Generation models
- DeepSeek V4.1 Flash API · DeepSeek
- Solar Pro 4 API · Upstage
- Mistral Medium 3.5 API · Mistral
- Gemini 3 Flash API · Google
- Seed-2.0-Code API · ByteDance
- Qwen 3.5 122B API · Qwen
- Mercury 3 API · Inception
- MiMo-V2.6-Pro-UltraSpeed API · Xiaomi
- Gemma 4 26B API · Google
- Qwen3.8 Max Prime API · Qwen
- Gemini 3.7 Flash API · Google
- Claude Fable 5 API · Anthropic