The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(crusoe): split Custom API Base docs into two independent examples
Emmanuel Acheamponge08b8ef7b699
diff --git a/docs/my-website/docs/providers/crusoe.md b/docs/my-website/docs/providers/crusoe.mdindex 3079c593121..b28903c27c0 100644--- a/docs/my-website/docs/providers/crusoe.md+++ b/docs/my-website/docs/providers/crusoe.md@@ -147,21 +147,31 @@ model_list:## Custom API Base-```python showLineNumbers title="Custom API Base"+**Option 1: Environment variable**++```python showLineNumbers title="Custom API Base via env var"import os-import litellmfrom litellm import completion-# Using environment variableos.environ["CRUSOE_API_BASE"] = "https://custom.crusoecloud.com/v1"os.environ["CRUSOE_API_KEY"] = "" # your API key-# Or pass directly+response = completion(+ model="crusoe/meta-llama/Llama-3.3-70B-Instruct",+ messages=[{"content": "Hello!", "role": "user"}],+)+```++**Option 2: Pass directly**++```python showLineNumbers title="Custom API Base via parameter"+from litellm import completion+response = completion(model="crusoe/meta-llama/Llama-3.3-70B-Instruct",messages=[{"content": "Hello!", "role": "user"}],api_base="https://custom.crusoecloud.com/v1",- api_key="your-api-key"+ api_key="your-api-key",)```