---
title: OpenAI: GPT 5.6 Luna API | Text Generation | ModelsLab
description: Build with OpenAI: GPT 5.6 Luna API by Openai. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/openai-gpt-5.6-luna.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/openai-gpt-5.6-luna.md
type: product
component: Playground/LLM/Index
generated_at: 2026-07-11T21:07:09.285996Z
---

OpenAI: GPT-5.6 Luna
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-5.6-luna/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/openai-gpt-5.6-luna.md)

OpenAI: GPT-5.6 Luna
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### OpenAI: GPT-5.6 Luna

openai openai-gpt-5.6-luna

Copy model ID

PricingInput $1.00 / 1M tokens

Output $6.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[#### meta/Meta Llama 3.1 405B Instruct Turbo

meta-llama-Meta-Llama-3.1-405B-Instruct-Turbo

From $3.50/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Meta-Llama-3.1-405B-Instruct-Turbo)

[#### open\_router/MiniMax: MiniMax M3

minimax-minimax-m3

From $0.75/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m3)

[#### qwen/Qwen2.5 72B Instruct Turbo

Qwen-Qwen2.5-72B-Instruct-Turbo

From $1.20/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/qwen/Qwen-Qwen2.5-72B-Instruct-Turbo)

[#### open\_router/Z.ai: GLM 4.5V

z-ai-glm-4.5v

From $1.20/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/z-ai-glm-4.5v)

[#### open\_router/Nex AGI: Nex-N2-Pro

nex-agi-nex-n2-pro

From $0.63/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nex-agi-nex-n2-pro)

[#### open\_router/Anthropic: Claude Opus 4.7 (Fast)

anthropic-claude-opus-4.7-fast

From $90.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-opus-4.7-fast)

[#### deepseek/DeepSeek R1 Distill Qwen 1.5B

deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B

From $0.18/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Qwen-1.5B)

[#### open\_router/TheDrummer: Skyfall 36B V2

thedrummer-skyfall-36b-v2

From $0.68/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/thedrummer-skyfall-36b-v2)

[#### open\_router/Cohere: North Mini Code (free)

cohere-north-mini-code-free

Free](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/cohere-north-mini-code-free)

[#### open\_router/Qwen: Qwen2.5 VL 72B Instruct

qwen-qwen2.5-vl-72b-instruct

From $0.90/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen2.5-vl-72b-instruct)

[#### open\_router/xAI: Grok 4.3

x-ai-grok-4.3

From $1.88/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-4.3)

[#### open\_router/Anthropic: Claude Opus 4.1

anthropic-claude-opus-4.1

From $45.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-opus-4.1)

[#### open\_router/OpenAI: GPT-4o-mini Search Preview

openai-gpt-4o-mini-search-preview

From $0.38/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4o-mini-search-preview)

[#### open\_router/DeepSeek: DeepSeek V4 Flash

deepseek-deepseek-v4-flash

From $0.12/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/deepseek-deepseek-v4-flash)

[#### open\_router/Google Gemini Pro Latest

google-gemini-pro-latest

From $7.00/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-pro-latest)

[#### open\_router/Qwen: Qwen3 Coder Plus

qwen-qwen3-coder-plus

From $1.95/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-coder-plus)

[#### open\_router/Qwen: Qwen3 30B A3B

qwen-qwen3-30b-a3b

From $0.31/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-30b-a3b)

[#### open\_router/Qwen: Qwen Plus 0728 (thinking)

qwen-qwen-plus-2025-07-28-thinking

From $0.52/M tokens](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen-plus-2025-07-28-thinking)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llm&provider=open-source-models)

[MU

Popular](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/modelslab/uncensored-chat)

About OpenAI: GPT-5.6 Luna
---

GPT-5.6 Luna is a fast, cost-efficient model in OpenAI's GPT-5.6 series. It is suited for high-volume, latency-sensitive tasks such as chat, classification, and lightweight agentic workflows, providing capable reasoning for...

### Technical Specifications

Model IDopenai-gpt-5.6-luna

CategoryLLM Models

TaskText Generation

Price$3.5 per million tokens

AddedJuly 9, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate OpenAI: GPT-5.6 Luna into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "openai-gpt-5.6-luna",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

OpenAI: GPT-5.6 Luna API costs $3.500000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Openai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

OpenAI: GPT-5.6 Luna FAQ
---

### What is OpenAI: GPT-5.6 Luna?

GPT-5.6 Luna is a fast, cost-efficient model in OpenAI's GPT-5.6 series. It is suited for high-volume, latency-sensitive tasks such as chat, classification, and lightweight agentic workflows, providing capable reasoning for...

### How do I use the OpenAI: GPT-5.6 Luna API?

You can integrate OpenAI: GPT-5.6 Luna into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "openai-gpt-5.6-luna" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does OpenAI: GPT-5.6 Luna cost?

OpenAI: GPT-5.6 Luna costs $3.500000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the OpenAI: GPT-5.6 Luna model ID?

The model ID for OpenAI: GPT-5.6 Luna is "openai-gpt-5.6-luna". Use this ID in your API requests to specify this model.

### Does OpenAI: GPT-5.6 Luna have a free tier?

Yes, ModelsLab offers a free tier that lets you try OpenAI: GPT-5.6 Luna and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-07-12*