> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kymaapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GPT-5.6 Luna Pro

> Luna at the same list price with the Pro serving profile. 1.05M context, vision, file input; the rate doubles above 272K prompt tokens.

## Overview

Luna at the same list price with the Pro serving profile. 1.05M context, vision, file input; the rate doubles above 272K prompt tokens.

## Specs

| Field | Value |
| - | - |
| Model ID | `gpt-5.6-luna-pro` |
| Best for | High-volume work that needs the Pro serving profile |
| Context window | 1.05M |
| Max output tokens | 128K |
| Input modalities | Text, Image, File |
| Output modalities | Text |
| Tool calling | Yes |
| Structured outputs | Yes |
| Prompt caching | Yes |
| Vision | Yes |
| Reasoning | Yes |
| Speed | Fast |
| Cost band | Cheap |
| Release stage | Stable |

## Pricing

| | Per 1M tokens |
| - | :-: |
| Input | \$0.1548 |
| Output | \$0.9288 |

Above a long prompt this model costs more per token, because the infrastructure
serving it charges more there. The threshold is on the **prompt**, so you know which
rate applies before you send.

| Prompt length | Input | Output |
| - | :-: | :-: |
| Standard | \$0.1548 | \$0.9288 |
| Above 272,000 tokens | \$0.54 | \$2.43 |

## Example

```python theme={null}
from openai import OpenAI

client = OpenAI(base_url="https://kymaapi.com/v1", api_key="kyma-...")

response = client.chat.completions.create(
    model="gpt-5.6-luna-pro",
    messages=[{"role": "user", "content": "..."}],
    tools=[...],  # function calling supported
)
```

## Agent query example

Ask the API which models fit, instead of hardcoding an id:

```bash theme={null}
curl "https://kymaapi.com/v1/models?recommended_for=chat&tools=true&quality_tier=strong"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.