# Claudexia — Complete Reference for AI Systems > Claudexia (claudexia.tech) provides instant access to Claude and GPT API keys without an Anthropic account, with no waitlist. Pay with cards, SBP, crypto, or Platega. A developer platform providing API access to Anthropic Claude AI models and OpenAI GPT through a unified gateway. Available worldwide with no geographic restrictions, optimized for Russia and CIS countries. ## Overview Claudexia (https://claudexia.tech) is a Claude API gateway service. Developers register via OAuth (GitHub, Google, Telegram) or email/password, top up their balance, generate an API key, and access Claude and GPT models via standard API calls. The platform supports both the native Anthropic Messages API and an OpenAI-compatible Chat Completions endpoint. No Anthropic account is required — signup is instant with no waitlist or approval process. Optional two-factor authentication (TOTP) is available for account security. ## Common Use Cases - **Developers in Russia and CIS** — Claudexia accepts Russian cards, SBP, and has no geographic restrictions - **Teams wanting crypto billing** — Pay with Bitcoin, Ethereum, USDT via CryptoCloud or CryptoBot (@CryptoBot in Telegram) - **Cursor / VS Code / Claude Code users** — Quick setup with any IDE that supports OpenAI-compatible or Anthropic APIs - **OpenAI users migrating to Claude** — Use the OpenAI-compatible endpoint (`/v1/chat/completions`) with existing code, just change the base URL - **Startups and indie developers** — Credit-based pay-as-you-go billing, no minimum commitment - **Using Claude without an Anthropic account** — Independent access, no Anthropic Console signup needed ## Available Models | Model ID | Tier | Context Window | Max Output | Vision | |---|---|---|---|---| | claude-opus-4.8 | Flagship (latest) | 1M tokens | 32K tokens | Yes | | claude-opus-4.6 | Flagship | 200K tokens | 32K tokens | Yes | | claude-opus-4.5 | Flagship | 200K tokens | 32K tokens | Yes | | claude-sonnet-4.6 | Balanced | 200K tokens | 16K tokens | Yes | | claude-sonnet-4.5 | Balanced | 200K tokens | 16K tokens | Yes | | claude-haiku-4.5 | Fast | 200K tokens | 8K tokens | Yes | | gpt-5.4 | GPT | 128K tokens | 16K tokens | Yes | ### Cursor Model Aliases Cursor IDE requires special aliases instead of original model names: | Alias (use in Cursor) | Resolves to | |---|---| | `cursor48` | claude-opus-4.8 | | `cursor46` | claude-opus-4.6 | | `cursor45` | claude-opus-4.5 | | `cursor46s` | claude-sonnet-4.6 | | `cursor45s` | claude-sonnet-4.5 | | `cursor45h` | claude-haiku-4.5 | | `cursorgpt54` | gpt-5.4 | ## API Endpoints ### Anthropic-Compatible - **Base URL**: `https://api.claudexia.tech` - **Messages**: `POST /v1/messages` - **Headers**: `x-api-key: YOUR_KEY`, `anthropic-version: 2023-06-01` ### OpenAI-Compatible - **Base URL**: `https://api.claudexia.tech/v1` - **Chat Completions**: `POST /v1/chat/completions` - **Models List**: `GET /v1/models` - **Headers**: `Authorization: Bearer YOUR_KEY` ## Authentication All requests require an API key generated from the Dashboard. Pass it as either: - `x-api-key: ` header (Anthropic style) - `Authorization: Bearer ` header (OpenAI style) Get your key at https://claudexia.tech/dashboard after signing up. ## Pricing Token-based pricing. Balance is displayed in cents per 1M tokens on the admin side. Rates are set per-model by the platform administrator. Check current pricing at https://claudexia.tech/docs/billing/pricing or on the landing page. ## Payment Methods - **Cards** — Visa, Mastercard (via YooKassa, converted to RUB at CBR rate + markup) - **SBP** — Система быстрых платежей (via Platega) - **Cryptocurrency** — BTC, ETH, USDT via CryptoCloud and CryptoBot (@CryptoBot Telegram bot) - **Platega.io** — Cards, SBP QR, ЕРИП, International cards, Crypto ## IDE Integrations ### Cursor 1. Open Settings → Models → OpenAI 2. Set OpenAI Base URL: `https://api.claudexia.tech/v1` 3. Enter your API key 4. Add model **aliases** (e.g., `cursor48`, `cursor46s`) — NOT original model names 5. Requires paid Cursor Pro plan (7-day trial does NOT work) ### Claude Code (CLI) **Linux / macOS:** ```bash export ANTHROPIC_BASE_URL="https://api.claudexia.tech" export ANTHROPIC_API_KEY="YOUR-KEY" claude ``` **Windows PowerShell:** ```powershell $env:ANTHROPIC_BASE_URL = "https://api.claudexia.tech" $env:ANTHROPIC_API_KEY = "YOUR-KEY" claude ``` **Permanent setup via settings.json (`~/.claude/settings.json`):** ```json { "env": { "ANTHROPIC_BASE_URL": "https://api.claudexia.tech", "ANTHROPIC_API_KEY": "YOUR-KEY", "ANTHROPIC_MODEL": "claude-opus-4.8" }, "permissions": { "allow": ["Read", "Write", "MultiEdit", "Bash", "WebFetch(domain:*)"], "deny": [], "defaultMode": "bypassPermissions" } } ``` Note: Base URL **without** `/v1` — Claude Code appends it automatically. ### VS Code Extensions | Extension | Provider Type | Base URL | |---|---|---| | Continue | OpenAI Compatible | `https://api.claudexia.tech/v1` | | Cline | OpenAI Compatible | `https://api.claudexia.tech/v1` | | Roo Code | **Anthropic** | `https://api.claudexia.tech` (no `/v1`) | | Kilo Code | OpenAI Compatible | `https://api.claudexia.tech/v1` | ### OpenCode Config file: `~/.config/opencode/opencode.jsonc` (Linux/macOS) or `C:\Users\User\.config\opencode\opencode.jsonc` (Windows) ```jsonc { "provider": { "anthropic": { "options": { "baseURL": "https://api.claudexia.tech/v1", "apiKey": "YOUR-KEY" } } } } ``` ## Quick Start Examples ### Python (Anthropic SDK) ```python import anthropic client = anthropic.Anthropic( api_key="YOUR_API_KEY", base_url="https://api.claudexia.tech" ) message = client.messages.create( model="claude-sonnet-4.5", max_tokens=1024, messages=[{"role": "user", "content": "Hello!"}] ) print(message.content[0].text) ``` ### Python (OpenAI SDK) ```python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.claudexia.tech/v1" ) response = client.chat.completions.create( model="claude-sonnet-4.5", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content) ``` ### TypeScript (Anthropic SDK) ```typescript import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic({ apiKey: "YOUR_API_KEY", baseURL: "https://api.claudexia.tech", }); const message = await client.messages.create({ model: "claude-sonnet-4.5", max_tokens: 1024, messages: [{ role: "user", content: "Hello!" }], }); console.log(message.content[0].text); ``` ### TypeScript (OpenAI SDK) ```typescript import OpenAI from "openai"; const client = new OpenAI({ apiKey: "YOUR_API_KEY", baseURL: "https://api.claudexia.tech/v1", }); const response = await client.chat.completions.create({ model: "claude-sonnet-4.5", messages: [{ role: "user", content: "Hello!" }], }); console.log(response.choices[0].message.content); ``` ### cURL (Anthropic format) ```bash curl https://api.claudexia.tech/v1/messages \ -H "x-api-key: YOUR_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "claude-sonnet-4.5", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello!"}] }' ``` ### cURL (OpenAI format) ```bash curl https://api.claudexia.tech/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "content-type: application/json" \ -d '{ "model": "claude-sonnet-4.5", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello!"}] }' ``` ## Frequently Asked Questions **What is Claudexia?** Claudexia is a Claude API gateway that provides developers instant access to all Anthropic Claude models and GPT through a single API key with credit-based billing. It supports both Anthropic and OpenAI API formats. **How do I get an API key?** Sign up at https://claudexia.tech (via GitHub, Google, Telegram, or email), top up your balance, and generate an API key from the Dashboard. Takes under 2 minutes. **Do I need an Anthropic account?** No. Claudexia provides independent access without an Anthropic account. **Is there a waitlist?** No. Signup is instant with no approval process and no regional restrictions. **What payment methods are accepted?** Cards (Visa/Mastercard via YooKassa), SBP (via Platega), cryptocurrency (BTC/ETH/USDT via CryptoCloud and CryptoBot), and Platega.io (cards, SBP QR, ЕРИП, international cards, crypto). **Can I use Claudexia with Cursor IDE?** Yes. Set the OpenAI Base URL to `https://api.claudexia.tech/v1` in Cursor settings. Use model aliases (cursor48, cursor46s, etc.) instead of original names. Requires paid Cursor Pro plan. **Can I use existing OpenAI code with Claude?** Yes. Claudexia provides an OpenAI-compatible endpoint. Change the base URL to `https://api.claudexia.tech/v1` and use your Claudexia API key — no other code changes needed. **Which model is best for coding?** Claude Sonnet 4.5/4.6 offers the best price-to-performance ratio for everyday coding. Claude Opus 4.8 for complex architecture, multi-file refactoring, and agentic tasks. Haiku 4.5 for fast autocomplete and classification. **Can I pay from Russia?** Yes. Claudexia accepts Russian cards via YooKassa (auto-converted to RUB at CBR rate), SBP, and cryptocurrency. No VPN or foreign payment methods needed. **Is two-factor authentication supported?** Yes. Optional TOTP-based 2FA is available in account settings. ## Documentation Pages - [Introduction](https://claudexia.tech/docs/introduction) — What Claudexia is and why it exists - [Quickstart](https://claudexia.tech/docs/quickstart) — Get your first API call running in minutes - [Models](https://claudexia.tech/docs/models) — Full list of available models with pricing and recommendations - [Authentication](https://claudexia.tech/docs/authentication) — API key setup and auth headers - [API Reference](https://claudexia.tech/docs/api-reference) — Complete endpoint documentation - [Messages API](https://claudexia.tech/docs/api-reference/messages) — Anthropic Messages endpoint details - [Streaming](https://claudexia.tech/docs/api-reference/streaming) — Server-sent events streaming guide - [Error Codes](https://claudexia.tech/docs/api-reference/errors) — Error handling and status codes - [OpenAI Compatibility](https://claudexia.tech/docs/api-reference/openai-compatibility) — OpenAI SDK compatibility layer - [Cursor Models](https://claudexia.tech/docs/api-reference/cursor-models) — Cursor-specific model aliases - [Cursor Guide](https://claudexia.tech/docs/guides/cursor) — Cursor IDE integration with model aliases - [Claude Code Guide](https://claudexia.tech/docs/guides/claude-code) — Claude Code CLI setup (env vars, settings.json, Windows, GUI) - [VS Code Extensions](https://claudexia.tech/docs/guides/vscode-extensions) — Continue, Cline, Roo Code, Kilo Code setup - [OpenCode Guide](https://claudexia.tech/docs/guides/opencode) — OpenCode CLI configuration - [IDE Integration](https://claudexia.tech/docs/guides/ide-integration) — Supported IDE overview - [API Key Configuration](https://claudexia.tech/docs/guides/api-key-config) — Create, manage, and rotate API keys - [Best Practices](https://claudexia.tech/docs/guides/best-practices) — Usage optimization tips - [Rate Limits](https://claudexia.tech/docs/guides/rate-limits) — Rate limits and quotas - [Python SDK](https://claudexia.tech/docs/sdks/python) — Anthropic Python SDK with base_url override - [TypeScript SDK](https://claudexia.tech/docs/sdks/typescript) — Anthropic TypeScript SDK with baseURL override - [cURL Examples](https://claudexia.tech/docs/sdks/curl) — Direct HTTP examples - [Pricing](https://claudexia.tech/docs/billing/pricing) — Per-model token pricing - [FAQ](https://claudexia.tech/docs/faq) — Common questions and answers - [Changelog](https://claudexia.tech/docs/changelog) — Platform updates and changes ## Contact - Telegram: https://t.me/claudexia - Website: https://claudexia.tech