Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
O

gpt-5.6

Input:$4/M
Output:$24/M
Cache Read:$0.4/M
Cache Write:$5/M
Released:Jul 20, 2026
New
Popular
Commercial Use

Playground for gpt-5.6

Explore gpt-5.6's Playground โ€” an interactive environment to test models, run queries in real time. Try prompts, adjust parameters, and iterate instantly to accelerate development and validate use cases.

Pricing for gpt-5.6

Explore competitive pricing for gpt-5.6, designed to fit various budgets and usage needs. Our flexible plans ensure you only pay for what you use, making it easy to scale as your requirements grow. Discover how gpt-5.6 can enhance your projects while keeping costs manageable.

ModelTierConditionComet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
gpt-5.6short_contextlen <= 272000
Input:$4.0000/M
Output:$24.0000/M
Cache Read:$0.4000/M
Cache Write:$5.0000/M
Input:$5.0000/M
Output:$30.0000/M
Cache Read:$0.5000/M
Cache Write:$6.2500/M
-20%
long_context-
Input:$8.0000/M
Output:$36.0000/M
Cache Read:$0.8000/M
Cache Write:$10.0000/M
Input:$10.0000/M
Output:$45.0000/M
Cache Read:$1.0000/M
Cache Write:$12.5000/M
-20%
gpt-5.6-lunashort_contextlen <= 272000
Input:$0.8000/M
Output:$4.8000/M
Cache Read:$0.0800/M
Cache Write:$1.0000/M
Input:$1.0000/M
Output:$6.0000/M
Cache Read:$0.1000/M
Cache Write:$1.2500/M
-20%
long_context-
Input:$1.6000/M
Output:$7.2000/M
Cache Read:$0.1600/M
Cache Write:$2.0000/M
Input:$2.0000/M
Output:$9.0000/M
Cache Read:$0.2000/M
Cache Write:$2.5000/M
-20%
gpt-5.6-solshort_contextlen <= 272000
Input:$4.0000/M
Output:$24.0000/M
Cache Read:$0.4000/M
Cache Write:$5.0000/M
Input:$5.0000/M
Output:$30.0000/M
Cache Read:$0.5000/M
Cache Write:$6.2500/M
-20%
long_context-
Input:$8.0000/M
Output:$36.0000/M
Cache Read:$0.8000/M
Cache Write:$10.0000/M
Input:$10.0000/M
Output:$45.0000/M
Cache Read:$1.0000/M
Cache Write:$12.5000/M
-20%
gpt-5.6-terrashort_contextlen <= 272000
Input:$2.0000/M
Output:$12.0000/M
Cache Read:$0.2000/M
Cache Write:$2.5000/M
Input:$2.5000/M
Output:$15.0000/M
Cache Read:$0.2500/M
Cache Write:$3.1250/M
-20%
long_context-
Input:$4.0000/M
Output:$18.0000/M
Cache Read:$0.4000/M
Cache Write:$5.0000/M
Input:$5.0000/M
Output:$22.5000/M
Cache Read:$0.5000/M
Cache Write:$6.2500/M
-20%

Sample code and API for gpt-5.6

Access comprehensive sample code and API resources for gpt-5.6 to streamline your integration process. Our detailed documentation provides step-by-step guidance, helping you leverage the full potential of gpt-5.6 in your projects.

curl https://api.cometapi.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_KEY" \
  -d '{
    "model": "gpt-5.6-sol",
    "input": "Tell me a three sentence bedtime story about a unicorn."
  }'

cURL Code Example

curl https://api.cometapi.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_KEY" \
  -d '{
    "model": "gpt-5.6-sol",
    "input": "Tell me a three sentence bedtime story about a unicorn."
  }'

Python Code Example

from openai import OpenAI
import os

# Get your CometAPI key from https://www.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)
response = client.responses.create(
    model="gpt-5.6-sol",
    input="Tell me a three sentence bedtime story about a unicorn.",
)

print(response.output_text)

JavaScript Code Example

import OpenAI from "openai";

// Get your CometAPI key from https://www.cometapi.com/console/token, and paste it here
const COMETAPI_KEY = process.env.COMETAPI_KEY || "<YOUR_COMETAPI_KEY>";
const BASE_URL = "https://api.cometapi.com/v1";

const client = new OpenAI({
  apiKey: COMETAPI_KEY,
  baseURL: BASE_URL,
});

const response = await client.responses.create({
  model: "gpt-5.6-sol",
  input: "Tell me a three sentence bedtime story about a unicorn.",
});

console.log(response.output_text);

Uptime

Request success rate over the last 30 days, reflecting the reliability of each model provider. CometAPI monitors all connected providers in real time, 24/7.

RespondLIVE
3191msAvg. Response
UptimeLIVE
100.0%Avg. Uptime

Versions of gpt-5.6

The reason gpt-5.6 has multiple snapshots may include potential factors such as variations in output after updates requiring older snapshots for consistency, providing developers a transition period for adaptation and migration, and different snapshots corresponding to global or regional endpoints to optimize user experience. For detailed differences between versions, please refer to the official documentation.

Version
gpt-5.6
gpt-5.6-luna
gpt-5.6-sol
gpt-5.6-terra