GPT-6 Sol

Models

Model details

Model
gpt-6-sol
Provider
opencode
API
openai-responses
Base URL
https://opencode.ai/zen/v1
Input
text, image
Reasoning
Yes
Context window
1,050,000
Max tokens
128,000
Show configuration
{
  "providers": {
    "opencode": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "gpt-6-sol",
          "name": "GPT-6 Sol",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "thinkingLevelMap": {
            "off": "none",
            "minimal": null,
            "low": "low",
            "medium": "medium",
            "high": "high",
            "xhigh": "xhigh",
            "max": "max"
          },
          "contextWindow": 1050000,
          "maxTokens": 128000,
          "cost": {
            "input": 2,
            "output": 10,
            "cacheRead": 0.2,
            "cacheWrite": 2.5
          },
          "compat": {
            "sessionAffinityFormat": "openai-nosession",
            "supportsOpenAIGrammarTools": true,
            "supportsMidConvoSystemMessages": true,
            "supportsAdditionalTools": true
          }
        }
      ],
      "api": "openai-responses",
      "baseUrl": "https://opencode.ai/zen/v1"
    }
  }
}

Pricing

USD per million tokens. A tier is selected from the total input tokens in each request and applies to that entire request.

Pricing rates for GPT-6 Sol
Request inputInputOutputCache readCache write
All requests$2$10$0.2$2.5

Session cost calculator

Estimate the requests made during an agent session. A user turn can make several model calls while using tools, so costs are calculated per model request.

Session shape
Rounded median shapes from recent Pi agent sessions.
Warm-request cache reuse
Effective token reuse combines partial hits and occasional complete misses.
Estimated session$0.00
Uncached input
—
Cache reads
—
Uncached prefixes
—
Cache writes
—
Output
—
Without caching
—

The first request starts cold unless marked otherwise. Output is billed separately from context growth because reasoning tokens are not always retained. This remains a directional estimate: providers differ in eligibility, rounding, and retention.

Compatibility flags

Effective values after applying Pi's API defaults and model overrides.

Effective compatibility flags for GPT-6 Sol
FeatureValue
supportsDeveloperRoleYes
sendSessionIdHeaderYes
supportsLongCacheRetentionYes
sessionAffinityFormatopenai-nosession
supportsOpenAIGrammarToolsYes
supportsMidConvoSystemMessagesYes
supportsAdditionalToolsYes