APIMart
Back to all models

GPT-6 Sol API

OpenAIModel ID gpt-6-solText modelReleased September 22, 2026

Use GPT-6 Sol to find why memory keeps growing, turn an address-change ticket into tool-call steps, or fill in the test cases a function is missing.

Max input
922,000 tokens
Max output
128,000 tokens
Input → output
Text, Image → Text
Knowledge cutoff
April 20, 2026
  • Image input
  • Streaming
  • Cached input pricing
  • OpenAI SDK compatible

GPT-6 Sol API use cases

Each use case comes with an illustrative example: source material, a prompt and a hand-written sample answer, not actual model output. Copy the prompt, swap in your own material and try it on GPT-6 Sol.

Try GPT-6 Sol with your own material

Memory and performance debugging

Send the suspect code with the monitoring data, and have GPT-6 Sol say why the resource only ever grows, give the fix, and name the metric to watch after deploy. Run the change in staging for a while first.

Example: Why does the service’s memory keep growing?

Material

cache.ts
const cache = new Map(); export function getUser(id) { if (!cache.has(id)) cache.set(id, loadUser(id)); return cache.get(id); }
Monitoring
Over 7 days of uptime, memory rose from 400 MB to 3.1 GB; about 1.2 million distinct users visited.

PromptUsing the code and monitoring data, find why memory keeps growing, give the fix, and say how to confirm it is resolved after deploy.

Sample answer · written by hand to show the reasoning

The cache only ever adds entries and never removes them, so every user who visits stays in the Map for good, and memory grows with the number of users seen. Switch to an LRU cache with a size limit and give each entry an expiry. After deploy, check that memory levels off within a few hours instead of rising with uptime.

About the GPT-6 Sol API

  • Built for complex coding and agentic workflows

    OpenAI released GPT-6 Sol together with GPT-6 Luna on September 22, 2026. OpenAI says GPT-6 Sol can take on difficult work tasks, with API prices 50% below the promotional pricing of GPT-5.6 Sol.

  • Two newer Sol models have followed

    OpenAI released GPT-6.1 Sol on September 29, 2026 and GPT-6.2 Sol on November 17, both at the same standard input and output prices as GPT-6 Sol. Look at GPT-6.2 Sol first for new projects; validated workloads can stay on GPT-6 Sol.

  • Reasoning effort from none to max

    According to OpenAI’s model docs, GPT-6 Sol supports none, low, medium, high, xhigh and max reasoning effort, with medium as the default. In Chat Completions, function calling works only at none.

  • GPT-6 Sol API key and access

    You don’t need a separate GPT-6 Sol API key: one APIMart key works for every model. Requests go through an OpenAI Chat Completions-compatible endpoint with the model ID gpt-6-sol.

GPT-6 Sol official benchmark results

Selected results OpenAI published at launch.

  • AutomationBench 1.0.6 (xhigh)

    33.2%

    Business workflows across apps. Ahead of GPT-6 Astra at low effort (30.3%) and Claude Opus 5 at max effort (26.9%); cost per task is $0.27, about 9% of Opus 5’s.

  • Agents' Last Exam (max)

    56.4%

    Long-horizon, economically valuable tasks. Above Claude Opus 5’s highest score in the evaluation at 60% lower cost per task.

  • DeepSWE v1.1 (max)

    68.8%

    Complex software engineering tasks in real codebases. Within 1.1 points of Claude Fable 5’s highest score (69.9% at xhigh) at about 80% lower cost per task.

  • OSWorld 2.0 (offline set, xhigh)

    60.5%

    Long-horizon computer-use workflows. Similar to Claude Opus 5 at medium effort (60.3%) at about 80% lower cost per task.

  • FrontierCode 1.1 Main

    Matches Fable 5.1

    Whether coding agents produce changes ready to merge. Matches Claude Fable 5.1 at xhigh effort at much lower cost, and improves substantially over GPT-5.6 Sol.

  • Factual errors

    About half

    Evaluated on de-identified conversations that users had flagged for errors. Makes about half as many mistakes as its predecessor, approaching GPT-6 Astra’s reliability at much lower cost.

How to call the GPT-6 Sol API

To call GPT-6 Sol, you only need an APIMart API key and your existing OpenAI SDK, or send plain HTTP requests.

POST /v1/chat/completions
curl https://api.apimart.ai/v1/chat/completions \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-6-sol",
  "messages": [
    {
      "role": "user",
      "content": "Describe how to design a clear API in three sentences."
    }
  ],
  "stream": false
}'

GPT-6 Sol access details

Model IDgpt-6-sol
Base URLhttps://api.apimart.ai/v1
Endpoint/chat/completions

Common parameters

model
Required
messages
Required
stream
Optional
max_tokens
Optional
temperature
Optional
All request parameters, response fields and error codes

GPT-6 Sol API request parameters

GPT-6 Sol uses the general chat endpoint, POST /v1/chat/completions, with a JSON body. model and messages are required; every other parameter is optional.

ParameterTypeRequiredDescription
modelstringYesModel ID. Use gpt-6-sol for this model.
messagesarrayYesConversation messages. Each message has a role (system, user, or assistant) and content. Include earlier messages for multi-turn conversations.
streambooleanNoWhether to stream the output. true returns chunks over SSE, false returns the full response at once. Default: true.
temperaturenumberNoOutput randomness, 0–2. Default: 1.0. Lower values give more deterministic output.
top_pnumberNoNucleus sampling, 0–1. Default: 1.0. Adjust this or temperature, not both.
max_tokensintegerNoMaximum number of tokens to generate for the reply.
frequency_penaltynumberNoFrequency penalty, -2.0 to 2.0. Default: 0. Positive values reduce repeated wording.
presence_penaltynumberNoPresence penalty, -2.0 to 2.0. Default: 0. Positive values encourage new topics.
stopstring | arrayNoUp to 4 stop sequences. Generation stops when any of them appears.
nintegerNoNumber of replies to generate. Default: 1.

Response fields

The response contains the fields below. Token usage is returned in usage, which you can use to check costs.

FieldTypeDescription
idstringUnique identifier for the request.
modelstringThe model that handled the request.
choicesarrayList of replies. Each item contains message (role and content) and finish_reason.
usageobjectToken usage: prompt_tokens, completion_tokens, and total_tokens.

Error codes

Failed requests return an error object with code, message, and type.

StatusTypeMeaning
400invalid_request_errorInvalid request parameters.
401authentication_errorThe API key is invalid or missing.
402payment_requiredInsufficient account balance.
403permission_errorNo permission to access this resource.
429rate_limit_errorToo many requests. Retry later.
500server_errorInternal server error.
502bad_gatewayGateway error. The service is temporarily unavailable.

GPT-6 Sol API pricing

The GPT-6 Sol API is billed by token usage, and prices depend on your membership tier. Prices below are per million tokens; 1 US dollar = 10 credits.

ItemGoldCurrent pricePlatinumDiamondOfficial priceYou save
Input16Credits~$1.615.2Credits~$1.5214.4Credits~$1.4420Credits~$220%
Cached input1.6Credits~$0.161.52Credits~$0.1521.44Credits~$0.1442Credits~$0.220%
Output80Credits~$876Credits~$7.672Credits~$7.2100Credits~$1020%

Prices are for reference only. View full pricing

Why call GPT-6 Sol API through APIMart

  • 20% below official pricing

    GPT-6 Sol API pricing is billed by token usage. Gold to Diamond member prices are 20%–28% below OpenAI's official prices, and cached input costs just $0.16 per 1M tokens.

    See membership prices
  • One API key for 500+ models

    GPT-6 Sol, the rest of its family and 500+ models from GPT, Claude, Gemini and more share one API key and one account balance. Switching models is just a change to the model parameter.

  • Change two lines of existing code

    If you already use the OpenAI SDK, point base_url at https://api.apimart.ai/v1 and swap in your APIMart API key. Requests and responses keep the same format.

  • Try it online before you code

    Try GPT-6 Sol with your own material in the Playground, no code or setup needed, and integrate once you like the results.

    Open Playground

Which OpenAI model should you choose?

Base prices per 1M tokens (USD). Your GPT-6 Sol API key works for every model in the table; just change the model parameter.

Differences between OpenAI models
ComparisonGPT-6 Sol CurrentGPT-6 LunaGPT-6.1 SolGPT-6.1 TerraGPT-6.2 AstraGPT-6.2 Sol
Best forComplex coding, Agentic workflows, Testing and debuggingStructured summaries, Classification, Data extractionComplex coding, Professional documents, Business workflowsVisual reasoning, Drawings and screenshots, WritingComplex coding, Long-document analysis, Professional researchEveryday coding, Agentic tasks, Writing
Knowledge cutoffApril 20, 2026May 18, 2026April 30, 2026June 1, 2026May 18, 2026June 1, 2026
Input price$1.6$0.08$1.6$0.8$6.4$1.6
Output price$8$0.4$8$4$32$8

GPT-6 Sol FAQ

Should I use GPT-6 Sol, GPT-6.1 Sol or GPT-6.2 Sol?

Start new projects on GPT-6.2 Sol, the newest of the three; all three share the same standard input and output prices. GPT-6 Sol is the earliest (released September 22, 2026), and its official cached input price is 10% of the input price, versus 5% for the two later models. Two reasons to stay on GPT-6 Sol: your workload is already validated on it, or you need the none reasoning effort, which neither GPT-6.1 Sol nor GPT-6.2 Sol supports. On APIMart all three share one endpoint and API key, so you only change the model parameter.

Is the context window 1,050,000 or 922,000 tokens?

OpenAI lists a total context window of 1,050,000 tokens, of which up to 922,000 tokens are input and up to 128,000 tokens are output. This page lists max input and max output separately so you can size the material in your request and the expected reply independently.

How is input above 272K tokens billed?

Under OpenAI’s pricing rules, when a single request has more than 272,000 input tokens, the whole request is billed at long-context rates: input and cache prices double, and output is 1.5x the base price. The pricing table on this page shows the base tier; long-context prices are on the pricing page.

Does GPT-6 Sol support function calling in Chat Completions?

Only with reasoning_effort set to none. According to OpenAI’s docs, GPT-6 Sol supports function calling in Chat Completions only at the none reasoning effort; to reason while calling tools, or to use built-in tools, use the Responses API.

What should I check when moving from gpt-5.1 or gpt-5.3-codex?

Set model to gpt-6-sol and rerun your own prompts and coding tasks. OpenAI’s deprecations page lists gpt-6-sol as the recommended replacement for gpt-5.1 and gpt-5.3-codex, which shut down on April 1, 2027. If you later move up to GPT-6.1 Sol, OpenAI’s migration guide says to change requests that use the none reasoning effort to low.

How can I try this model online?

Click Start chatting or Open Playground to visit the existing APIMart Playground. Select GPT-6 Sol in the text category to start exploring.

Which model ID does the GPT-6 Sol API use?

Set model to gpt-6-sol. Copy the exact ID from the page heading or the integration details panel.

Is it compatible with the OpenAI SDK?

You can keep the OpenAI SDK. Set base_url to https://api.apimart.ai/v1, provide your APIMart API key, and use the model ID on this page.

What is the context window of GPT-6 Sol?

On APIMart, GPT-6 Sol accepts up to 922,000 input tokens per request. Your prompt, earlier messages, and file content all count toward it.

How many tokens can it output at once?

GPT-6 Sol can output up to 128,000 tokens in a single reply. Use the max_tokens parameter to set a lower limit.

How much does the GPT-6 Sol API cost?

The GPT-6 Sol API on APIMart is billed by token, and prices depend on your membership tier. Gold: $1.6 per million input tokens and $8 per million output tokens. Diamond: $1.44 per million input tokens and $7.2 per million output tokens. Prices may change; the pricing page has the current rates.

Does it support streaming?

Yes. The general chat endpoint streams over SSE by default. Set stream to false to receive the complete response at once.

How do I get an API key?

Sign in to APIMart and create a key on the API Keys page, then send it in the Authorization: Bearer header. The same key also works for other models on the platform.