gpt-5.6-sol API
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 tokens | per 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
What it is good for
- Whole-repository code review: load hundreds of source files into one prompt and get cross-file refactoring analysis without chunking pipelines
- Contract and regulatory document analysis where a single filing, lease portfolio, or compliance bundle runs to thousands of pages
- Long-horizon agent workflows that accumulate large tool-call traces and conversation history and still need coherent multi-step reasoning at the end
- Research synthesis across dozens of papers or reports in a single call, with citations traced back to specific passages
- Log and incident forensics: feed days of application logs or support-ticket history and ask for a root-cause narrative
- Hard reasoning tasks — mathematical derivations, algorithm design, migration planning — where reasoning-token models measurably outperform standard ones
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.