Base URL

Base URL

Common troubleshooting for the API Base URL.

What should the API Base URL be?

Always use:

text23 B
https://ai.cloudtay.com

Different clients may call this field base_url, api_base, ANTHROPIC_BASE_URL, or OPENAI_BASE_URL.

Do I need to append /v1 manually?

Follow the guide for your client. For Claude Code, ANTHROPIC_BASE_URL is https://ai.cloudtay.com; do not append /anthropic. For OpenAI-compatible clients, if the guide's example explicitly includes /v1, follow the example.