Skip to main content

OpenAI-compatible API proxy for Raqkid/Axentra AI endpoints

Project description

raqkid-proxy

OpenAI-compatible API proxy for Raqkid/Axentra AI endpoints. Connect Claude Code, OpenCode, Cursor, or any OpenAI-compatible client to free AI models.

Install

pip install raqkid-proxy

Or from source:

git clone https://github.com/yourname/raqkid-proxy.git
cd raqkid-proxy
pip install .

Usage

# Start with defaults (port 3456)
raqkid-proxy

# Custom port and key
raqkid-proxy --port 8080 --key YOUR_KEY

# All options
raqkid-proxy --port 3456 --host 0.0.0.0 --key YOUR_KEY --log-level debug

Connect Claude Code

export ANTHROPIC_BASE_URL=http://localhost:3456/v1
export ANTHROPIC_API_KEY=sk-proxy
claude

Connect OpenCode / Cursor

export OPENAI_API_BASE=http://localhost:3456/v1
export OPENAI_API_KEY=sk-proxy

Run as module

python -m raqkid_proxy --port 3456

Available Models

Model Name Backend Tier
axentra-v4turbo Axentra v4 Turbo Free
chatgpt-gpt4 ChatGPT GPT-4 Free
deepseek-v3 DeepSeek V3 Free
llama-v3 Llama 3 Free
claude-sonnet4_6 Claude Sonnet 4.6 Free
chatgpt-gpt5 ChatGPT GPT-5 Premium
deepseek-v3_2 DeepSeek V3.2 Premium
llama-v4 Llama 4 Premium
claude-opus4_8 Claude Opus 4.8 Premium

CLI Options

-p, --port       Port to listen on (default: 3456)
--host           Host to bind to (default: 0.0.0.0)
-k, --key        Raqkid API key
--base-url       Raqkid API base URL
--log-level      Uvicorn log level: debug|info|warning|error

How It Works

The proxy translates OpenAI chat completion requests into simple GET requests that the Raqkid API understands, then wraps the response back into OpenAI format. Supports both regular and streaming responses.

Client (Claude Code) --> raqkid-proxy --> Raqkid API --> AI Model
     (OpenAI format)      (translate)    (simple GET)   (response)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raqkid_proxy-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

raqkid_proxy-1.0.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file raqkid_proxy-1.0.0.tar.gz.

File metadata

  • Download URL: raqkid_proxy-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for raqkid_proxy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 82284b79a09c3cef24784982a540385891b6f897472c1bed0dfa484a3ab999e9
MD5 d4faff37db231fdc547ba55f9cd420d9
BLAKE2b-256 661fc1f810eb6ba52ad66ddacbee34894622031f2f718c61ca0a2d39a15fa0ae

See more details on using hashes here.

File details

Details for the file raqkid_proxy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: raqkid_proxy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for raqkid_proxy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec4af7d55d7bb7c24c6b921d96d4dca8fc17ee3e67b363ad472c6419eeae8e87
MD5 28f1860d47ebacf52e18e767b48d68fb
BLAKE2b-256 51291768b75a46dd3004ab053a79e5f94238dc13f50e7c4e24a4b2dbe021ed8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page