X-Majordomo-Key header. Nothing else.
OpenAI SDK
Anthropic SDK
cache_read_input_tokens, cache_creation_input_tokens) are tracked and priced separately.
Pydantic AI
majordomo-frameworks provides adapters for routing Pydantic AI agents through the gateway.
majordomo-llm
A unified async Python client for OpenAI, Anthropic, Gemini, and more — with built-in cost tracking, structured output, and multi-provider cascade. Route it through the gateway by passingbase_url and default_headers to get_llm_instance.
Metadata tagging
Add anyX-Majordomo-* header to tag requests for cost attribution. Works with all SDKs above.