Skip to main content
idapt
AccueilModèles IATarifs
Sign inStart free

Claude Code with idapt

Route Claude Code's inference through idapt: one environment variable, per-key spend caps included.

Last reviewed 2026-07-17

Point it at idapt

bash
export ANTHROPIC_BASE_URL="https://idapt.app/api/anthropic/v1"
export ANTHROPIC_API_KEY="$IDAPT_API_KEY"
claude

Claude Code reads both variables at startup; unset them to switch back.

Going further

bash
# Optional: give Claude Code your idapt workspace over MCP
claude mcp add --transport http idapt https://idapt.app/api/mcp \
  --header "Authorization: Bearer $IDAPT_API_KEY"

Inference routing and workspace access are independent; use either or both.

Pitfalls

Spend caps make agent keys safe

Mint a dedicated key with a lifetime, monthly, or daily USD cap before handing it to an agent. The cap is enforced on every metered endpoint.

References

  • Connect Claude Code over MCP
  • Per-key spend caps
  • Anthropic-compatible API reference

More quickstarts

Anthropic SDKAiderCline
  • Accueil
  • Tarifs
  • Modèles IA
  • Modèles d'image
  • Modèles de voix
  • Modèles vidéo
  • Classements
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Secrets
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • Code Execution
  • Computers
  • Computer Use
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • Blog
  • Cas d'usage
  • Comparisons
  • Best of
  • Learn
  • Free tools
  • Prompts
  • Templates
  • Changelog
  • Centre d'aide
  • FAQ
  • Confidentialité
  • Comparer tous les modèles
  • Support
  • Développeurs
  • Quickstarts
  • Référence API
  • Tarifs API
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]ConditionsPolitique de confidentialitéMentions légalesSignaler un contenu
X (Twitter)