LLM Reference
OpenAI API

Using GPT-6 Sol on OpenAI API

Implementation guide · GPT-6 · OpenAI

Serverless

OpenAI API exposes GPT-6 Sol through model ID gpt-6-sol. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-09-23. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at OpenAI API and generate an API key.
  2. 2
    Use the OpenAI API SDK or REST API to call gpt-6-sol — see the documentation for request format.
  3. 3
    You'll be billed $2.00/1M input, $10.00/1M output tokens. See full pricing.

Code Examples

Install
pip install openai
API key
OPENAI_API_KEY
Model ID
gpt-6-sol

Use the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".

import os
from openai import OpenAI

client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
    model="gpt-6-sol",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Pricing on OpenAI API

TypePrice (per 1M)
Input tokens$2.00
Output tokens$10.00

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsCode ExecutionPrompt CachingBatch API

About GPT-6 Sol

OpenAI GPT-6 Sol, announced September 22, 2026 with GPT-6 Luna, expands the GPT-6 family below flagship GPT-6 Astra for cost-efficient complex coding and agentic workflows. First-party OpenAI API id gpt-6-sol. Docs: 1,050,000 context, 128,000 max output, knowledge cutoff Apr 20, 2026, text and image input to text output, reasoning effort none/low/medium/high/xhigh/max, function calling, structured outputs, prompt caching, Batch and Flex at 50% of Standard, Fast mode at 2x, and computer use and code interpreter via Responses tools.

Model Specs

Released2026-09-22
Context1.05m
Knowledge cutoff2026-04

Provider

OpenAI API
OpenAI API

OpenAI

San Francisco, California, United States