Skip to main content

Setup guide

Use Claude Code with open models

Updated

To run Claude Code on open-weight models, point it at https://api.tadly.dev with a Tadly API key and choose Qwen-3.5 as the model.

How do I set up Claude Code?

  1. Create a key in the dashboard and run export TADLY_API_KEY=<your key>.
  2. Install: npm i -g @anthropic-ai/claude-code
  3. Paste the block: into your shell profile
  4. Run: claude
~/.zshrc
# Tadly for Claude Code
export ANTHROPIC_BASE_URL=https://api.tadly.dev
export ANTHROPIC_AUTH_TOKEN=$TADLY_API_KEY
export ANTHROPIC_MODEL=qwen3.5

# then, in your project
claude

Which model should Claude Code use?

Chat models on Tadly
Row labelModel idContextPay-per-use rate
Qwen-3.5qwen3.5128K tokens$0.15 / 1M tokens

Agents read and resend your code, so a long session can reach the context limit. Start with Qwen-3.5, then check it on a real task in your own repository.

What does Claude Code cost on Tadly?

You keep using Claude Code as it is and pay Tadly for the model. Buy a one-time 30-day plan, or pay per request from a prepaid wallet. See pricing.

Plan prices You are charged in rupees in India and US dollars elsewhere.
Row labelPricePeriodUsage
StarterFor side projects$1 or ₹9930 daysBase usage
ProFor daily coding$11 or ₹99930 days5× base usage
UltraFor heavy agents$102 or ₹8,99930 days100× base usage

Why did my first request return a 503?

A model that has been idle needs time to start. Until it is ready, the API answers 503 with the code model_warming. Starting can take several minutes, so retry until it answers. Every status is listed in the API errors reference.

Common questions

Do I have to change how I use Claude Code?

No. You keep using Claude Code as it is and pay Tadly for the model. Only its endpoint, its key and the model it calls change.

Which model should I use with Claude Code?

Start with Qwen-3.5, then check it on a real task in your own repository. Agents read and resend your code, so compare context windows if your sessions run long.

How do I pay for Claude Code on Tadly?

Buy a one-time 30-day plan, or pay per request from a prepaid US-dollar wallet. In India, plans are charged in rupees and can be paid by UPI.

Does a Tadly plan renew automatically?

No. A plan is a one-time payment for 30 days. No card is stored for later charges, so nothing renews and there is nothing to cancel.