Get started
Anthropic
Protect an Anthropic key with allowed models and a daily budget.
Node.js
import Anthropic from '@anthropic-ai/sdk'; // .env: ANTHROPIC_GHOST_KEY=gk_anthropic_...const anthropic = new Anthropic({ apiKey: process.env.ANTHROPIC_GHOST_KEY, baseURL: 'https://api.vallkey.com' });Python
import osfrom anthropic import Anthropic client = Anthropic(api_key=os.environ["ANTHROPIC_GHOST_KEY"], base_url="https://api.vallkey.com")Default rules: messages, token counting and listing models, at most 60 requests a minute.
Still have a question?
We read every email, usually within a day.