Claude Opus 5.5 vs GPT-6.1 Sol: API price and setup

This page compares the exact API IDs `claude-opus-5-5` and `gpt-6.1-sol`, not names inferred from the URL. The native clients are Claude Code for Claude Opus 5.5 (Anthropic) and Codex for GPT-6.1 Sol (OpenAI). Both share a Code By AI key and balance. Prices come from the live catalog.

Short answer

For 1M input plus 1M output tokens, GPT-6.1 Sol is the lower-priced row: Claude Opus 5.5 costs $1.00 for input plus $5.00 for output on Code By AI, versus GPT-6.1 Sol at $0.20 plus $1.00. Official list rates are $4.00 input / $20.00 output and $2.00 input / $10.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.

ModelMetricCode By AIOfficial listOpenRouter
Claude Opus 5.5claude-opus-5-5Input$1.00$4.00$4.00
Cache read$0.05$0.20$0.20
Cache write (5 min)$1.25$5.00$5.00
Cache write (1 hour)$2.00$8.00$8.00
Output$5.00$20.00$20.00
GPT-6.1 Solgpt-6.1-solInput$0.20$2.00$2.00
Cache read$0.01$0.10$0.10
Cache write (5 min)Not applicableNot applicableNot applicable
Cache write (1 hour)Not applicableNot applicableNot applicable
Output$1.00$10.00$10.00

OpenRouter standard endpoint (verified): anthropic/claude-opus-5.5 · anthropic · anthropic/claude-opus-5.5-20260921 ·

OpenRouter standard endpoint (verified): openai/gpt-6.1-sol · openai · openai/gpt-6.1-sol-20260929 ·

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: Anthropic provider, Standard variant, 1M-token context, regular synchronous API. Verified base input, output and cache-read rates matched the catalog vendor fields and are recorded here. Fast, Batch, regional endpoints and credit fees are excluded. 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:

ModelOfficial list / monthCode By AI / month
Claude Opus 5.5claude-opus-5-5$120.00$30.00
GPT-6.1 Solgpt-6.1-sol$60.00$6.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 workStarting pointBasis
Work that runs in Claude CodeClaude Opus 5.5This is the native client for Anthropic models on this gateway.
Work that runs in CodexGPT-6.1 SolThis is the native client for OpenAI models on this gateway.
Input-heavy requests: long prompts, large context, repeated instructionsGPT-6.1 SolInput rate: Claude Opus 5.5 $1.00 vs GPT-6.1 Sol $0.20 per 1M tokens.
Output-heavy requests: long code or document generationGPT-6.1 SolOutput rate: Claude Opus 5.5 $5.00 vs GPT-6.1 Sol $1.00 per 1M tokens.
Cache-read-heavy requests: repeated prefixes and reused contextGPT-6.1 SolCache read rate: Claude Opus 5.5 $0.05 vs GPT-6.1 Sol $0.01 per 1M tokens.

How the integration differs

These are wire-level settings readers must configure, not capability claims.

Model IDsclaude-opus-5-5 / gpt-6.1-sol
Claude Code setupANTHROPIC_BASE_URL=https://www.codebyai.net/api/agent · ANTHROPIC_AUTH_TOKEN=<key> · model: claude-opus-5-5
Codex setupCodex setup guide · model: gpt-6.1-sol · https://www.codebyai.net/api/agent
ProtocolClaude Code: Anthropic Messages · Codex: OpenAI Responses
Key and balanceBoth use the same Code By AI key and prepaid balance. Configure each native client separately.
What changesSwitching between native Claude Code (Anthropic Messages) and Codex (Responses) changes the client settings. With the same OpenAI Responses or Chat Completions endpoint and Code By AI key, change only `model` to switch between Claude and GPT.
BillingBoth 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 Sol is the lower-priced row: Claude Opus 5.5 costs $1.00 for input plus $5.00 for output on Code By AI, versus GPT-6.1 Sol at $0.20 plus $1.00. Official list rates are $4.00 input / $20.00 output and $2.00 input / $10.00 output per 1M tokens.
Are these the exact API model IDs?
Yes. Use `claude-opus-5-5` and `gpt-6.1-sol` exactly. The page does not derive IDs by splitting the slug.
Do both models use the same client setup?
Switching between native Claude Code (Anthropic Messages) and Codex (Responses) changes the client settings. With the same OpenAI Responses or Chat Completions endpoint and Code By AI key, change only `model` to switch between Claude and GPT.
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.