GPT-6.1 Sol vs GPT-6.1 Terra: API price and setup
This page compares the exact API IDs `gpt-6.1-sol` and `gpt-6.1-terra`. Both share a Codex setup on Responses. Prices come from the live catalog.
Short answer
For 1M input plus 1M output tokens, GPT-6.1 Terra is the lower-priced row: GPT-6.1 Sol costs $0.20 for input plus $1.00 for output on Code By AI, versus GPT-6.1 Terra at $0.10 plus $0.50. Official list rates are $2.00 input / $10.00 output and $1.00 input / $5.00 output per 1M tokens.
Token and monthly figures are arithmetic from the current catalog, not a forecast or a measured benchmark. The monthly example excludes cache writes, tools and actual usage differences.
Token prices on the same basis
All values are USD per 1M tokens. Code By AI prices already include the published multiplier. Vendor list prices are shown only when verified. The 5-minute and 1-hour cache writes apply only to Claude and use each platform’s own input rate.
| Model | Metric | Code By AI | Official list | OpenRouter |
|---|---|---|---|---|
| GPT-6.1 Solgpt-6.1-sol | Input | $0.20 | $2.00 | $2.00 |
| Cache read | $0.01 | $0.10 | $0.10 | |
| Cache write (5 min) | Not applicable | Not applicable | Not applicable | |
| Cache write (1 hour) | Not applicable | Not applicable | Not applicable | |
| Output | $1.00 | $10.00 | $10.00 | |
| GPT-6.1 Terragpt-6.1-terra | Input | $0.10 | $1.00 | $1.00 |
| Cache read | $0.005 | $0.05 | $0.05 | |
| Cache write (5 min) | Not applicable | Not applicable | Not applicable | |
| Cache write (1 hour) | Not applicable | Not applicable | Not applicable | |
| Output | $0.50 | $5.00 | $5.00 |
OpenRouter standard endpoint (verified): openai/gpt-6.1-sol · openai · openai/gpt-6.1-sol-20260929 ·
OpenRouter standard endpoint (verified): openai/gpt-6.1-terra · openai · openai/gpt-6.1-terra-20261026 ·
OpenRouter cells show a number only when the exact provider model ID and rate basis were checked against this catalog row. Cells marked Not verified have no such evidence. Credit-purchase fees and other OpenRouter plans are separate and are never added to the per-token prices here. OpenRouter pricing and FAQ · FAQ
OpenRouter: OpenAI provider, 1,050,000-token context. Verified base rates apply below 272,000 input tokens per request and matched the catalog vendor fields; they are recorded here. Above that threshold OpenRouter lists higher rates. Batch, Priority and regional endpoints are excluded. /pricing
Monthly arithmetic example
At 20M input and 2M output tokens per month, priced at catalog rates:
| Model | Official list / month | Code By AI / month |
|---|---|---|
| GPT-6.1 Solgpt-6.1-sol | $60.00 | $6.00 |
| GPT-6.1 Terragpt-6.1-terra | $30.00 | $3.00 |
Which choice fits which work?
Rows restate catalog arithmetic and official guidance. They are not Code By AI benchmarks or measured speed and quality results.
| Kind of work | Starting point | Basis |
|---|---|---|
| Work already configured for Codex | OpenAI Responses | On Responses, change only `model`. When switching between these models, keep Chat Completions only for requests without tools; tool calling with GPT-6.1 Terra requires Responses. |
| Input-heavy requests: long prompts, large context, repeated instructions | GPT-6.1 Terra | Input rate: GPT-6.1 Sol $0.20 vs GPT-6.1 Terra $0.10 per 1M tokens. |
| Output-heavy requests: long code or document generation | GPT-6.1 Terra | Output rate: GPT-6.1 Sol $1.00 vs GPT-6.1 Terra $0.50 per 1M tokens. |
| Cache-read-heavy requests: repeated prefixes and reused context | GPT-6.1 Terra | Cache read rate: GPT-6.1 Sol $0.01 vs GPT-6.1 Terra $0.005 per 1M tokens. |
How the integration differs
These are wire-level settings readers must configure, not capability claims.
| Model IDs | gpt-6.1-sol / gpt-6.1-terra |
|---|---|
| Codex setup | Codex setup guide · model: gpt-6.1-sol · https://www.codebyai.net/api/agent |
| Protocol | Codex: OpenAI Responses |
| Key and balance | Both use the same base URL, auth variable and prepaid balance. |
| What changes | On Responses, change only `model`. When switching between these models, keep Chat Completions only for requests without tools; tool calling with GPT-6.1 Terra requires Responses. |
| Billing | Both debit the same prepaid wallet at the per-1M-token rates above. Code By AI does not charge the official list price. |
FAQ
- Which model is cheaper on Code By AI?
- For 1M input plus 1M output tokens, GPT-6.1 Terra is the lower-priced row: GPT-6.1 Sol costs $0.20 for input plus $1.00 for output on Code By AI, versus GPT-6.1 Terra at $0.10 plus $0.50. Official list rates are $2.00 input / $10.00 output and $1.00 input / $5.00 output per 1M tokens.
- Are these the exact API model IDs?
- Yes. Use `gpt-6.1-sol` and `gpt-6.1-terra` exactly. The page does not derive IDs by splitting the slug.
- Do both models use the same key and endpoint?
- Both use the same base URL, auth variable and prepaid balance. On Responses, change only `model`. When switching between these models, keep Chat Completions only for requests without tools; tool calling with GPT-6.1 Terra requires Responses.
- How are the OpenRouter prices obtained?
- The OpenRouter cells show recorded base rates that matched the catalog vendor fields when checked. The dates are listed with the sources below the table. OpenRouter cells show a number only when the exact provider model ID and rate basis were checked against this catalog row. Cells marked Not verified have no such evidence. Credit-purchase fees and other OpenRouter plans are separate and are never added to the per-token prices here.
- Does this page measure quality or speed?
- No. The scenarios describe client protocols and token mix, not measured quality, speed or SLA results.
Next step
Create a Code By AI account, top up the prepaid wallet and create an API key. Then call the model with the ID and endpoint above.
Code By AI is a third-party prepaid API gateway. It is not an official vendor product.