How to Use Claude Code with Chonway API

To use Claude Code through Chonway API, point ANTHROPIC_BASE_URL at the Chonway API endpoint and set your API Key — three steps to call the full Claude lineup, with no business-code changes.

📝 Placeholder draft, pending polish.

In one line

Point ANTHROPIC_BASE_URL at https://api.wos.one, set ANTHROPIC_API_KEY, and run claude.

Config at a glance

Environment variableValue
ANTHROPIC_BASE_URLhttps://api.wos.one
ANTHROPIC_API_KEYthe key you create in the console

Steps

  1. Sign up free in the console and create an API Key.

  2. Set the environment variables:

    export ANTHROPIC_BASE_URL=https://api.wos.one
    export ANTHROPIC_API_KEY=your-key
  3. Run claude to use the full Claude lineup.

Troubleshooting

  • Connection fails? Make sure the Base URL has no extra path (the Anthropic protocol uses the root, without /v1).
  • 401? Check that the key is correct and not disabled.

Wrap-up

Chonway API is compatible with the official Anthropic protocol — real model names, pay-as-you-go. See live, callable models and real-time prices in the console.

Hand AI integration over to Chonway API today

One Base URL for the full Claude & GPT lineup. Instant access, pay-as-you-go, up to 30% off official.