mirror of
https://github.com/whit3rabbit/anyllm-proxy.git
synced 2026-10-12 08:00:34 +00:00
Adds bedrock_native.rs (Converse/InvokeModel with SigV4) and generic_passthrough.rs catch-all for Translate mode. Adds comprehensive provider reference docs (docs/providers/, docs/ENDPOINTS.md). Fixes managed backend admin UI (BackendForm, ManagedBackendsSection) and admin route/model handler issues. Adds automated model pricing update workflow (scripts/update_pricing.py, .github/workflows/update-pricing.yml). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2.1 KiB
2.1 KiB
SambaNova
High-throughput inference on SN40L reconfigurable dataflow architecture, focused on large Llama and frontier models.
LiteLLM prefix: sambanova/
Status: Stub — routes through OpenAI-compatible client
Docs: https://docs.sambanova.ai/cloud/latest/get-started/overview.html
Authentication
| Variable | Required | Description |
|---|---|---|
SAMBANOVA_API_KEY |
Yes | API key from cloud.sambanova.ai |
Quick Start
Single-Backend (env vars)
BACKEND=sambanova SAMBANOVA_API_KEY=your-key cargo run -p anyllm_proxy
# Docker:
docker run -e BACKEND=sambanova -e SAMBANOVA_API_KEY=your-key -e PROXY_OPEN_RELAY=true -p 3000:3000 followthewhit3rabbit/anyllm-proxy
LiteLLM YAML Config
model_list:
- model_name: llama-3.3-70b
litellm_params:
model: sambanova/Meta-Llama-3.3-70B-Instruct
api_key: "env:SAMBANOVA_API_KEY"
Usage Examples
Anthropic Messages API
curl http://localhost:3000/v1/messages \
-H "Content-Type: application/json" \
-H "x-api-key: $PROXY_API_KEYS" \
-d '{"model": "Meta-Llama-3.3-70B-Instruct", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'
OpenAI Chat Completions API
curl http://localhost:3000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $PROXY_API_KEYS" \
-d '{"model": "Meta-Llama-3.3-70B-Instruct", "messages": [{"role": "user", "content": "Hello"}]}'
Capabilities
| Feature | Supported |
|---|---|
| Chat Completions | ✓ |
| Streaming | ✓ |
| Tool Use | — |
| Embeddings | — |
| Vision | — |
| Batch | — |
Notable Models
| Model ID | Context | Notes |
|---|---|---|
Meta-Llama-3.3-70B-Instruct |
128k | Llama 3.3 70B |
Meta-Llama-3.1-405B-Instruct |
16k | Llama 3.1 405B |
Llama-4-Scout-17B-16E-Instruct |
131k | Llama 4 Scout MoE |
Notes
SambaNova's SN40L chip uses a dataflow architecture that avoids GPU memory bandwidth bottlenecks, enabling high throughput on large-parameter models. Tool use is not supported. Model IDs use the full HuggingFace-style name (e.g. Meta-Llama-3.3-70B-Instruct).