<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Blog · ROIBest AI</title><description>Integration guides for Claude Code, Codex, OpenCode and CC Switch, plus how usage and billing are recorded on ROIBest AI.</description><link>https://ai.roibest.com/</link><language>en</language><item><title>API Error 400: System Content Must Contain at Least One Block</title><link>https://ai.roibest.com/blog/api-error-400-system-content-block/</link><guid isPermaLink="true">https://ai.roibest.com/blog/api-error-400-system-content-block/</guid><description>Fix api error: 400 messages.1: system content must contain at least one block—omit empty system fields or send one real text block.</description><pubDate>Wed, 04 Nov 2026 02:53:34 GMT</pubDate></item><item><title>Claude Code 使用教程: Install, Auth, First Repo Task (2026)</title><link>https://ai.roibest.com/blog/claude-code-tutorial/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-code-tutorial/</guid><description>Claude Code 使用教程 from install and login to a first safe repo task, plus links for proxy, MCP, and model config.</description><pubDate>Tue, 03 Nov 2026 13:31:20 GMT</pubDate></item><item><title>LLM API Aggregation Platform: What 大模型api聚合平台 Means (2026)</title><link>https://ai.roibest.com/blog/llm-api-aggregation-platform/</link><guid isPermaLink="true">https://ai.roibest.com/blog/llm-api-aggregation-platform/</guid><description>A 大模型api聚合平台 unifies keys, routing, and metering across LLM vendors. Verify aliases, data paths, and the extra hop before you rely on it.</description><pubDate>Tue, 03 Nov 2026 13:30:04 GMT</pubDate></item><item><title>LLM API Subscription: Plans, Seats, and How to Choose (2026)</title><link>https://ai.roibest.com/blog/llm-api-subscription/</link><guid isPermaLink="true">https://ai.roibest.com/blog/llm-api-subscription/</guid><description>An LLM API subscription wraps metered model calls in plans or commits. Separate product seats from API keys, pin models, and meter by workload.</description><pubDate>Tue, 03 Nov 2026 13:28:58 GMT</pubDate></item><item><title>Claude Model Naming: Haiku, Sonnet, Opus, and API IDs (2026)</title><link>https://ai.roibest.com/blog/claude-model-naming/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-model-naming/</guid><description>Claude model naming separates Haiku/Sonnet/Opus nicknames from the API ids that bill and route. Pin dated ids in production; keep nicknames for humans.</description><pubDate>Tue, 03 Nov 2026 13:27:44 GMT</pubDate></item><item><title>Claude Models Comparison: Haiku, Sonnet, Opus, Fable and How to Pick One (2026)</title><link>https://ai.roibest.com/blog/claude-models-comparison/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-models-comparison/</guid><description>Four Claude tiers: Haiku for volume, Sonnet for everyday work, Opus 5.5 as the coding-agent default, Fable 5.1 for the hardest tasks. Exact model IDs, context windows, prices and a downgrade strategy.</description><pubDate>Tue, 13 Oct 2026 03:42:34 GMT</pubDate></item><item><title>Claude Code MCP Config: .mcp.json Format, Scopes and claude mcp add (2026)</title><link>https://ai.roibest.com/blog/claude-code-mcp-config/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-code-mcp-config/</guid><description>How the Claude Code MCP config works: the .mcp.json format for stdio and HTTP servers, local vs project vs user scope, environment variables, claude mcp add, and how to fix servers that do not load.</description><pubDate>Mon, 12 Oct 2026 06:05:51 GMT</pubDate></item><item><title>LLM Gateway vs OpenRouter: Hosted Aggregator or Self-Hosted Gateway? (2026)</title><link>https://ai.roibest.com/blog/llm-gateway-vs-openrouter/</link><guid isPermaLink="true">https://ai.roibest.com/blog/llm-gateway-vs-openrouter/</guid><description>LLM gateway vs OpenRouter comes down to ownership: one hosted account for many models, or your own gateway in front of direct provider accounts. Compare keys, billing, data path and operations.</description><pubDate>Mon, 12 Oct 2026 02:46:00 GMT</pubDate></item><item><title>Anthropic SDK for Go: Install, First Request, Streaming and Errors (2026)</title><link>https://ai.roibest.com/blog/anthropic-sdk-go/</link><guid isPermaLink="true">https://ai.roibest.com/blog/anthropic-sdk-go/</guid><description>The Anthropic SDK for Go is the official Go client for the Claude API. Install it, send a first request, stream responses, handle errors and configure base URL and retries.</description><pubDate>Mon, 12 Oct 2026 02:45:42 GMT</pubDate></item><item><title>Anthropic Python SDK Tutorial: Setup, Streaming, Tools</title><link>https://ai.roibest.com/blog/anthropic-sdk-python/</link><guid isPermaLink="true">https://ai.roibest.com/blog/anthropic-sdk-python/</guid><description>Practical Anthropic Python SDK guide: install the package, build the client, make a first messages.create call, stream, go async, use tools and set base_url.</description><pubDate>Sat, 10 Oct 2026 06:19:24 GMT</pubDate></item><item><title>Anthropic TypeScript SDK: Setup, Streaming, Tools, baseURL</title><link>https://ai.roibest.com/blog/anthropic-sdk-typescript/</link><guid isPermaLink="true">https://ai.roibest.com/blog/anthropic-sdk-typescript/</guid><description>Install @anthropic-ai/sdk, build the client, keep keys server-side, narrow content blocks, stream, call tools, catch typed errors, set retries and baseURL.</description><pubDate>Sat, 10 Oct 2026 06:18:54 GMT</pubDate></item><item><title>How to Configure the Model in Claude Code: /model, Flags, Env Vars and settings.json (2026)</title><link>https://ai.roibest.com/blog/claude-code-configure-model/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-code-configure-model/</guid><description>Four ways to set the model in Claude Code, which one wins when they conflict, aliases versus full IDs, and how to confirm which model is answering.</description><pubDate>Sat, 10 Oct 2026 02:03:40 GMT</pubDate></item><item><title>Claude Desktop HTTP Proxy: OS Settings, Launch Flags and MCP Servers (2026)</title><link>https://ai.roibest.com/blog/claude-desktop-http-proxy/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-desktop-http-proxy/</guid><description>Claude Desktop has no proxy page. Here is how it picks up the OS proxy, how to force one with a launch flag, and why MCP servers need their own variables.</description><pubDate>Sat, 10 Oct 2026 02:03:13 GMT</pubDate></item><item><title>Claude Code Config File Location: Every File and Path on macOS, Linux and Windows (2026)</title><link>https://ai.roibest.com/blog/claude-code-config-file-location/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-code-config-file-location/</guid><description>Where Claude Code keeps its configuration: settings.json at user, project and local scope, managed-settings.json per OS, ~/.claude.json, .mcp.json, CLAUDE.md and credentials, with the Windows paths and how to check which file is in effect.</description><pubDate>Sat, 26 Sep 2026 14:39:20 GMT</pubDate></item><item><title>Claude API Error: The Operation Timed Out — What It Means and How to Fix It (2026)</title><link>https://ai.roibest.com/blog/claude-api-error-operation-timed-out/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-error-operation-timed-out/</guid><description>&quot;API Error: The operation timed out&quot; means a Claude request hit its deadline before a response arrived. Here is how to tell it apart from 504, 529 and stalled streams, and which timeout settings to change first.</description><pubDate>Sat, 26 Sep 2026 14:31:40 GMT</pubDate></item><item><title>Claude API Error 529 Overloaded: What It Means and How to Handle It</title><link>https://ai.roibest.com/blog/claude-api-error-529-overloaded/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-error-529-overloaded/</guid><description>A 529 overloaded_error means Claude&apos;s API is at capacity for everyone. How it differs from 429 and 500, what the SDKs retry, and how to add backoff and fallbacks.</description><pubDate>Thu, 24 Sep 2026 02:29:56 GMT</pubDate></item><item><title>Claude Mirror Sites: Web Mirrors vs API Relay Endpoints, and How to Tell Which You Need (2026)</title><link>https://ai.roibest.com/blog/claude-mirror-site/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-mirror-site/</guid><description>A “Claude mirror site” means two different things: a chat page you open in a browser, and a relay endpoint you paste into Claude Code or your own code. How they differ, which one your use case needs, four signals worth checking, and when to just call the official API.</description><pubDate>Wed, 23 Sep 2026 01:41:53 GMT</pubDate></item><item><title>Claude API curl Example: Copy-Paste Requests for Messages, Streaming, Images and Tools (2026)</title><link>https://ai.roibest.com/blog/claude-api-curl-example/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-curl-example/</guid><description>A working Claude API curl example is one POST to /v1/messages with three headers and a JSON body. Copy-paste commands for streaming, images, tools, token counting, model listing and debugging, based on Anthropic&apos;s docs.</description><pubDate>Tue, 22 Sep 2026 02:28:19 GMT</pubDate></item><item><title>Claude API Cost Optimization: Find Where the Tokens Go, Then Pick the Lever (2026)</title><link>https://ai.roibest.com/blog/claude-api-cost-optimization/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-cost-optimization/</guid><description>Claude API cost optimization starts with the usage object: find which token bucket dominates your bill, then apply the lever that targets it, from effort and caching to tool overhead, images and batching.</description><pubDate>Tue, 22 Sep 2026 02:24:57 GMT</pubDate></item><item><title>OpenAI SDK with Claude: Setup and What Gets Ignored (2026)</title><link>https://ai.roibest.com/blog/openai-sdk-with-claude/</link><guid isPermaLink="true">https://ai.roibest.com/blog/openai-sdk-with-claude/</guid><description>Use the OpenAI SDK with Claude through Anthropic&apos;s official compat layer: base_url, model IDs, and which parameters are supported, capped, or silently ignored.</description><pubDate>Mon, 21 Sep 2026 02:15:47 GMT</pubDate></item><item><title>LiteLLM with Claude: Routing Paths, Parameter Mapping and the Failure Modes</title><link>https://ai.roibest.com/blog/litellm-claude/</link><guid isPermaLink="true">https://ai.roibest.com/blog/litellm-claude/</guid><description>How to route LiteLLM to Claude: the SDK-versus-proxy split, the three backend paths and what each needs, which OpenAI parameters translate cleanly and which do not, streaming and tool-call pitfalls, and an error table mapping symptoms to causes.</description><pubDate>Sun, 20 Sep 2026 03:54:00 GMT</pubDate></item><item><title>Is Claude Allowed in China? What Anthropic&apos;s Supported Regions Policy Says (2026)</title><link>https://ai.roibest.com/blog/is-claude-allowed-in-china/</link><guid isPermaLink="true">https://ai.roibest.com/blog/is-claude-allowed-in-china/</guid><description>Mainland China, Hong Kong and Macau are not on Anthropic&apos;s supported regions list; Taiwan is. Here is what the policy actually says, why it is an eligibility question rather than a technical one, and how the cloud routes differ.</description><pubDate>Fri, 18 Sep 2026 11:46:51 GMT</pubDate></item><item><title>OAI Compatible Provider in VS Code: What Replaced It and How to Configure a Custom Endpoint (2026)</title><link>https://ai.roibest.com/blog/oai-compatible-provider/</link><guid isPermaLink="true">https://ai.roibest.com/blog/oai-compatible-provider/</guid><description>The OAI compatible provider in VS Code is deprecated. Custom Endpoint replaces it with three API types, a new JSON config file, and one URL convention that trips up most setups.</description><pubDate>Fri, 18 Sep 2026 11:46:25 GMT</pubDate></item><item><title>Claude Code Proxy: Gateway or Corporate Proxy, and How to Configure Each (2026)</title><link>https://ai.roibest.com/blog/claude-code-proxy/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-code-proxy/</guid><description>The phrase covers two unrelated setups: an LLM gateway set with ANTHROPIC_BASE_URL and a credential, and a corporate HTTP proxy set with HTTPS_PROXY. Here are the exact variables for each, where to put them, and how to confirm which one is live.</description><pubDate>Wed, 16 Sep 2026 03:46:32 GMT</pubDate></item><item><title>Claude API Error 400: Causes and Fixes for invalid_request_error</title><link>https://ai.roibest.com/blog/claude-api-error-400/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-error-400/</guid><description>A Claude API error 400 means the key worked but the request broke a rule. Nine real causes, from prefill and sampling params to tool_result order and images.</description><pubDate>Mon, 14 Sep 2026 03:04:16 GMT</pubDate></item><item><title>Anthropic Rate Limit Tiers: How the Usage Tier Ladder Works and What Each Tier Changes (2026)</title><link>https://ai.roibest.com/blog/anthropic-rate-limit-tiers/</link><guid isPermaLink="true">https://ai.roibest.com/blog/anthropic-rate-limit-tiers/</guid><description>Anthropic&apos;s usage tier ladder in one place: how organizations are placed on Start, Build, Scale or Custom, what each tier&apos;s spend cap and per-model limits are on the official page, where to check your tier in the Console, and what to do when it is not enough.</description><pubDate>Fri, 11 Sep 2026 07:11:26 GMT</pubDate></item><item><title>Anthropic OAuth Explained: Subscription Login, API Keys, and Third-Party Tools</title><link>https://ai.roibest.com/blog/anthropic-oauth/</link><guid isPermaLink="true">https://ai.roibest.com/blog/anthropic-oauth/</guid><description>In Anthropic&apos;s ecosystem, OAuth is the Claude account sign-in used by Claude Code and other native apps. Here is how it differs from a Console API key, what claude setup-token creates, and what Anthropic&apos;s terms say about third-party tools.</description><pubDate>Fri, 11 Sep 2026 07:10:16 GMT</pubDate></item><item><title>Anthropic API Billing Page: Where It Is and What Every Number Means</title><link>https://ai.roibest.com/blog/anthropic-api-billing-page/</link><guid isPermaLink="true">https://ai.roibest.com/blog/anthropic-api-billing-page/</guid><description>The Anthropic API billing page lives in the Console, not in Claude.ai. Where to find it, what usage, cost, credit balance and invoices each actually count, why workspaces decide your breakdown, and the four settings that change next month&apos;s bill.</description><pubDate>Thu, 10 Sep 2026 02:29:52 GMT</pubDate></item><item><title>OpenAI-Compatible Base URL: What to Set, and the Four Ways It Goes Wrong (2026)</title><link>https://ai.roibest.com/blog/openai-compatible-base-url/</link><guid isPermaLink="true">https://ai.roibest.com/blog/openai-compatible-base-url/</guid><description>The base URL is whatever the SDK appends /chat/completions to — usually your provider host plus /v1, with no trailing slash. The four ways it is set wrong, what each client expects, one curl that verifies it, and a table mapping each error back to its cause.</description><pubDate>Tue, 08 Sep 2026 07:07:24 GMT</pubDate></item><item><title>OpenAI Compatibility Issues: What &quot;Compatible&quot; Actually Covers, and Where It Stops</title><link>https://ai.roibest.com/blog/openai-compatibility-issues/</link><guid isPermaLink="true">https://ai.roibest.com/blog/openai-compatibility-issues/</guid><description>&quot;OpenAI-compatible&quot; describes request and response shape, not that every parameter is honoured. This guide maps the four layers where compatibility breaks, the parameters most often silently ignored, the streaming and tool-calling differences that break clients, and a paired-request method for telling which layer you are in.</description><pubDate>Mon, 07 Sep 2026 03:11:59 GMT</pubDate></item><item><title>Claude API Structured Output: Constraining Responses, Validating Tool Inputs, and What Replaced Prefill</title><link>https://ai.roibest.com/blog/claude-api-structured-output/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-structured-output/</guid><description>Two mechanisms for two jobs: output_config.format shapes the response, strict on the tool definition shapes tool arguments. Why the prefill trick now returns 400, why forced tool_choice stopped working, and why you must parse tool inputs instead of matching them.</description><pubDate>Thu, 03 Sep 2026 10:39:28 GMT</pubDate></item><item><title>Claude API Context Window: What Fills It, How to Read the Real Limit, and How to Outlive It</title><link>https://ai.roibest.com/blog/claude-api-context-window/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-context-window/</guid><description>The context window is total input per request, not memory — and the Models API calls it max_input_tokens, not context_window. What actually consumes it, why tool results dominate agent loops, how caching interacts with it, and when to compact versus clear.</description><pubDate>Thu, 03 Sep 2026 10:36:16 GMT</pubDate></item><item><title>Anthropic API Key Not Working? Read the Status Code First</title><link>https://ai.roibest.com/blog/anthropic-api-key-not-working/</link><guid isPermaLink="true">https://ai.roibest.com/blog/anthropic-api-key-not-working/</guid><description>Five different problems wear the same costume, and four of them are not the key. What 401, 403, 404, 400 and 429 each actually mean — plus the credential-resolution order that makes a valid key look ignored.</description><pubDate>Thu, 03 Sep 2026 02:27:23 GMT</pubDate></item><item><title>Claude API Batch Processing: The 50% Discount, the 24-Hour Ceiling, and the Ordering Trap (2026)</title><link>https://ai.roibest.com/blog/claude-api-batch-processing/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-batch-processing/</guid><description>The Batches API runs Messages API requests asynchronously at half price. The three decisions that make or break the integration: design for 24 hours not one, size against 256 MB not 100,000 requests, and key results by custom_id not position.</description><pubDate>Wed, 02 Sep 2026 02:24:11 GMT</pubDate></item><item><title>LLM API Pricing Comparison: The Five Variables a Rate Table Leaves Out</title><link>https://ai.roibest.com/blog/llm-api-pricing-comparison/</link><guid isPermaLink="true">https://ai.roibest.com/blog/llm-api-pricing-comparison/</guid><description>Published per-million-token rates are the starting point of a price comparison, not the substance of one. Input/output asymmetry, incomparable tokenizers, reasoning billed as output, cache discounts worth an order of magnitude, and the only metric that decides the winner.</description><pubDate>Tue, 01 Sep 2026 02:26:00 GMT</pubDate></item><item><title>Claude Code Configuration: The Layers, How They Merge, and Where Credentials Belong</title><link>https://ai.roibest.com/blog/claude-code-configuration/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-code-configuration/</guid><description>Configuration arrives through environment variables and settings files at four scopes that merge key by key rather than replacing each other. Which layer wins, what belongs in each, why MCP is separate, and how to verify a change actually took effect.</description><pubDate>Tue, 01 Sep 2026 02:19:15 GMT</pubDate></item><item><title>Prompt Caching with the Claude API: Breakpoints, TTL Economics, and Why It Silently Stops Working</title><link>https://ai.roibest.com/blog/prompt-caching-claude-api/</link><guid isPermaLink="true">https://ai.roibest.com/blog/prompt-caching-claude-api/</guid><description>Prompt caching is a prefix match, and it fails without an error. The breakpoint rules, the per-model minimum that swallows short prompts, when the 1-hour TTL costs more than it saves, and the usage fields that prove a cache is real.</description><pubDate>Mon, 31 Aug 2026 07:31:53 GMT</pubDate></item><item><title>How to Use the Claude API: From Key to First Working Call (2026)</title><link>https://ai.roibest.com/blog/how-to-use-claude-api/</link><guid isPermaLink="true">https://ai.roibest.com/blog/how-to-use-claude-api/</guid><description>A complete first mile for the Claude API: what you need before the first call, what every part of a Messages request does, how to read the response, and the four mistakes that eat a beginner&apos;s first afternoon.</description><pubDate>Sat, 29 Aug 2026 22:00:01 GMT</pubDate></item><item><title>API Key Rotation Best Practices: Overlap Windows, Scoping and What to Do on a Leak (2026)</title><link>https://ai.roibest.com/blog/api-key-rotation-best-practices/</link><guid isPermaLink="true">https://ai.roibest.com/blog/api-key-rotation-best-practices/</guid><description>Rotation as a quarterly calendar ritual causes outages without reducing much risk. The version that works is narrower: keys scoped so rotation is cheap, an overlap window instead of a swap, verification by traffic before revoking, and a rehearsed path for the unplanned rotation.</description><pubDate>Fri, 28 Aug 2026 03:46:48 GMT</pubDate></item><item><title>LLM API Latency: The Three Numbers That Matter and How to Measure Them (2026)</title><link>https://ai.roibest.com/blog/llm-api-latency/</link><guid isPermaLink="true">https://ai.roibest.com/blog/llm-api-latency/</guid><description>Response time is not one number. Time to first token, tokens per second and total completion time behave differently, respond to different fixes, and are routinely confused. What drives each, how to measure them without fooling yourself, and which levers actually move.</description><pubDate>Fri, 28 Aug 2026 03:42:28 GMT</pubDate></item><item><title>Claude vs GPT API: The Differences That Actually Affect Your Integration (2026)</title><link>https://ai.roibest.com/blog/claude-vs-gpt-api/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-vs-gpt-api/</guid><description>Benchmark tables go stale. At the integration layer the two APIs diverge in four concrete places: where the system prompt lives, required max_tokens, strict message alternation, and how caching is configured - plus the parameters compatibility layers drop silently.</description><pubDate>Thu, 27 Aug 2026 03:54:09 GMT</pubDate></item><item><title>Claude API Streaming: How the Event Stream Works and How to Consume It</title><link>https://ai.roibest.com/blog/claude-api-streaming/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-streaming/</guid><description>A practical guide to Claude API streaming: the server-sent event transport, the full event sequence from message_start to message_stop, how to accumulate deltas by block index, why tool-call JSON fragments must be parsed once, and the failure modes worth handling.</description><pubDate>Wed, 26 Aug 2026 03:43:52 GMT</pubDate></item><item><title>Anthropic API Rate Limits: How They Are Measured and How to Work Within Them</title><link>https://ai.roibest.com/blog/anthropic-api-rate-limits/</link><guid isPermaLink="true">https://ai.roibest.com/blog/anthropic-api-rate-limits/</guid><description>Requests, input tokens, and output tokens are three separate limits measured on separate axes. How to tell which one is binding, what fixes each, retry behaviour worth shipping, and the extra limit layer a gateway adds.</description><pubDate>Tue, 25 Aug 2026 07:52:01 GMT</pubDate></item><item><title>Running Claude Code with Alternative Models: How the Endpoint Swap Works and What Breaks</title><link>https://ai.roibest.com/blog/claude-code-alternative-models/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-code-alternative-models/</guid><description>Claude Code talks to an endpoint, not a vendor. How the base-URL swap works, which capabilities survive it, a five-check acceptance pass, and when swapping costs more than it saves.</description><pubDate>Tue, 25 Aug 2026 07:47:55 GMT</pubDate></item><item><title>Buying Claude API Credits: Payment Routes, Prepaid vs Postpaid, and Why Cards Fail</title><link>https://ai.roibest.com/blog/buy-claude-api-credits/</link><guid isPermaLink="true">https://ai.roibest.com/blog/buy-claude-api-credits/</guid><description>Getting Claude API credits is a payment-layer problem, separate from pricing and from access. Three routes exist — a first-party account, a cloud marketplace, or a compatible gateway. Here is why cards get declined, how prepaid balances behave, and what to check before you top up.</description><pubDate>Sat, 22 Aug 2026 02:19:44 GMT</pubDate></item><item><title>Using Claude Code from China: Three Access Routes and How to Pick One</title><link>https://ai.roibest.com/blog/claude-code-china-access/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-code-china-access/</guid><description>Claude Code itself is not region-locked — the constraint is the API account behind it. Three routes resolve that: a first-party Anthropic account, a protocol-compatible provider, or a self-hosted gateway. Here is what each requires and who each one fits.</description><pubDate>Fri, 21 Aug 2026 03:12:42 GMT</pubDate></item><item><title>Open-Source LLM Gateway: The Four Projects Worth Shortlisting and How to Choose</title><link>https://ai.roibest.com/blog/llm-gateway-open-source/</link><guid isPermaLink="true">https://ai.roibest.com/blog/llm-gateway-open-source/</guid><description>Four open-source LLM gateways cover most real deployments: LiteLLM, Portkey, Envoy AI Gateway, and the Kong/APISIX AI plugins. Here is what separates them, the five questions that actually decide your pick, and what self-hosting really costs.</description><pubDate>Fri, 21 Aug 2026 03:00:41 GMT</pubDate></item><item><title>OpenAI API Proxy: What It Does, How to Switch Your Client, and What to Verify</title><link>https://ai.roibest.com/blog/openai-api-proxy/</link><guid isPermaLink="true">https://ai.roibest.com/blog/openai-api-proxy/</guid><description>An OpenAI API proxy forwards OpenAI-format requests to a host you choose, so your client keeps working after a one-line base URL change. Here is what it buys you, when a gateway fits better, and the five behaviors to verify before routing production traffic.</description><pubDate>Thu, 20 Aug 2026 03:14:26 GMT</pubDate></item><item><title>Anthropic Claude API Access: The Official Route, What Blocks People, and the Two Alternatives (2026)</title><link>https://ai.roibest.com/blog/anthropic-claude-api-access/</link><guid isPermaLink="true">https://ai.roibest.com/blog/anthropic-claude-api-access/</guid><description>A claude.ai subscription does not include API access. Here is the full path — console organization, payment, verification, workspace-scoped keys, rate-limit tiers — plus the cloud and gateway routes and what each changes about your integration.</description><pubDate>Wed, 19 Aug 2026 02:26:20 GMT</pubDate></item><item><title>Claude API Pricing in 2026: Rates, Caching Discounts, and What Actually Drives Your Bill</title><link>https://ai.roibest.com/blog/claude-api-pricing/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-pricing/</guid><description>Claude API and Anthropic API pricing are the same list: per-million-token rates with output billed at 5x input. Current rates by model, how prompt caching and batching cut the bill, why thinking tokens count as output, and the five levers that actually reduce spend.</description><pubDate>Tue, 18 Aug 2026 03:12:31 GMT</pubDate></item><item><title>LLM API Gateway: What It Does, When You Need One, and What to Check</title><link>https://ai.roibest.com/blog/llm-api-gateway/</link><guid isPermaLink="true">https://ai.roibest.com/blog/llm-api-gateway/</guid><description>An LLM API gateway puts one endpoint and one credential in front of multiple model providers, then handles routing, fallback, per-key quotas, usage accounting, and logging. How it differs from a proxy, when you do not need one, and the seven things to verify before choosing.</description><pubDate>Mon, 17 Aug 2026 03:24:32 GMT</pubDate></item><item><title>What Is an OpenAI-Compatible API? Endpoints, Clients, and How to Switch</title><link>https://ai.roibest.com/blog/openai-compatible-api/</link><guid isPermaLink="true">https://ai.roibest.com/blog/openai-compatible-api/</guid><description>An OpenAI-compatible API copies the Chat Completions request and response shape, so existing clients work after a base-URL change. What the compatible surface covers, where it breaks, and how to verify an endpoint in three curl calls.</description><pubDate>Sat, 15 Aug 2026 17:52:25 GMT</pubDate></item><item><title>Claude API Proxy: How It Works, When You Need One, and How to Choose (2026)</title><link>https://ai.roibest.com/blog/claude-api-proxy/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-api-proxy/</guid><description>A Claude API proxy forwards your requests to Anthropic and returns the response — solving network reachability, shared billing, and OpenAI-compatible tooling. How it works, proxy vs relay vs gateway, and five checks before you switch.</description><pubDate>Fri, 14 Aug 2026 06:43:57 GMT</pubDate></item><item><title>Connect Claude Code to ROIBest AI in Three Steps</title><link>https://ai.roibest.com/blog/claude-code-setup/</link><guid isPermaLink="true">https://ai.roibest.com/blog/claude-code-setup/</guid><description>Pointing Claude Code at ROIBest AI takes two environment variables. What actually trips people up is picking the wrong protocol group for the key, and adding /v1 to ANTHROPIC_BASE_URL — one curl call catches both.</description><pubDate>Fri, 07 Aug 2026 11:58:28 GMT</pubDate></item><item><title>Connect Codex to ROIBest AI: Configuring the OpenAI-Compatible Protocol</title><link>https://ai.roibest.com/blog/codex-setup/</link><guid isPermaLink="true">https://ai.roibest.com/blog/codex-setup/</guid><description>Codex speaks the OpenAI protocol, so the key, the endpoint and the config format all differ from Claude Code: an OpenAI-compatible key, a base_url that does include /v1, and settings in config.toml rather than environment variables.</description><pubDate>Fri, 07 Aug 2026 01:00:00 GMT</pubDate></item><item><title>Calling ROIBest AI Directly from SDKs and curl</title><link>https://ai.roibest.com/blog/sdk-and-curl/</link><guid isPermaLink="true">https://ai.roibest.com/blog/sdk-and-curl/</guid><description>The official SDKs need no code changes — only a different base URL and key. Here are all the endpoints the gateway exposes, plus the most common source of 404s: the OpenAI SDK wants /v1, the Anthropic SDK does not.</description><pubDate>Thu, 06 Aug 2026 03:00:00 GMT</pubDate></item><item><title>Importing Desktop Client Config with CC Switch</title><link>https://ai.roibest.com/blog/cc-switch-import/</link><guid isPermaLink="true">https://ai.roibest.com/blog/cc-switch-import/</guid><description>Manual setup is not hard, it is just easy to mistype. The import flow generates config that matches the key&apos;s own protocol group, taking the two easiest mistakes — group mismatch and the /v1 suffix — off your hands.</description><pubDate>Thu, 06 Aug 2026 02:00:00 GMT</pubDate></item><item><title>Reading Your Usage Records: Models, Tokens, Cache and Cost</title><link>https://ai.roibest.com/blog/usage-records-explained/</link><guid isPermaLink="true">https://ai.roibest.com/blog/usage-records-explained/</guid><description>The console records usage per request. This is what each column means, and where to look first when a call costs more than the last one — most of the variance comes down to model, output length and cache hits.</description><pubDate>Wed, 05 Aug 2026 03:00:00 GMT</pubDate></item><item><title>Setting Quotas and Expiry on API Keys</title><link>https://ai.roibest.com/blog/api-key-quota-expiry/</link><guid isPermaLink="true">https://ai.roibest.com/blog/api-key-quota-expiry/</guid><description>One account can issue many keys, each with its own quota and expiry. This is not just access control — it is the cheapest way to turn &apos;who spent what&apos; from one opaque bill into readable data.</description><pubDate>Wed, 05 Aug 2026 02:00:00 GMT</pubDate></item></channel></rss>