Start and experiment
1,000credit
60,000 VND
The same 60 VND/credit rate, with no package lock-in or long-term commitment.
Built for Claude Code and your existing SDK
Top up from 10,000 d, get an API key, and run. Keep your Anthropic or OpenAI SDK — change only the endpoint and pay for what you use.
No monthly plan. No maintenance fee. Every request is recorded with its model, token usage, and actual cost.
Claude Code → NapKey
Keep the workflow, change the gateway
# Keep Claude Code. Change only the gateway.export ANTHROPIC_BASE_URL="https://api.napkey.io.vn"export ANTHROPIC_AUTH_TOKEN="nk_live_..."claude20K d
Minimum top-up
2
API protocols
0 d
Maintenance fee
Why NapKey
The proxy layer holds SSE connections through multi-minute sessions. No re-buffering, no cutting mid-stream.
Requests round-robin across multiple upstream accounts. When one fails, traffic moves on and you never see it.
Opus, Sonnet and Haiku share a single key. Switch models with one field in the body, not a new credential.
Integration
NapKey speaks both the Anthropic Messages API and OpenAI Chat Completions. Your existing client works as-is.
export ANTHROPIC_BASE_URL="https://api.napkey.io.vn"
export ANTHROPIC_AUTH_TOKEN="nk_live_..."
claudefrom anthropic import Anthropic
client = Anthropic(
base_url="https://api.napkey.io.vn",
api_key="nk_live_...",
)
message = client.messages.create(
model="claude-sonnet-4.6",
max_tokens=1024,
messages=[{"role": "user", "content": "Chao Claude"}],
)
print(message.content[0].text)import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.napkey.io.vn/v1',
apiKey: process.env.NAPKEY_API_KEY,
});
const res = await client.chat.completions.create({
model: 'claude-sonnet-4.6',
messages: [{ role: 'user', content: 'Chao Claude' }],
stream: true,
});
for await (const chunk of res) {
process.stdout.write(chunk.choices[0]?.delta?.content ?? '');
}curl https://api.napkey.io.vn/v1/messages \
-H "x-api-key: $NAPKEY_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-sonnet-4.6",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Chao Claude"}]
}'Read the full integration guide
Pricing
No manual input, output, or cache-token conversion. NapKey records upstream-reported credits and deducts the wallet at a fixed 60 VND per credit.
Start and experiment
1,000credit
60,000 VND
The same 60 VND/credit rate, with no package lock-in or long-term commitment.
Regular building
5,000credit
300,000 VND
The same 60 VND/credit rate, with no package lock-in or long-term commitment.
Higher volume
10,000credit
600,000 VND
The same 60 VND/credit rate, with no package lock-in or long-term commitment.
Published rate
1 credit = 60 VND
Credits come from actual usage reported by the upstream service. The dashboard records each request, model, reference token counts, credits, and settled VND for reconciliation.
NapKey wallet credits do not expire under the current policy. Settled usage always retains the rate effective when it was recorded.
Billing
Bank transfer, or scan a VietQR code with the amount and reference already filled in. Transfers reconcile automatically.
Each request deducts the tokens it actually used at the model's rate. No rounding up, no per-request minimum.
Each request writes one usage row: model, input tokens, output tokens, cost. Reconcilable down to a single call.
Developer trust
The useful question is not whether a gateway says it is secure. It is whether you can inspect health, correlate a request, audit its charge, and understand where data goes.
Operating principle
Every charge should trace back to one request. Every limitation should be written down before you top up.
NapKey exposes the mechanics developers can verify: a public liveness probe, request IDs, per-call usage records, explicit upstream boundaries, and visible key-revocation propagation state.
Compatibility contract
NapKey competes by reducing migration cost, not by inventing a proprietary SDK. Use established Anthropic and OpenAI request shapes, inspect the active catalog, and move away by restoring your endpoint.
Portable by design
Your integration should outlive your gateway vendor.
The Compatibility Center records what is accepted natively, what NapKey translates, and where behavior can still differ from an upstream provider.
Open Compatibility CenterPut in 10,000 d, grab a key, change the endpoint. If it is not for you, that is all you spent.