on main help sign in
docs(readme): add bedrock and vertex info
commit5df3ebbe8eb7dbcc501f9c2b3f4ae2608ebc5fad authorChristian Rocha <christian@rocha.is> dateMon 4 Aug 2025, 23:01 (1 year ago) parent889b176
1 file changed+42
README.md+42
README.md+42
@@ -314,6 +314,48 @@ Custom Anthropic-compatible providers follow this format:
314314}
315315```
316316
317+### Amazon Bedrock
318+
319+Crush currently supports running Anthropic models through Bedrock, with caching disabled.
320+
321+* A Bedrock provider will appear once you have AWS configured, i.e. `aws configure`
322+* Crush also expects the `AWS_REGION` or `AWS_DEFAULT_REGION` to be set
323+* To use a specific AWS profile set `AWS_PROFILE` in your environment, i.e. `AWS_PROFILE=myprofile crush`
324+
325+### Vertex AI Platform
326+
327+Vertex AI will appear in the list of available providers when `VERTEXAI_PROJECT` and `VERTEXAI_LOCATION` are set. You will also need to be authenticated:
328+
329+```bash
330+gcloud auth application-default login
331+```
332+
333+To add specific models to the configuration, configure as such:
334+
335+```json
336+{
337+ "$schema": "https://charm.land/crush.json",
338+ "providers": {
339+ "vertexai": {
340+ "models": [
341+ {
342+ "id": "claude-sonnet-4@20250514",
343+ "name": "VertexAI Sonnet 4",
344+ "cost_per_1m_in": 3,
345+ "cost_per_1m_out": 15,
346+ "cost_per_1m_in_cached": 3.75,
347+ "cost_per_1m_out_cached": 0.3,
348+ "context_window": 200000,
349+ "default_max_tokens": 50000,
350+ "can_reason": true,
351+ "supports_attachments": true
352+ }
353+ ]
354+ }
355+ }
356+}
357+```
358+
317359## Logging
318360
319361Sometimes you need to look at logs. Luckily, Crush logs all sorts of