Official sources
Official sites, docs, pricing pages, model lists, terms and privacy pages are the primary evidence.
Choose a safer API relay path for Codex CLI, Cursor, Claude Code or Cline. Start from a setup guide, then compare 302.AI, OpenRouter and other providers by public docs, pricing visibility, model coverage, update status and workflow fit.
Use official APIs for sensitive production work. Use relay or gateway providers such as 302.AI or OpenRouter only after checking public docs, pricing, model support, privacy policy and tool compatibility for your exact coding workflow.
We organize sources that users can open and recheck: official sites, API docs, pricing pages, model lists, terms, privacy policies and support channels. Missing information stays visible as a risk signal.
Official sites, docs, pricing pages, model lists, terms and privacy pages are the primary evidence.
If pricing, privacy, terms or support pages cannot be found, the field is shown as something to verify.
Sensitive code, production workloads and large prepaid balances should start from official APIs, cloud providers or self-hosted gateways.
Start with official APIs as the safety baseline. The gateway and relay entries below are verification candidates, not default recommendations.
Start here for production, sensitive code and compliance-heavy workflows. Third-party relays should be compared against these official routes, not treated as the default.
GPT, Codex-style workflows, OpenAI SDK and Responses API compatibility baseline.
Claude Code, Claude API and Anthropic-compatible behavior baseline.
Gemini API, multimodal model access and Google-native developer workflows.
DeepSeek API, low-cost reasoning/code models and official OpenAI-compatible reference.
| Entry | Provider | Type | Fit | Tool compatibility | Public links | Notes | Source / action |
|---|---|---|---|---|---|---|---|
| Check 1 | OpenRouter | Global aggregator | Benchmarking model availability, pricing, and a global API gateway baseline. | Codex CLI Cursor Cline | Not ideal for native Claude Code | ||
| Check 2 | SiliconFlow | China model platform | Low-cost DeepSeek, Qwen, embedding, image, and open model workloads. | Codex CLI Cursor Cline | Not ideal for native Claude Code | ||
| Check 3 | 302.AI | Global aggregator | Users who want both AI tools and API access under one account, while still checking official docs, pricing and privacy links before production use. | Codex CLI Cursor Cline | Not ideal for native Claude Code | ||
| Check 4 | DMXAPI | Enterprise gateway | Companies that need private deployment, auditability, and a managed API control layer. | Codex CLI Cursor Cline | Docs need checkingPricing needs checkingNot ideal for native Claude Code | ||
| Check 5 | MoleAPI | Claude Code friendly | Developers who want one endpoint for Claude Code, Cursor, Codex CLI, and common OpenAI SDK workflows. | Claude Code Codex CLI Cursor Cline | Run low-balance test first | ||
| Check 6 | API易 | Claude Code friendly | Teams that care about documentation, invoices, and visible model/pricing references. | Claude Code Codex CLI Cursor Cline | Run low-balance test first | ||
| Check 7 | 灵芽 API | Claude Code friendly | Users who primarily need copyable setup steps for AI coding terminals and editors. | Claude Code Codex CLI Cursor Cline | Run low-balance test first | ||
| Check 8 | 柏拉图 AI | Claude Code friendly | Users comparing Chinese relay services with coding-tool setup support. | Claude Code Codex CLI Cursor Cline | Pricing needs checking |
Model-first price tables are useful because users search by model first. This page starts with model intent, then maps each family to compatible providers and risk notes.
| Model | Official | Providers | Use case |
|---|---|---|---|
| Claude Opus | Anthropic | 4 | Claude Code, difficult refactors, architecture review, and careful code reasoning. |
| Claude Sonnet | Anthropic | 4 | Claude Code daily use, Cursor/Cline style agent workflows, and cost-sensitive coding tasks. |
| GPT / Codex | OpenAI | 8 | Codex CLI, OpenAI SDK, LiteLLM, Cursor, Cline, and OpenAI-compatible API workflows. |
| Gemini | 7 | Long context, multimodal prompts, agent experiments, and fallback routes. | |
| Llama | Meta | 2 | Open-weight deployments, local inference, fine-tuning, agent experiments, and cost-controlled production workloads. |
| Grok | xAI | 1 | Reasoning, tool-calling agents, conversational applications, coding assistance, and users already relying on the X/xAI ecosystem. |
| Access | Entry | Risk |
|---|---|---|
| Lowest risk | Official API Entry | Most reliable path, but payment, regional access, and official pricing may be less convenient for some users. |
| AI coding | Third-party Relays | Convenient, but check model source, logs, billing rules, uptime, and support responsiveness. |
| Model choice | Global Aggregators | Strong for discovery and comparison; verify whether your exact tool needs native Anthropic or OpenAI-compatible endpoints. |
| Low-cost models | Chinese Model Platforms | Treat them as model platforms first. Do not assume they can replace Claude Code native workflows. |
| Team control | Enterprise or Self-hosted Gateways | Best when governance matters more than the lowest sticker price. |
Most visitors are trying to solve one concrete setup problem. These entry points keep the path short.
AI API Relay Guide is an independent public-source checker for developers comparing AI API relay services, model gateways, and OpenAI-compatible platforms for GPT/Codex CLI, Claude Code, Cursor, Cline, and SDK workflows. We organize official sites, docs, pricing pages, model coverage, tool compatibility signals, update paths and risk notes so users can verify sources faster. The site does not sell shared accounts, resell subscriptions, or host user API keys.
The first version organizes visible information: official links, docs, pricing pages, model coverage, tool compatibility, privacy signals and risk notes. We do not claim a service is stable, fastest or best without a public evidence trail.
We do not sell shared accounts, resell subscriptions, host user API keys or encourage bypassing official platform limits. Provider pages keep risk notes and last-checked dates visible.