
Claude Code API Key Setup: Windows, macOS, VS Code
Set up a Claude Code API key on Windows, macOS or VS Code: ANTHROPIC_BASE_URL, settings.json, tested fixes for 401 and 404 errors, and real per-turn costs.
GoiAPI ·
AI API gateway for developers
Works with Claude Code, Cursor and Cline out of the box. Top up with USDT, no credit card needed, and see the cost of every request as it happens.
Top up from 5 USDTNo monthly feeView statusTelegram support
export ANTHROPIC_BASE_URL="https://api.goiapi.com"
export ANTHROPIC_AUTH_TOKEN="<API_KEY>"
claude9 models4 model makersprices in USD, pay per token
GoiAPI is an AI API gateway for developers. One API key calls Claude, GPT, DeepSeek, GLM and the other models on the pricing page. It follows the OpenAI and Anthropic API formats, so Claude Code, Cursor and Cline work right away. You prepay with USDT or Binance Pay, prices are listed in USD, and each request is charged by the tokens it actually uses.
https://api.goiapi.comPick an amount and send USDT on TRC20 or BEP20, or pay with Binance Pay. Your balance is credited once the payment arrives, and 1 USDT adds 1 USD.
See how to get startedPrepay from 5 USDT. No subscription and no monthly fee.
Switch models by changing the model name in your request. Change the base URL and key, and Claude Code, Cursor and Cline keep working as before.
Model, tokens and cost show up right away in Request history, with reports by day, model and key.
Price per 1M tokens. You pay for the tokens you actually use.
Sign up with email or Google and verify your email.
Send USDT on TRC20 or BEP20, or pay with Binance Pay. From 5 USDT.
Create an API key and follow the Quickstart for Claude Code, Cursor, Cline and more.

Set up a Claude Code API key on Windows, macOS or VS Code: ANTHROPIC_BASE_URL, settings.json, tested fixes for 401 and 404 errors, and real per-turn costs.
GoiAPI ·

Use the Claude API without a credit card: top up with USDT (TRC20, BEP20) or Binance Pay, create a key and call Claude Opus 5.5. Steps, USD prices.
GoiAPI ·

Claude Code Max vs API: compare Pro $20, Max $100 and Ultra $200 with pay-per-token costs at light, moderate and heavy use, using measured token counts.
GoiAPI ·

Claude API pricing for Opus 5.5 and Haiku 5.5 per 1M tokens: input, output and cache rates, plus worked cost examples for Claude Code and a chatbot.
GoiAPI ·

What an OpenAI-compatible API is, base URL vs endpoint, and the three values to change so the OpenAI SDK, curl or Cline can call Claude, GPT, DeepSeek or GLM.
GoiAPI ·

Set up one OpenAI-compatible API key in Cline, Roo Code, Kilo Code and Cursor: exact field names, base URL, model IDs, test results and error fixes.
GoiAPI ·
Short answers about buying, topping up, calling models and security. Legal details are on the pages below.
See our Terms of Service, Refund Policy and Privacy Policy.
Create an account, top up with USDT or Binance Pay, then create an API key in your dashboard. No credit card needed. Setup steps are in the Quickstart.
You prepay by sending USDT on TRC20 or BEP20, or with Binance Pay, from 5 to 4,000 USDT per top-up. Each 1 USDT adds 1 USD to your balance, credited once the payment arrives. Each request is then charged by its tokens and the model's price.
Each model has a price per 1M input tokens and per 1M output tokens, listed in USD on the Pricing page. Each request is charged for the tokens it actually uses. Read more: AI API Token Pricing: What 1M Tokens Costs.
No. All top-ups are final and non-refundable, and your balance can only be used to call the API. Please top up only what you plan to use. Details are in our Refund Policy.
Yes. Set the ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN environment variables as shown in the Claude Code guide, then run claude as usual. Cursor, Cline, Codex CLI and the OpenAI and Anthropic SDKs work too.
A request that fails without returning any content is not charged, unless you cancel it yourself. If you think you were charged incorrectly because of a system error, send the request ID to support within 30 days. Once we confirm the error, we correct your balance. See our Refund Policy.
Change the model field in your request (or your tool's environment variable) to another model name from the Models page. The same key works for every model.
Pro and Max are fixed monthly plans with usage limits. The API is pay per token, which suits uneven usage or calling models from your own tools and code.
No. You top up with USDT on TRC20 or BEP20, or with Binance Pay. There is no subscription: you prepay and each request is charged from your balance.
No. We don't store the content of your prompts or the model's responses. For each request we keep metadata such as the model, token counts, cost and time. See our Privacy Policy.
No. One API key calls every model in the catalog. To switch models, change the model name in your request.
Create an account, top up with USDT and paste your key into the tool you already use.
Every model's price is listed publicly in USD. Pricing
Requests that fail without returning content are not charged, unless you cancel them yourself. Refund Policy
We don't store your prompts or the model's responses. Privacy Policy