Blog
Tutorials, guides, and updates
Set up your tools
Each guide connects one tool to Claude and GPT: the exact base URL, which API format to pick and how to fix the usual errors.
How to Use Open Interpreter with Claude and GPT via API
Run Open Interpreter on Claude and GPT with one APIVAI key: config.toml provider, exact base_url and wire_api, classic Python flags, models, costs and fixes.
Zed Setup with Claude and GPT via a Custom API Key
Connect Zed's Agent Panel to Claude and GPT with one APIVAI key: OpenAI- or Anthropic-compatible provider, exact api_url, settings.json, costs and fixes.
OpenCode Setup with Claude and GPT via a Custom API Key
Connect OpenCode to Claude and GPT with one APIVAI key: /connect, custom provider in opencode.json, exact baseURL for each format, model choice, costs, fixes.
Kilo Code with Claude and GPT: Custom API Provider Setup
Connect Kilo Code to Claude and GPT with one APIVAI key: Custom provider fields, the right Base URL for each Provider API, token limits, costs and fixes.
Goose with Claude and GPT: Custom API Setup (CLI & Desktop)
Run Goose on Claude and GPT with one APIVAI key: goose configure steps, the exact OPENAI_HOST and ANTHROPIC_HOST, env vars, model picks, costs and fixes.
Cline Setup with Claude and GPT via a Custom API Key
Connect Cline in VS Code to Claude and GPT with one APIVAI key: OpenAI Compatible or Anthropic provider, exact Base URL, model choice, costs and error fixes.
Roo Code Setup with Claude and GPT via a Custom API Key
Set up Roo Code in VS Code with Claude and GPT through one APIVAI key: provider choice, exact Base URL, profiles per mode, model picks, costs and error fixes.
Aider with Claude and GPT via an OpenAI-Compatible API
Set up Aider with one key for Claude and GPT: env vars, model prefixes, .env file, model choice, cost examples and fixes for 401, 404 and empty replies.
Continue.dev with Claude and GPT: Custom API in config.yaml
Add Claude and GPT to Continue in VS Code or JetBrains: a ready config.yaml, apiBase rules for /v1, model choice, cost examples and fixes for 401 and 404.
Open WebUI with Claude and GPT via an OpenAI-Compatible API
Add Claude and GPT to Open WebUI with one OpenAI connection: exact URL and fields, Docker env vars, task model, RAG embeddings, costs and fixes for 401/404.
LobeChat (LobeHub) with Claude and GPT via a Custom API
Connect LobeHub (LobeChat) to Claude and GPT: custom provider or Anthropic URL, Docker env vars, model list, embeddings for files, costs and fixes.
Cherry Studio Setup: Use Claude and GPT via a Custom API
Add APIVAI to Cherry Studio as a custom provider: exact address, key and /v1 rules, the Anthropic option, model choice, real monthly costs and fixes for errors.
Chatbox Setup: Use Claude and GPT via a Custom API Provider
Set up Chatbox with APIVAI: API Mode, exact API Host and API Path, the /v1 rule for Claude, adding models, monthly costs and fixes for 401, 404, empty replies.
n8n with Claude and GPT: Custom API Base URL Setup
Connect n8n AI Agent nodes to Claude and GPT: OpenAI and Anthropic credential settings, the right Base URL, model choice, workflow costs and common fixes.
Dify with Claude and GPT via an OpenAI-Compatible API
Add Claude and GPT to Dify with the OpenAI-API-compatible plugin or the Anthropic plugin: exact fields, base URL, model choice, app costs and fixes.
Cursor Custom API Setup: Your Own Key for Claude and GPT
Set Cursor's OpenAI base URL override to use Claude and GPT with a pay-as-you-go key, plus Cline, Continue and JetBrains setup, model choice, costs and fixes.
Claude Code Custom API Setup: Base URL and API Key Guide
Step-by-step Claude Code setup with a custom base URL on Mac, Linux and Windows: a curl test, Codex CLI, model choice, monthly costs and common error fixes.
Claude Code and GPT API Costs: How to Pay Less
What drives Claude and GPT API costs, official vs APIVAI token prices, monthly cost examples, and setup for Claude Code, Cursor, Codex CLI and the SDKs.
Cost and choosing a model
These articles answer two questions with live prices: which model fits a task, and what it costs compared with other ways to buy it.
Claude Code Without a Subscription: Pay Per Token Instead
Run Claude Code with an API key instead of Pro or Max: which credential wins, two-variable setup, cost examples with caching and when a subscription is cheaper.
Claude Sonnet vs Opus vs Haiku vs GPT: API Cost Compared
Which Claude or GPT model to use and what it costs: token and cache prices, context sizes, and worked costs for a coding agent, a chatbot and a summary batch.
Claude Code vs Cursor vs Codex CLI: Real Cost Comparison
What Claude Code, Cursor and Codex CLI really cost per day and per month for light, regular and heavy users, on subscriptions, the official API and APIVAI.
OpenRouter Alternative: Move Claude and GPT Calls to APIVAI
Step-by-step guide to moving Claude and GPT calls from OpenRouter to APIVAI: base URL, key, model ID mapping, SDK and tool configs, testing and safe rollout.
Claude API Pricing 2026: Official Rates and Cache Prices
Each Claude model's official API price beside APIVAI's: cache prices, token estimates and worked monthly costs for a chatbot, Claude Code and batch summaries.
Claude API Options in 2026: Anthropic, OpenRouter, Bedrock, Vertex
Five Claude API options for 2026 compared on price, setup and payment: APIVAI, OpenRouter, AWS Bedrock, Google Vertex AI and Anthropic with prompt caching.
Errors, verification and concepts
What each error code means and what to do about it, how to check that a relay really serves Claude, and what "OpenAI-compatible" does and does not cover.
What Is an OpenAI-Compatible API? How It Works and Where It Differs
What an OpenAI-compatible API is, which endpoints and fields it copies, where services differ, who offers one (Ollama, vLLM, LM Studio, Anthropic, Gemini) and how to switch.
Is Your Claude API Relay Serving the Real Model? How to Check
Check that a Claude API relay really reaches Claude: the thinking-signature test, a monitor with alerts, how to read changes and what no outside test can prove.
Claude API Error Codes: 400, 401, 429, 529 and How to Fix
Claude API error codes explained: 400, 401 invalid x-api-key, 404, 413, 429 rate limits and 529 overloaded_error, with fixes, retry code and request IDs.
Payment and account
How to top up, how fast it arrives, and how invoices and refunds work.
Claude API Without a Credit Card: Alipay, WeChat Pay, USDT
Pay for Claude and GPT API access without a bank card: Alipay or WeChat Pay from ¥20, USDT and other crypto from $10, fees, arrival times, invoices and refunds.
Claude & GPT API with a Chinese VAT Invoice (Fapiao)
Get a Chinese VAT invoice (general or special fapiao) for Claude and GPT API top-ups: who it suits, how to request it in the dashboard, timing, cost and limits.