gpt-5.6-sol API

At provider list price

gpt-5.6-sol is OpenAI's long-context reasoning model, priced at $5.00 per 1M input and $30.00 per 1M output tokens on CaMeL Hub. Call it with any OpenAI-compatible SDK by pointing base_url to https://api.camel-hub.com/v1 — no other code changes. Prompts above 272K tokens bill at a higher long-context tier ($10.00 in / $45.00 out).

Pricing

per 1M input tokensper 1M output tokens
CaMeL Hub (≤ 272000 tokens)$5.00$30.00
CaMeL Hub (long context)$10.00$45.00
Provider list price$5.00$30.00

Prices are the public default-group rate in USD per 1M tokens; input and output are billed separately. · Provider list price · verified 2026-07-11

Specifications

Provider
OpenAI
Context window
1050000 tokens
Max output
128000 tokens
Endpoints
openai
gpt-5.6-sol is the long-context member of OpenAI's GPT-5.6 family, built around a 1,050,000-token context window and up to 128,000 output tokens per request. It is a reasoning model: before producing the final answer it spends internal reasoning tokens working through the problem, which makes it markedly stronger on multi-step analysis, planning, and code comprehension than same-generation non-reasoning models — at the cost of higher latency and output-token spend. If you need fast, cheap completions, a mini-class model is the better fit; sol earns its price when the task is genuinely hard or genuinely large. Pricing is segmented by prompt size. Up to 272K prompt tokens, CaMeL Hub bills $5.00 per 1M input tokens and $30.00 per 1M output tokens. Once a request's prompt exceeds 272K tokens, the entire request moves to the long-context tier — $10.00 per 1M input and $45.00 per 1M output. Because the whole request re-prices rather than just the overflow, it pays to keep routine calls under the 272K threshold and reserve the mega-context territory for jobs that truly need a single unified view, such as whole-repository analysis. Note the 6:1 output-to-input price ratio: on reasoning-heavy tasks, output tokens (including internal reasoning) usually dominate the bill, so a tight max_tokens budget and focused prompts matter more here than on most models. On CaMeL Hub, gpt-5.6-sol is served through the standard OpenAI-compatible chat completions endpoint with streaming supported, so existing OpenAI SDK code works after changing only the base_url and API key. One account and one key also cover the rest of the catalog — Claude, Gemini, DeepSeek and more — which makes A/B-ing sol against other frontier models a one-line model-name change. Top up by Alipay, WeChat Pay, or international cards, or use a subscription plan; usage is metered per token with itemized logs in the console.

What it is good for

Quickstart

OpenAI-compatible: set base_url to https://api.camel-hub.com/v1 and use your CaMeL Hub API key. No SDK changes needed.

cURL

curl https://api.camel-hub.com/v1/chat/completions \
  -H "Authorization: Bearer $CAMEL_HUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.6-sol",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Python

from openai import OpenAI

client = OpenAI(
    api_key="$CAMEL_HUB_KEY",
    base_url="https://api.camel-hub.com/v1",  # <-- the only change vs. the OpenAI default
)

resp = client.chat.completions.create(
    model="gpt-5.6-sol",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.CAMEL_HUB_KEY,
  baseURL: "https://api.camel-hub.com/v1", // <-- the only change vs. the OpenAI default
});

const resp = await client.chat.completions.create({
  model: "gpt-5.6-sol",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);

Get an API key Browse integration guides

Frequently asked questions

How is gpt-5.6-sol billed on CaMeL Hub?

Input and output tokens are billed separately: $5.00 per 1M input tokens and $30.00 per 1M output tokens for prompts up to 272K tokens. When a request's prompt exceeds 272K tokens, the whole request is billed at the long-context tier — $10.00 per 1M input and $45.00 per 1M output. There is no per-call fee; you pay only for tokens used.

Does the long-context price apply only to the tokens above 272K?

No. Once the prompt crosses 272K tokens, the entire request is charged at the higher tier ($10.00 in / $45.00 out), not just the overflow. If your workload hovers near the threshold, trimming prompts to stay at or under 272K tokens keeps you on the $5.00/$30.00 tier.

Does gpt-5.6-sol support streaming and reasoning?

Yes to both. Streaming works through the standard OpenAI-style stream=true parameter, so tokens arrive incrementally. It is also a reasoning model: it spends internal reasoning tokens before answering, which improves quality on complex tasks but counts toward your output-token usage — budget max_tokens accordingly.

What are the context window and maximum output?

Per OpenAI's model documentation, gpt-5.6-sol has a 1,050,000-token context window and supports up to 128,000 output tokens per request. That is enough for entire codebases or book-length document sets in a single prompt.

How do I start calling gpt-5.6-sol?

Create an account at https://api.camel-hub.com/console, generate an API key, then point any OpenAI-compatible SDK at base_url https://api.camel-hub.com/v1 with model set to gpt-5.6-sol. Existing OpenAI SDK code needs no other changes, and the same key works for every other model on CaMeL Hub.

More from OpenAI

OpenAI

gpt-5.5

OpenAI

gpt-5.4

Compare with other models