01
Claude Code
Point Claude Code at NapKey and use your NapKey credential. Remove these overrides to return to the original provider.
ANTHROPIC_BASE_URL=https://api.napkey.io.vn
ANTHROPIC_AUTH_TOKEN=napkey_your_keyCompatibility Center
A versionable map of NapKey's public model catalog, protocol surface and migration paths. It separates supported request shapes from translated behavior so you can judge portability before routing production traffic.
01 / Model catalog
Live catalog from the gateway
This list comes from the public models endpoint when reachable. It describes accepted model identifiers, not a guarantee that every upstream account has capacity at this moment.
autoclaude-haiku-4.5claude-haiku-4.5-thinkingclaude-opus-4.5claude-opus-4.5-thinkingclaude-opus-4.6claude-opus-4.6-thinkingclaude-opus-4.7claude-opus-4.7-thinkingclaude-sonnet-4claude-sonnet-4-thinkingclaude-sonnet-4.5claude-sonnet-4.5-thinkingclaude-sonnet-4.6claude-sonnet-4.6-thinkinggpt-4gpt-4o02 / Protocol matrix
Supported means NapKey accepts the request surface. Translation may introduce behavioral differences; upstream-specific beta fields are not implied unless listed here.
| Feature | Anthropic | OpenAI | Contract |
|---|---|---|---|
| Messages API | Supported | — | Accepted at /v1/messages and documented aliases. |
| Chat Completions | — | Translated | OpenAI-shaped chat requests are translated onto the gateway data plane. |
| Responses API | — | Translated | Supported at /v1/responses; stored-response retention is disclosed in the data policy. |
| SSE streaming | Supported | Supported | Streaming is proxied; exact event details follow the selected protocol surface. |
| Tool use | Supported | Translated | Tool definitions and results cross the translation boundary when using OpenAI shapes. |
| Vision input | Supported | Translated | Accepted media still depends on the selected model and upstream capability. |
| Thinking variants | Supported | Model alias | Use an advertised -thinking identifier; reasoning behavior remains model-dependent. |
| Count tokens | Supported | — | Available at /v1/messages/count_tokens for Anthropic-shaped input. |
03 / Migration playbooks
Keep provider SDKs and application code where possible. Put endpoint and credentials in environment configuration so rollback remains a configuration change.
01
Point Claude Code at NapKey and use your NapKey credential. Remove these overrides to return to the original provider.
ANTHROPIC_BASE_URL=https://api.napkey.io.vn
ANTHROPIC_AUTH_TOKEN=napkey_your_key02
Keep the official SDK and request schema. Change the base URL and credential only.
base_url="https://api.napkey.io.vn"
api_key="napkey_your_key"03
Keep Chat Completions or Responses-shaped calls while NapKey translates them onto its data plane.
base_url="https://api.napkey.io.vn/v1"
api_key="napkey_your_key"