Environments

JoyToken uses separate documentation and API domains for development and production. Use one environment consistently for a given API key, application, and test run.

Documentation Domains

EnvironmentDocumentation URL
Developmenthttps://dev-docs.joytokens.ai
Productionhttps://docs.joytokens.ai

API Base URLs

EnvironmentJoyToken API base URLOpenAI-compatible base URL
Developmenthttps://api-dev.joytokens.aihttps://api-dev.joytokens.ai/openai/v1
Productionhttps://api.joytokens.aihttps://api.joytokens.ai/openai/v1

Environment Variables

Development:

$export JOY_TOKEN_API_BASE_URL="https://api-dev.joytokens.ai"
$export JOY_TOKEN_OPENAI_BASE_URL="https://api-dev.joytokens.ai/openai/v1"

Production:

$export JOY_TOKEN_API_BASE_URL="https://api.joytokens.ai"
$export JOY_TOKEN_OPENAI_BASE_URL="https://api.joytokens.ai/openai/v1"

Keep development and production API keys separate. Production keys should have production budgets, allowed IPs, and model policies configured before traffic is sent.