Skip to main content
POST
GPT-6 Sol
gpt-6-sol is available through SnapGen’s OpenAI-compatible text endpoints. It is a GPT-6 tier for coding and general-purpose agent workloads. Use the exact model ID with your SnapGen API key.

Pricing and protocols

Billing uses reported input, output, and cached-input tokens. Reasoning tokens bill as output. Check the live model page for current rates, including long-context pricing.
string
required
Set to gpt-6-sol.
array
required
Ordered messages for Chat Completions. Use input for Responses instead.
integer
Caps generated tokens, including reasoning, for Chat Completions. max_tokens is a compatibility alias; max_completion_tokens wins if both are sent. Responses uses max_output_tokens instead.
string
Sets reasoning effort for Chat Completions, for example medium. Responses uses reasoning: { "effort": "medium" } instead. Supported levels vary by model.

Chat Completions request

Read generated text from choices[0].message.content. Set stream: true to receive SSE chunks; add stream_options: { "include_usage": true } to request streamed usage. See Chat Completions for function tools and response fields.

Responses request

Read output[].content[] items whose type is output_text, or use the SDK output_text helper. See Responses for streaming and tool calls.
SnapGen forwards each protocol to routes that serve it natively. Use GET /v1/models to confirm availability for your key. The unsuffixed IDs gpt-6 and gpt-6.1 are not substitutes for these tier IDs.