Configuration Example

gateway:
  port: 8080

identity:
  device_id: "your-standardized-id"
  email: "user@example.com"

env:
  platform: darwin
  arch: arm64

upstream:
  base_url: https://api.anthropic.com
  api_key: "your-api-key"

Key Settings

identity (Required)

  • device_id - 64-char hex string
  • email - Standardized email

env

These values replace environment info in HTTP requests.

upstream

  • base_url - Anthropic API address
  • api_key - Your API key