DEV Community

Tadly
Tadly

Posted on Originally published at tadly.dev

Run Claude Code, Codex or OpenCode on qwen3.5 through an OpenAI-compatible API

Coding agents and CI jobs burn through tokens, and frontier-model plans get expensive fast. Most of that work doesn't need a frontier model: it needs a model that follows instructions, calls tools reliably and doesn't cost much per run.

Tadly is an OpenAI- and Anthropic-compatible API for the open model qwen3.5 (128K context, tool calling). You keep your agent and change only the model behind it. Here's the setup for the three agents I use.

First, create an API key at https://tadly.dev/dashboard/api-keys and export it:

export TADLY_API_KEY=<your key>
Enter fullscreen mode Exit fullscreen mode

Claude Code

Add this to ~/.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
Enter fullscreen mode Exit fullscreen mode

Then run claude in your project.

Codex

In ~/.codex/config.toml:

model = "qwen3.5"
model_provider = "tadly"

[model_providers.tadly]
name = "Tadly"
base_url = "https://api.tadly.dev/v1"
env_key = "TADLY_API_KEY"
wire_api = "responses"
Enter fullscreen mode Exit fullscreen mode

Then run codex.

OpenCode

Save as opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "tadly": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Tadly",
      "options": {
        "baseURL": "https://api.tadly.dev/v1",
        "apiKey": "{env:TADLY_API_KEY}"
      },
      "models": { "qwen3.5": {} }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Then run opencode -m tadly/qwen3.5.

Paying for it

You buy a one-time 30-day plan or pay per token from a prepaid wallet. Nothing auto-renews. In India, plans are charged in rupees and can be paid by UPI. Current prices: https://tadly.dev/pricing

Honest limits

This is not a frontier model and won't match one on the hardest tasks. It's meant for the large volume of agent loops, CI jobs and scripted calls where "good enough" is the right trade for a much lower cost. If tool calling or a long session breaks for you, I want to hear about it: https://tadly.dev/docs/errors lists the error codes.

Top comments (0)