Regional Guide · As of 2026-11-27

Claude Code in Latin America: Availability, Paying in US Dollars, Endpoints and Spanish Tips

Summary: This guide is for developers in Mexico, Colombia, Peru, Chile, Argentina and the rest of Latin America who want to use Claude Code, Codex CLI and other coding agents with one QCode key. It covers availability by country, a five-minute setup, paying in US dollars with a card or with USDT, choosing between the api and us endpoints, the local time when your daily budget resets, and how to work in Spanish. Everything below was checked on 2026-11-27. QCode is an independent third-party API service and is not affiliated with Anthropic, OpenAI or any model vendor.

Updated 2026-11-27

Key facts

  • Availability: check every country you work from against Anthropic's supported-regions list and OpenAI's supported-countries list before you buy; the two lists differ and change.
  • Currency: QCode prices are in US dollars (USD). In Latin America a "$" sign usually means the local currency, so confirm the checkout is in USD.
  • Payment methods (USD): Visa or Mastercard credit and debit cards enabled for international online payments, Apple Pay, Google Pay, and crypto such as USDT.
  • One key: a cr_ key works with Claude Code, Codex CLI and the SDKs, on the api, asia and us hosts.
  • Setup: install Claude Code, then set ANTHROPIC_BASE_URL to https://api.qcode.cc/api and ANTHROPIC_AUTH_TOKEN to your key.
  • Endpoints: start with api.qcode.cc; measure it against us.qcode.cc from your own network, because routes from the region vary by country and ISP.
  • Daily reset: the daily quota resets at 00:00 Beijing time, which is 10:00 in Mexico City, 11:00 in Bogotá and Lima, and 13:00 in Santiago and Buenos Aires.
  • Plans: the Starter plan is $9 for 30 days with $5 of usage per day; a pay-as-you-go pack starts from $4 and is valid for 7 days.

Is Claude Code available in my country?

Availability is decided by the model vendors, not by QCode. Before you buy, open Anthropic's supported-regions list and OpenAI's supported-countries list and check every country involved: yours, your teammates' and, for a company, the country of registration. Mexico, Colombia, Peru, Chile and Argentina each need to appear on the lists for the models you plan to use, and the lists are not identical, so check both rather than assuming one covers the other. Both lists change over time, which is why it is worth repeating the check before a team rollout.

QCode does not change any vendor's policy; it routes requests under its own terms, so read those terms and follow the rules that apply where you work.

Five-minute setup: install Claude Code and connect it to QCode

You need Claude Code installed, a QCode key that starts with cr_, and two environment variables. Keep the key safe; the same key works on every QCode host.

1. Install Claude Code on Windows, macOS or Linux

On Windows the native installer is a single PowerShell command. Run it, let it finish (it shows no progress bar), then open a new terminal window:

irm https://claude.ai/install.ps1 | iex

From CMD, the equivalent is:

curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

Run claude --version in the new window. If Windows says claude is not recognized, open one more window before changing anything: PATH changes only reach windows opened after the install.

On macOS and Linux, use Anthropic's native shell installer documented at code.claude.com, then run claude --version in a new terminal. Git for Windows is optional on Windows and not needed on macOS or Linux.

2. Connect Claude Code to QCode

Claude Code reads two variables: ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN. The base URL is https://api.qcode.cc/api, with no trailing slash and no /v1, because Claude Code adds /v1/messages itself. In a terminal on macOS, Linux, Git Bash or WSL:

# Git Bash / WSL
export ANTHROPIC_BASE_URL=https://api.qcode.cc/api
export ANTHROPIC_AUTH_TOKEN=cr_your_key
claude

For a persistent setting that survives new terminals on any operating system, put the same values in ~/.claude/settings.json:

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.qcode.cc/api",
    "ANTHROPIC_AUTH_TOKEN": "cr_your_key"
  }
}

Keep a single source for these values. Do not also set ANTHROPIC_API_KEY, and do not leave an older key elsewhere: a stale value overrides the good one and returns 401.

3. Codex CLI in brief

Codex CLI speaks the OpenAI protocol, so it uses a different path and only GPT models. This ~/.codex/config.toml starts Codex on api.qcode.cc with gpt-6.2-sol:

# ~/.codex/config.toml
model_provider = "qcode"
model = "gpt-6.2-sol"
model_reasoning_effort = "high"
model_reasoning_summary = "concise"

approval_policy = "on-request"
sandbox_mode = "workspace-write"

project_doc_max_bytes = 65536

[model_providers.qcode]
name = "qcode"
base_url = "https://api.qcode.cc/openai"
wire_api = "responses"
requires_openai_auth = true
request_max_retries = 4
stream_idle_timeout_ms = 300000

[model_providers.qcode-asia]
name = "qcode-asia"
base_url = "https://asia.qcode.cc/openai"
wire_api = "responses"
requires_openai_auth = true

[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp"]
startup_timeout_sec = 20

The key goes in ~/.codex/auth.json:

{
  "OPENAI_API_KEY": "cr_your_key"
}

On macOS and Linux, run chmod 600 ~/.codex/auth.json. For Claude work, use the Anthropic protocol and start with claude-opus-5-5; for Codex, gpt-6.2-sol is the default. Claude models answer only on the Anthropic endpoint and GPT models only on the OpenAI endpoint, and one key covers both.

Paying from Latin America in US dollars

QCode's prices are in US dollars (USD). That matters in this region, where the dollar sign normally means the local currency: $ on a price list in Mexico is MXN, in Colombia COP, in Chile CLP and in Argentina ARS. At checkout, confirm that you are paying in USD and read every price on this site as USD unless it says otherwise. Your bank converts the USD amount at its own rate.

Cards that work for international payments

Use a Visa or Mastercard credit or debit card that is enabled for international online purchases and for payments in a foreign currency. Some cards issued in the region work only domestically until international use is enabled; if yours is declined, ask the bank to enable international online purchases and try again. Some cards ask for a 3-D Secure confirmation in the banking app, so keep your phone at hand. Apple Pay and Google Pay go through the same international checkout, which means the card behind the wallet must also allow international payments.

Bank fees and extra charges

Your bank may add a foreign-transaction or currency-conversion fee, and in some countries, Argentina being the usual example, card purchases of services priced in dollars carry extra taxes or surcharges. QCode does not set those charges; they appear on your card statement. Check your card's terms, and compare plans on the USD price rather than on the converted figure.

If a card is declined, pay with USDT

If a card is declined, or you prefer not to use one, pay with cryptocurrency. USDT is the common choice in the region. Open the top-up page, note the exact coin and network shown for your order, and send that coin on that network only; a transfer on the wrong network may not be recoverable. Follow the checkout instructions, and use crypto only where your local rules allow it.

Keep your payment confirmation

Save the confirmation your card issuer, wallet or the crypto network shows, with the date and the amount. If your company needs more than that, ask your finance team before you buy what it will accept.

Choosing an endpoint from Latin America

QCode has three hosts with identical paths and the same key: api.qcode.cc (the default), asia.qcode.cc (Asia) and us.qcode.cc (North America and Europe). None is described as a Latin American node, and routes from the region differ by country and ISP, so measure instead of guessing. Start with api.qcode.cc and us.qcode.cc where you actually run Claude Code, and add asia.qcode.cc if you want a third option.

First confirm the path and key work. This sends a request with no body to each host: 400 means the path and key are fine, 401 points to the key and 404 to a wrong path.

KEY="cr_your_key"
for host in api.qcode.cc asia.qcode.cc us.qcode.cc; do
  printf '%-15s ' "$host"
  curl -s -o /dev/null -w '%{http_code}\n' -X POST "https://$host/api/v1/messages" \
    -H "Authorization: Bearer $KEY"
done

Then time real requests to the hosts you care about, several times, at the hours you normally work, and keep the one with the lower stable time to first byte and fewer errors. Switching later changes only the hostname; Claude Code reads the base URL at startup, so start a new session. A longer method, with medians and a time-to-first-token script, is in Choosing a QCode endpoint and testing latency.

When your daily quota resets in local time

Personal plans use a daily budget that resets at 00:00 Beijing time (UTC+8). Latin America is eleven to fourteen hours behind Beijing, so the reset lands in your morning:

City Time zone Daily reset
Mexico City UTC−6 10:00
Bogotá, Lima UTC−5 11:00
Santiago (Chilean summer time) UTC−3 13:00
Buenos Aires UTC−3 13:00

Santiago moves to UTC−4 in Chilean winter, which makes the reset 12:00 there. A booster pack bought during the day is added to that day's limit and resets at 02:00 Beijing time the next day, two hours after the daily reset: 12:00 in Mexico City, 13:00 in Bogotá and Lima, and 15:00 in Santiago and Buenos Aires.

Using Claude Code in Spanish

Claude models read and write Spanish well, so prompt in Spanish if that is how you think, and keep code, identifiers, file names and commit messages in English if your team prefers. Mixed conventions are fine as long as they are written down.

Put the language rules in CLAUDE.md

Add a short section to the CLAUDE.md at the repository root so every session follows the same convention:

  • Explanations and review comments: Spanish, neutral or the variant your team uses.
  • Code, identifiers, branch names and commit messages: English.
  • User-facing strings: Spanish, added to the locale files instead of hard-coded.
  • Dates and numbers: formatted with the runtime's locale APIs, not by hand.

Spanish site and docs

QCode's site has a Spanish version at qcode.cc/es, and the documentation has Spanish pages at docs.qcode.cc/es/docs. Use them for checkout and setup questions; some deep pages may still appear in English.

Accents and encoding

Spanish accents and ñ are safe in UTF-8. If an older file shows garbled characters, convert it to UTF-8 before handing it to an agent: the problem is the file, not the model.

FAQ

Do I need a special card to pay QCode from Latin America?

Use a Visa or Mastercard credit or debit card enabled for international online payments and foreign currencies, or Apple Pay, Google Pay or USDT. A domestic-only card may be declined.

Are QCode's prices in US dollars or in my local currency?

US dollars. The dollar sign in local price lists usually means MXN, COP, CLP or ARS, so confirm that the checkout is in USD; your bank converts the amount and may add a fee.

Can I use Claude Code from Mexico, Colombia, Peru, Chile or Argentina?

Check each country against Anthropic's supported-regions list and OpenAI's supported-countries list before you buy. Availability differs by country and changes over time, and QCode does not change vendor policy.

Which endpoint should I use from Latin America?

Measure api.qcode.cc and us.qcode.cc from your own network at the hours you work, and keep the faster and more stable one. asia.qcode.cc is available too, and the key and paths are the same on all three.

When does my daily quota reset in my city?

At 00:00 Beijing time: 10:00 in Mexico City, 11:00 in Bogotá and Lima, and 13:00 in Santiago during Chilean summer time and in Buenos Aires. A booster pack resets two hours later.

Does Claude Code understand Spanish prompts?

Yes. Prompt in Spanish, and put the language conventions your team wants in CLAUDE.md so answers, commit messages and user-facing strings stay consistent.

Can I use GPT and Claude models with the same key?

Yes, but on different endpoints: Claude models only on the Anthropic endpoint, which Claude Code uses, and GPT models only on the OpenAI endpoint, which Codex and OpenAI-compatible clients use. One key covers both.

Is there a QCode server in Latin America?

QCode has three hosts, api, asia and us, and does not describe any of them as a Latin American node. Measure them from your own network and use the fastest stable one.

Choosing a plan and starting small

Start small and let your own usage decide. A pay-as-you-go pack starts at $4: it is a one-time purchase valid for 7 days, and packs stack, so you can add another when one runs out. That is enough for a first week of testing Claude Code and Codex on your own repository. If you already code with an agent every day, the Starter plan at $9 gives 30 days with $5 of usage per day, reset at 00:00 Beijing time. Claude and GPT usage is billed at the official API price (×1.0); Chinese models are billed at the rate shown on /models. Teams that need a pooled monthly quota and several members should look at /enterprise. Current prices are always on /pricing.

Choosing a plan and starting small

One key for both the Anthropic Messages API and OpenAI-compatible APIs. Claude and GPT are billed at the official price ×1.0; live rates are on /models.

Not sure where to start?

Try it for a week

Small Pack: $4 for $30 of quota, valid 7 days

Use it every day

Starter: $9.00/month with $5 of quota every day — just $0.060 per $1 of quota, vs about $0.113 for the Medium Pack