GPT-6.2 Sol API pricing and access
Run GPT-6.2 Sol (model ID gpt-6.2-sol) through Code By AI for $0.20 per 1M input tokens and $1.00 per 1M output tokens, with no monthly subscription.
What GPT-6.2 Sol is for
Use this model through Codex to explain a repository, investigate bugs and draft code changes and tests. Review generated changes before applying them.
Your price
$0.20
per 1M tokens, USD
| Your price | |
|---|---|
| Input | $0.20 |
| Cache read | $0.01 |
| Output | $1.00 |
What gpt-6.2-sol costs in a typical month
On Code By AI, 20M input tokens and 2M output tokens cost $6.00.
How to use gpt-6.2-sol
In config.toml add a [model_providers.codebyai] block with base_url = "https://www.codebyai.net/api/agent", set model_provider = "codebyai", and save your Code By AI key as OPENAI_API_KEY in auth.json, and use the model ID gpt-6.2-sol. The Codex guide walks through the full configuration.
model_provider = "codebyai" model = "gpt-6.2-sol" [model_providers.codebyai] name = "codebyai" base_url = "https://www.codebyai.net/api/agent" wire_api = "responses" requires_openai_auth = true
No key yet? Create one
Claude Code, Codex and Gemini CLI compatibility
A client can call gpt-6.2-sol only when it speaks the endpoint that serves this model. The table shows what works and the minimum configuration.
- Claude CodeNot applicable
Not applicable: the Anthropic Messages endpoint serves Claude models only.
Open the Claude Code guide - CodexAvailable
In ~/.codex/config.toml set model_provider="codebyai", base_url="https://www.codebyai.net/api/agent" and wire_api="responses", then use model gpt-6.2-sol.
Open the Codex guide - Gemini CLINot applicable
Not applicable: the Gemini generateContent endpoint serves the Gemini family only.
Open the Gemini CLI guide
Compare other Codex models
Your price /1M
Similar price on other channels
GPT-6.2 Sol FAQ
Get started
Four steps to your first request
- 01
Create a free account
Sign up with Google, GitHub or email and set a password. No card is required.
- 02
Generate an API key
Create a key in one click from the dashboard. It lets your CLI authenticate with Code By AI.
- 03
Top up your balance
Add credit before your first request; usage is charged per token from your balance.
- 04
Point your CLI at Code By AI
Export one base-URL variable, or add a model provider block to config.toml. The setup guides list the exact lines for each agent.
No card required to sign up · API usage requires a top-up