The Claude API is a family of models behind one request shape. A team might use Sonnet for coding, Opus for long-running agent work, Haiku for classification and batch processing for offline analysis. Replacing it means replacing a model mix and an integration, not just a base URL.
This guide compares five real replacements with the incumbent, and separates first-party model providers from a marketplace and an aggregator, because those choices solve different problems. Prices are published list rates checked on 23 November 2026, per million tokens unless stated. Where a provider does not publish a rate, the table says so rather than guessing.
| Provider | Best for | Pricing model | Deployment | Notable limit |
|---|---|---|---|---|
| Anthropic | Claude-specific behaviour and safety work | Per token; batch 50% off; US-only inference 1.1x | Anthropic API | Fast mode and US-only inference carry premiums |
| OpenAI | A second frontier model family | gpt-6.2-sol $2/$10; gpt-6.2-astra $8/$40; batch half | OpenAI API | Different API shape; no Claude-specific features |
| Google Gemini API | Long decode and multimodal input | Gemini 4 Carbon $2/$10 to 30 Nov 2026, then $4/$20 | Google AI Studio and Gemini API | Price steps up on 1 December 2026 |
| AWS Bedrock | Keeping procurement inside AWS | Per token, model and region dependent | AWS managed service | Exact rate depends on region and model |
| OpenRouter | Many models behind one key, with fallback | Provider list price plus 5.5% or 8% on credit purchases | Hosted | Zero Data Retention routing is available |
| Plugsky | Flat bill and private deployment | $20 / $60 / $120 monthly; enterprise quote | Public API, private VPC, on-premises, air-gapped | 39 model IDs, fewer than the largest aggregators |
Why teams leave the Claude API
Cost is the usual trigger. At list, Fable 5.2 costs $8 per million input tokens and $40 per million output tokens; Sonnet 5.5 costs $2 and $10. An agent that rereads a large repository on every turn pays for that context again and again, and output tokens carry the higher rate. Prompt caching cuts repeated input to $0.20 per million on Fable 5.2 and $0.10 on Sonnet 5.5, but only when the prefix repeats exactly.
The second trigger is concentration. One provider means one rate-limit pool, one deprecation calendar and one contract to renegotiate. A second provider is insurance even if it carries only a tenth of traffic.
The third is the deployment boundary. A hosted API can fail a security review when prompts contain regulated data, and that pushes some buyers toward a private VPC, on-premises or air-gapped deployment. Anthropic's public pricing page lists token rates for its API but not a self-serve price for an isolated deployment. That is why private platforms appear in these shortlists.
- Batch work: Anthropic discounts batch processing by 50%, so an offline job may need no new vendor at all.
- Cache-heavy prompts: compare cache read and write rates, not just the headline input rate.
- Claude-specific behaviour: tool use, long-horizon agents and safety tuning are why many teams stay.
- Deployment: if data cannot leave your network, settle that requirement before comparing models.
How to compare the shortlist
Start with the API shape. Anthropic's Messages API sends a list of role and content messages, takes the system prompt as a top-level parameter and requires max_tokens. OpenAI-compatible endpoints generally accept a messages array with a system role. A gateway can translate between them, but that translation is code you own and a place for tool-call schemas to break.
Then compare the same workload. Replay 30 days of real prompts against each candidate and count completed tasks rather than tokens, including retries and failed tool calls. A lower token rate does not help if the model needs a second attempt on every third request.
Finally, price the date you will actually run. Gemini 4 Carbon is listed at $2 input and $10 output through 30 November 2026, then $4 and $20 from 1 December 2026. A 2027 budget built on the current rate is wrong by half. That kind of scheduled change is a good reason to keep a second provider warm rather than switching everything at once.
- Map models by task tier, not by name: high-end for planning, small models for extraction.
- Test tool calls and structured output, not just chat completions.
- Confirm that batch pricing applies to your job type and region.
- Read the retention terms for the endpoint you will actually call.
When the incumbent wins
Anthropic wins when Claude is materially better on your evaluation set. That is not a loyalty argument; it is the only argument that survives a cost review. It also wins when you depend on Claude-specific behaviour such as prompt caching, batch processing, managed agents or the Messages API's content-block model, and when porting those costs more engineering time than the switch saves.
When a competitor wins, it is usually on one axis. Gemini wins on long-context and multimodal work if the December price still fits. OpenAI wins when you want a second frontier family and a broad first-party tool surface. Bedrock wins when procurement, billing and networking already live in AWS and one cloud contract is worth more than a marginally lower rate. OpenRouter wins when the requirement is many models through one key with automatic fallback. Plugsky wins when the buyer wants a predictable monthly bill and a deployment boundary that can move from shared API to private VPC or air-gapped.
Bedrock also keeps Claude models available, which makes it a contract change rather than a model change. That can be the lowest-risk move of the five, provided the region you need carries the model you use.
Migration notes
Port the request builder first. Anthropic requires max_tokens, takes system outside the messages array and represents tool use as typed content blocks. An OpenAI-compatible endpoint expects a different tool schema. Write an adapter with tests for text, images, tool calls and stop reasons before moving production traffic.
Second, map the model mix. Replace Fable 5.2 with a comparable high-end model only where the task needs it, and route classification and extraction to a cheaper tier. The gap between Haiku 5.5 at $0.10/$0.50 and Fable 5.2 at $8/$40 is wide enough that routing usually saves more than vendor negotiation.
Third, decide how you will handle cache and batch. Anthropic prices cache writes at $10 per million tokens on Fable 5.2 and $2.50 on Sonnet 5.5. A provider that folds caching into its input rate may still be slower on repeated context, or may not offer the same TTL. Test batch jobs against the replacement's asynchronous API and check how partial failures are reported.
Finally, keep the old key alive for a rollback window. Run both providers on a sample, compare error rates and cost per completed task, then move traffic in percentages. Cancelling the Anthropic account is the last step, not the first.
Verdict
Anthropic remains the default if Claude wins your evals and the bill is a small share of revenue. For a second frontier family, choose OpenAI. For long-context and multimodal work, test Gemini before the 1 December price change. To keep spend inside AWS, use Bedrock. For many models behind one key, use OpenRouter. For a flat bill and a private boundary, use Plugsky.
The decision rule is to switch for a specific constraint, not for a headline token price. If the constraint is cost, route tasks to cheaper tiers and use batch before changing vendors.
Frequently asked questions
Is the Claude API compatible with the OpenAI SDK?
Not directly. Anthropic's Messages API uses a top-level system prompt, requires max_tokens and represents content as typed blocks. Some gateways translate between the two shapes, but tool calls and stop reasons need testing.
How much does Anthropic charge for batch processing?
Anthropic lists batch processing at 50% of standard token rates. On Fable 5.2 that takes input from $8 to $4 and output from $40 to $20 per million tokens.
Which alternative is cheapest?
There is no single cheapest option because the model mix decides. Haiku 5.5 is $0.10 input and $0.50 output per million tokens for prompts up to 100K tokens, while Gemini 4 Carbon is $2/$10 until 30 November 2026 and $4/$20 afterwards. Compare cost per completed task on your own prompts.
Can I keep Claude models but change vendor?
Yes, through a marketplace such as AWS Bedrock, which lists Anthropic among its model providers. Check that the model and region you need are available before assuming price and latency carry over.
What should I migrate first?
Offline batch jobs and classification are the safest first workloads. Agent loops with tool calls should move last, because they combine model quality, API shape and retry behaviour in one path.
Related
- Plugsky model catalogue
- Plugsky pricing
- Private VPC deployment
- OpenAI GPT alternatives
- AI gateway buyer's guide
Sources
- Anthropic plans and pricing · 23 Nov 2026
- OpenAI API pricing · 23 Nov 2026
- Gemini Developer API pricing · 23 Nov 2026
- OpenRouter pricing · 23 Nov 2026
- AWS Bedrock pricing · 23 Nov 2026
- Anthropic Messages API reference · 23 Nov 2026