# DeepSeek speaks Anthropic: switching models is two lines

> DeepSeek's API now takes Anthropic-format calls and bundles search, OCR and voice. Switching providers got trivial. Knowing who flipped the switch did not.

- URL: https://www.iqsource.ai/en/blog/deepseek-api-anthropic-format-model-switching/
- Published: 2026-11-30
- Author: Ricardo Argüello, IQ Source

Here's a line from DeepSeek's documentation that I read three times. Model names starting with `claude-opus` are mapped to `deepseek-v4-pro`.

Sit with what that means for a minute. Your code asks for Claude Opus. Your logs record Claude Opus. And the answer comes from DeepSeek, because somebody set `ANTHROPIC_BASE_URL` to `https://api.deepseek.com/anthropic`.

That mapping is in <a href="https://api-docs.deepseek.com/guides/anthropic_api" target="_blank" rel="noopener noreferrer">DeepSeek's Anthropic API guide</a>. Other names that start with `claude` go to `deepseek-flash`. Names that don't start with `claude` and aren't DeepSeek models get a 400 error. It's a reasonable design for a vendor trying to make migration painless. For a company trying to know where its data goes, it's a gap.

## What shipped on November 13

Guillermo Flor flagged the launch on LinkedIn, and <a href="https://api-docs.deepseek.com/news/news261113" target="_blank" rel="noopener noreferrer">DeepSeek's release note</a> confirms it. The capabilities behind the DeepSeek app are now API features. On `deepseek-flash` (V4.1-Flash) you get web search, search during multi-step reasoning, file input, automatic URL reading and safety checks, across Messages, Responses and Chat Completions. Separately, there are standalone Search, Fetch, OCR, ASR and TTS endpoints.

The <a href="https://api-docs.deepseek.com/quick_start/pricing" target="_blank" rel="noopener noreferrer">price sheet</a> is aggressive. Search and web fetch run US$0.75 per 1,000 calls each. File parsing and OCR, US$0.225 per 1,000 pages. Speech-to-text lists at US$0.116 per hour of audio, half that during a launch discount. The model itself is US$0.30 per million input tokens and US$1.20 per million output at peak, and half price off-peak. Peak hours are 1 to 4 and 6 to 10 in the morning UTC on weekdays, which in Costa Rica means 7 to 10 at night and midnight to 4 in the morning. A team working Central American office hours pays the off-peak rate for the whole workday without trying.

They also open-sourced a <a href="https://github.com/deepseek-ai/chat-demo" target="_blank" rel="noopener noreferrer">complete chat front end</a> that imports your DeepSeek app history. I read a lab handing out the parts to rebuild its own consumer app as a bet that the money is in the API, not the app.

## The cost of switching fell to almost nothing

For years the standard advice was to write provider-independent code so you could leave a model vendor without a rewrite. That advice won. The Anthropic and OpenAI request formats became de facto standards, and DeepSeek speaks both.

DeepSeek's docs also note that tools like Claude Code, GitHub Copilot and OpenCode can run on DeepSeek as the backend with no code changes. So a developer who wants to save tokens can point their coding agent at DeepSeek on a Friday afternoon. With your repository loaded into it.

Nobody has to approve that. There's no pull request, no SDK swap, no review. Two environment variables on one laptop.

## The July risk already landed once

In July I wrote that there was <a href="/en/blog/china-ai-models-regulatory-uncertainty-vendor-risk/">no DeepSeek ban yet, but the mechanism was already drafted</a>. In October it was used. The Department of Homeland Security [ordered civilian federal agencies](https://techcrunch.com/2026/10/20/us-orders-federal-agencies-to-remove-chinas-deepseek-ai-from-their-systems/) to remove DeepSeek products, including third-party services built on its models. That order covers government systems, not private companies. It still shows how this works. Building on a Chinese model is a decision with an expiration date set by a signature in Washington, not by the market.

What's different now is how easy it is to make that decision by accident. DeepSeek even writes down part of the burden. Public-facing apps must enable its safety checks, and developers remain responsible for content moderation, model registration where it applies, and labeling AI-generated content. None of that responsibility travels with an environment variable.

## What actually protects you now

Code abstraction protects you less than it used to, since everyone already abstracted. Three duller things do the work:

1. A written list of approved providers, with the name of whoever approved each entry.
2. Base URLs kept in reviewed configuration. If a model endpoint can change without a review, assume it will.
3. Logs of the provider that actually served each call, captured at the network or gateway level, next to the model name your code requested.

None of this means "don't try DeepSeek." At these prices, testing it on non-sensitive work can be smart, and <a href="/en/blog/agentic-harness-engineering/">most of an agent's value sits in the files and tooling around the model</a>, not in the model itself. Just make it a decision someone signed.

When we run a <a href="/en/services/software-audit/">software audit</a>, one of the first things we trace is where every model call in the system really lands and what data rides along. If you can't say how many of your "Claude" calls are answered by Claude, we can measure it with you.

## Frequently asked questions

### What did DeepSeek add to its API in November 2026?

On November 13, 2026, DeepSeek added its app's capabilities to its API: web search, multi-step search during reasoning, file input, URL reading and safety checks on the V4.1-Flash model. It also launched standalone Search, Fetch, OCR, speech-to-text and text-to-speech APIs billed per use.

### Can you use DeepSeek with the Anthropic SDK?

Yes. DeepSeek's API accepts the Anthropic format at https://api.deepseek.com/anthropic, so the Anthropic SDK works after changing the base URL and API key. DeepSeek's docs say model names starting with claude-opus map to deepseek-v4-pro and other claude names map to deepseek-flash.

### How much do DeepSeek's search and OCR APIs cost?

According to DeepSeek's November 2026 pricing page, web search and web fetch each cost US$0.75 per 1,000 calls, file parsing and OCR cost US$0.225 per 1,000 pages, and text-to-speech lists at US$0.45 per 10,000 characters before a temporary 50% discount.

### How can a company stop its code from sending data to DeepSeek without approval?

A company can stop code from sending data to DeepSeek without approval by keeping a written list of approved AI providers, storing each service's model base URL in reviewed configuration rather than ad hoc environment variables, and logging which provider actually served every model call.
