返回资讯中心
外部精选
软件工程
#开发者实时流

Show HN: Zhuan – one API key for Claude and GPT at ~25% of official prices

ZHUAN provides API access to Claude, GPT and other models. Set your API endpoint and key to use a compatible AI assistant, with online top-ups, usage-based billing and usage tracking.

Hacker News 最新zhuanxyz2026/11/23 · 今天9 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

ZHUAN provides API access to Claude, GPT and other models. Set your API endpoint and key to use a compatible AI assistant, with online top-ups, usage-based billing and usage tracking.

from openai import OpenAI

client = OpenAI(api_key="sk-zhuan-your-key", base_url="https://key.zhuan.xyz/v1") response = client.chat.completions.create( model="gpt-6.2-astra", messages=[{"role": "user", "content": "Hello!"}])

Anthropic

Copy URL

from anthropic import Anthropic

client = Anthropic(api_key="sk-zhuan-your-key", base_url="https://key.zhuan.xyz/proxy") response = client.messages.create( model="claude-fable-5-2", max_tokens=256, messages=[{"role": "user", "content": "Hello!"}])

The right model for every taskClaudeGPTCode generationText and reasoningImages and tools

Know the price. Then start building.

All models and prices ↗

Anthropicclaude-fable-5-2

$1.99

Input / 1M tokens · Output $9.94list price $8 / $40−75.2%

Anthropicclaude-opus-5-5

$0.95

Input / 1M tokens · Output $4.73list price $4 / $20−76.3%

OpenAIgpt-6.2-astra

$0.76

Input / 1M tokens · Output $3.8list price $8 / $40−90.5%

OpenAIgpt-6.2-sol

$0.19

Input / 1M tokens · Output $0.95list price $2 / $10−90.5%

Daily sync · 23 models · 2026-11-23 06:31 UTC

USD per million tokens. Prices follow the synchronized model catalog. Actual charges are determined by each key's platform usage records.

Verify actual model responses and capabilities with fingerprint comparisons, capability evaluations and other methods. Use a third-party testing tool or any other verification service you choose.

Open model fingerprint tester ↗ Third-party tool · Fingerpoint Detector View API integration options →

Assess results across multiple indicators. Test requests are billed by actual usage.

From your first call to a production app. Clear data and control at every step.

Use standard SDKs and API protocols, including streaming responses, without redesigning your workflow.

See models, input and output tokens, and actual spend. Prices are listed per million tokens so budgets stay clear.

Each account has one effective API key. Generate it after a confirmed top-up; later top-ups increase your balance. Unused balance stays in your account when an old key is revoked.

Register with an alphanumeric username or email address. Sign in to manage your balance and keys.

Generate your API key after a top-up is confirmed. Later top-ups add to your account balance. Revoking a key preserves unused credit so you can generate a replacement.

Point your SDK to key.zhuan.xyz and track usage and remaining budgets in the console.

Register, top up and generate a key, then check the result and charge of a small request.

Configure the endpoint and model ID, make text requests and read streamed responses.

Configure the Claude Messages endpoint, output limits and streaming.

Usually, you only need to change the API URL and key. Use https://key.zhuan.xyz/v1 for OpenAI-compatible requests and https://key.zhuan.xyz/proxy for Anthropic.

New accounts start with zero balance. After an online top-up is confirmed, generate one API key. Later top-ups are credited automatically. Revoking an old key preserves your balance and lets you generate a replacement.

A key's pricing ratio is locked when it is created and retained for budget additions. Base model prices may change; refer to that key's prices and usage records in the console.

Send your question and request ID via Telegram to @zhuanxyzbot. Never send passwords or complete API keys.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →