Ask DeepSeek from inside Claude Code, Cursor or Codex
chat sends a task to any DeepSeek id and compare puts DeepSeek next to other models on the same question, each answer with its cost. A cheap model for the bulk work and a frontier one for the hard part, chosen per step, from one client and one key.
Add the server to your client
The server is https://api.relayswitch.io/mcp, Streamable HTTP, with your key sent as a Bearer header. Keys start sk-relay-.
Claude Code
claude mcp add --transport http relayswitch https://api.relayswitch.io/mcp \ --header "Authorization: Bearer $RELAYSWITCH_KEY"Then /mcp in Claude Code lists the server and its tools.
Cursor
// .cursor/mcp.json (this project) or ~/.cursor/mcp.json (every project){ "mcpServers": { "relayswitch": { "url": "https://api.relayswitch.io/mcp", "headers": { "Authorization": "Bearer ${env:RELAYSWITCH_KEY}" } } }}Check it from a terminal
curl https://api.relayswitch.io/mcp \ -H "Authorization: Bearer $RELAYSWITCH_KEY" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'What the client can call
The tools this page is about. The server lists 15 in all; the rest are on the MCP server page.
| Tool | What it does | Key |
|---|---|---|
chat | A conversation to any chat model, with a system prompt, images for the models that see them, and web search. | Bearer |
compare | The same question to 2 to 5 models at once: every answer side by side with its cost and time. | Bearer |
estimate | What a chat request costs on every model before it is sent. | none |
list_models | Every chat, embedding, rerank and transcription model with its type, the tool that runs it and its price. | none |
What each call costs, read live
From the catalog at render. The developer’s list price is shown where the catalog has it.
| Model | Input / M | Output / M | List input / M | List output / M |
|---|---|---|---|---|
| DeepSeek V4 Pro 0423deepseek-v4-pro | $0.792 | $2.376 | $1.32 | $3.96 |
| DeepSeek R1deepseek-r1 | $2.00 | $8.7202 | — | — |
| DeepSeek V3.1deepseek-v3.1 | $1.08 | $4.0001 | — | — |
USD per million tokens. compare bills each model it asks at its own rate.
What to ask once it is connected
Plain requests; the client picks the tool.
- Use chat with deepseek-v4-flash to write unit tests for every function in this file.
- Compare deepseek-v4-pro and gemini-3.1-pro-preview on this algorithm question and show both answers.
- Estimate the cost of sending this 60,000-token file to every DeepSeek model.
DeepSeek MCP: questions
Setup, models and billing.
Every model as a tool in your AI
From $10 by card or in USDT, USDC, BTC, ETH, SOL. Prepaid, no subscription, no KYC.