> ## 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 Terra Pro

> Terra's Pro tier, twice Terra's list price. 1.05M context, vision, file input; the rate doubles above 272K prompt tokens.

## Overview

Terra's Pro tier, twice Terra's list price. 1.05M context, vision, file input; the rate doubles above 272K prompt tokens.

## Specs

| Field | Value |
| - | - |
| Model ID | `gpt-5.6-terra-pro` |
| Best for | Agentic coding and tool use at long context |
| 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 | Medium |
| Cost band | Premium |
| Release stage | Stable |

## Pricing

| | Per 1M tokens |
| - | :-: |
| Input | \$2.70 |
| Output | \$16.20 |

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 | \$2.70 | \$16.20 |
| Above 272,000 tokens | \$5.40 | \$24.30 |

## 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-terra-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=frontier-open"
```


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