Skip to main content
idapt
AccueilModèles IAExploreResourcesTarifs
Sign inUse for Free
HomeMigrateAnthropic API

Migrate from the Anthropic API

Messages-API compatible. Point the Anthropic SDK (or Claude Code) at idapt with one base URL.

How to migrate

  1. 1

    Create an idapt API key

    Settings → Gateway → API keys. Scoped keys with optional USD spend caps.

    Create an API key
  2. 2

    Point the SDK (or Claude Code) at idapt

    Set the base URL to https://idapt.app/api/anthropic/v1 and use your uk_ key as the API key. Claude Code needs just the two env vars.

  3. 3

    Route your way

    Requests route to Claude models via the cheapest live path (Anthropic-native or aggregated). Add your own Anthropic key to pin billing to your account.

Change the base URL

- https://api.anthropic.com
+ https://idapt.app/api/anthropic/v1

Claude Code: export ANTHROPIC_BASE_URL=https://idapt.app/api/anthropic/v1 and ANTHROPIC_API_KEY=<your uk_ key>.

What is supported

Anthropic APIIn idaptHow
POST /v1/messages (stream, tools, system)Identical Messages endpointTool_use/tool_calls and SSE shapes translate 1:1.Automatic
GET /v1/modelsModel list + detailAutomatic
Claude CodeWorks via ANTHROPIC_BASE_URL; billing runs through your idapt included usage or credit balanceAutomatic
Batches / Files / Admin APIsNot on the compat surfaceNo equivalent

Also yours to keep: Local AI runs open models on hardware you own, free, beside the 200+ cloud models in the same chat.

FAQ

Help Center: Migrate from the Anthropic APIImport your claude.ai historyDeveloper hub
Create an API key
  • Accueil
  • Tarifs
  • Modèles IA
  • Skills
  • Modèles d'image
  • Modèles de voix
  • Modèles vidéo
  • Classements
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • Blog
  • About
  • Comparisons
  • Benchmarks
  • Model Match
  • Demos
  • Centre d'aide
  • FAQ
  • Confidentialité
  • Support
  • Développeurs
  • Quickstarts
  • Référence API
  • Tarifs API
  • CLI
  • MCP
  • Migrate
  • Downloads
  • Desktop
© idapt[email protected]ConditionsPolitique de confidentialitéMentions légalesSignaler un contenu
X (Twitter)Discord