Skip to content

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]

docs(model_access_guide.md): explain how model access works on litellm

Krrish Dholakia020a66c01fbf
diff --git a/docs/my-website/docs/proxy/model_access_guide.md b/docs/my-website/docs/proxy/model_access_guide.md
index 1c4e5a56bec..4eb273facba 100644
--- a/docs/my-website/docs/proxy/model_access_guide.md
+++ b/docs/my-website/docs/proxy/model_access_guide.md
@@ -18,6 +18,17 @@ model_list:
In here, we onboard a model deployment for the model `gpt-4o` and assign it to the model group `my-custom-model`.
+## Client-side request
+
+Here's what a client-side request looks like:
+
+```bash
+curl --location 'http://localhost:4000/chat/completions' \
+-H 'Authorization: Bearer <your-api-key>' \
+-H 'Content-Type: application/json' \
+-d '{"model": "my-custom-model", "messages": [{"role": "user", "content": "Hello, how are you?"}]}'
+
+```
## Access Control
When you give access to a key/user/team, you are giving them access to a "model group".