Getting started
Connect to Model Gate with one API key and an OpenAI- or Anthropic-compatible client
Getting started\n\nModel Gate provides OpenAI- and Anthropic-compatible endpoints, a unified USD balance, and request-level usage records.\n\n## Base URLs\n\n- OpenAI-compatible: https://api.b2b-llm.com/v1\n- Anthropic-compatible: https://api.b2b-llm.com\n\n## Create an API key\n\nCreate a key in the API Keys section. New production keys start with mg_live_. Copy the value immediately because it is shown only once.\n\n## Choose a model\n\nclaude-opus-5claude-sonnet-5deepseek-v4-flashdeepseek-v4-proglm-5.2gpt-5.4-minigpt-5.6-lunagpt-5.6-solgpt-5.6-terrakimi-k2.7-codekimi-k3mimo-v2.5mimo-v2.5-prominimax-m3qwen3.7-maxqwen3.7-plusclaude-opus-4-6claude-opus-4-7claude-opus-4-8claude-sonnet-4-6gpt-5.4gpt-5.5
claude-opus-5claude-sonnet-5deepseek-v4-flashdeepseek-v4-proglm-5.2gpt-5.4-minigpt-5.6-lunagpt-5.6-solgpt-5.6-terrakimi-k2.7-codekimi-k3mimo-v2.5mimo-v2.5-prominimax-m3qwen3.7-maxqwen3.7-plusclaude-opus-4-6claude-opus-4-7claude-opus-4-8claude-sonnet-4-6gpt-5.4gpt-5.5