AI Engineer Guide

How to use DeepSeek LLM in Claude Code

DeepSeek, via their platform, now has support for an Anthropic-like API format which means you can now use it with your Claude Code 🔥

How to get started?

Just set these environment variables, and then you can start using DeepSeek in Claude Code.

export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
export ANTHROPIC_AUTH_TOKEN=${YOUR_API_KEY}
export ANTHROPIC_MODEL=deepseek-chat
export ANTHROPIC_SMALL_FAST_MODEL=deepseek-chat
claude

Make sure to configure your DeepSeek API key that you get from their platform.

Reference

Happy AI coding!

#Deepseek #Claude-Code

Stay Updated

Get the latest AI engineering insights delivered to your inbox.

No spam. Unsubscribe at any time.