# OpenAI: gpt-5.6-luna

- Model ID: `gpt-5.6-luna`
- Provider: OpenAI
- Web version: https://www.moleapi.com/en/models/openai/gpt-5.6-luna
- Content status: verified

## Model introduction

GPT-5.6 Luna is the efficient GPT-5.6 tier for cost-sensitive, high-volume workloads while retaining long context, reasoning controls, and agent tools.

## Model capabilities

- OpenAI compatible
- Responses API
- Anthropic compatible
- Gemini compatible
- Image generation
- Vision
- Prompt cache
- Reasoning

### Verified specifications

- Official positioning: Cost-sensitive, high-volume workloads
- Context window: 1,050,000 tokens
- Maximum output: 128,000 tokens
- Knowledge cutoff: 2026-02-16
- Input / output: Text, image / Text

## Model pricing and access

Pricing is supplied dynamically by the MoleAPI console API.

### Standard (default, x1)

| Tier | Condition | Input | Output | Cache read | Cache write | Image input | Image output |
| --- | --- | ---: | ---: | ---: | ---: | ---: | ---: |
| standard | Length ≤ 272K | $0.2 | $1.2 | $0.02 | $0.25 | - | - |
| long_context | - | $0.4 | $1.8 | $0.04 | $0.5 | $8 | $30 |

### Discount (discount, x0.8)

| Tier | Condition | Input | Output | Cache read | Cache write | Image input | Image output |
| --- | --- | ---: | ---: | ---: | ---: | ---: | ---: |
| standard | Length ≤ 272K | $0.16 | $0.96 | $0.016 | $0.2 | - | - |
| long_context | - | $0.32 | $1.44 | $0.032 | $0.4 | $6.4 | $24 |

### Relay (relay, x0.3)

| Tier | Condition | Input | Output | Cache read | Cache write | Image input | Image output |
| --- | --- | ---: | ---: | ---: | ---: | ---: | ---: |
| standard | Length ≤ 272K | $0.06 | $0.36 | $0.006 | $0.075 | - | - |
| long_context | - | $0.12 | $0.54 | $0.012 | $0.15 | $2.4 | $9 |

### Temporary (availability may vary) (temp, x0.1)

| Tier | Condition | Input | Output | Cache read | Cache write | Image input | Image output |
| --- | --- | ---: | ---: | ---: | ---: | ---: | ---: |
| standard | Length ≤ 272K | $0.02 | $0.12 | $0.002 | $0.025 | - | - |
| long_context | - | $0.04 | $0.18 | $0.004 | $0.05 | $0.8 | $3 |

### Access protocols

| Protocol | Method | Endpoint |
| --- | --- | --- |
| openai | POST | /v1/chat/completions |
| openai-response | POST | /v1/responses |
| anthropic | POST | /v1/messages |
| gemini | POST | /v1beta/models/{model}:generateContent |
| image-generation | POST | /v1/images/generations |
| openai-response-compact | POST | /v1/responses/compact |
| openai-alpha-search | POST | /v1/alpha/search |

- Live pricing source: https://home.moleapi.com/api/pricing

## About gpt-5.6-luna

GPT-5.6 Luna is positioned as the most cost-efficient model in OpenAI’s GPT-5.6 model family; the same series also includes the flagship Sol and the balanced Terra for everyday work, both now generally available. [6]

## Model Positioning and Core Capabilities

GPT-5.6 Luna is the cost-efficiency tier of the GPT-5.6 family, designed for workloads that require efficient processing at scale. [6]

The GPT-5.6 family supports Programmatic Tool Calling, enabling lightweight programs to be written and run in the Responses API to coordinate tool calls and process intermediate results, reducing round trips between the model and tools. [6]

## Capabilities and Specifications

OpenAI positions Luna as the most cost-efficient model in the GPT-5.6 family, forming a tiered lineup alongside Sol’s flagship positioning and Terra’s balanced positioning for everyday work. [6]

Third-party materials list Luna as supporting multiple reasoning-effort levels, as well as workflow capabilities including function calling, web search, file search, computer use, and persistent reasoning. [2]

## Use Cases

Luna is designed for high-volume text-processing tasks such as summarization, rewriting, classification, information extraction, routing, and lightweight analysis. [2]

Its applicable use cases also include user-facing assistants, routine automation, workflow support, initial issue triage, code review drafts, test case generation, and document analysis. [2]

## Important Limitations

Luna is the cost-efficiency tier of the GPT-5.6 family; materials classify difficult cases as suitable for escalation to Terra or Sol. [2]

Higher reasoning effort, Pro mode, multi-agent workflows, and long-context processing increase latency and cost. [2]

## Sources

[2] [B.AI GPT-5.6 Luna 模型指南](https://docs.b.ai/llmservice/models/gpt-5-6-luna/)
[6] [GPT-5.6: Frontier intelligence that scales with your ambition](https://openai.com/index/gpt-5-6/)



## Code examples

### cURL

```bash
curl https://api.moleapi.com/v1/responses \
  -H "Authorization: Bearer $MOLEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.6-luna","input":"Explain this problem step by step."}'
```

### Python

```python
from openai import OpenAI

client = OpenAI(base_url="https://api.moleapi.com/v1", api_key="YOUR_MOLEAPI_API_KEY")
response = client.responses.create(model="gpt-5.6-luna", input="Explain this problem step by step.")
print(response.output_text)
```

### TypeScript

```typescript
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.moleapi.com/v1", apiKey: process.env.MOLEAPI_API_KEY });
const response = await client.responses.create({ model: "gpt-5.6-luna", input: "Explain this problem step by step." });
console.log(response.output_text);
```

## More related models

- [gpt-5.6-sol](https://www.moleapi.com/en/models/openai/gpt-5.6-sol) — OpenAI
- [gpt-5.6-terra](https://www.moleapi.com/en/models/openai/gpt-5.6-terra) — OpenAI
- [gpt-5.5](https://www.moleapi.com/en/models/openai/gpt-5.5) — OpenAI

## Frequently asked questions

### How is gpt-5.6-luna priced?

Prices are read from the MoleAPI console API and update with model prices, context tiers, and account groups.

### How can I access gpt-5.6-luna?

The catalog currently lists openai, openai-response, anthropic, gemini, image-generation, openai-response-compact, openai-alpha-search.

### How do I switch an existing project to gpt-5.6-luna?

Keep the MoleAPI API address and key, replace the model parameter, and check protocol-specific parameters.

### Where do the gpt-5.6-luna details come from?

Capabilities and limitations are checked against OpenAI and the other cited pages; pricing and protocols come from the MoleAPI console.
