> ## Documentation Index
> Fetch the complete documentation index at: https://mixroute.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon Ergo 1.0

> Call Amazon Ergo 1.0 on MixRoute and read its current OpenAI-format response.

Amazon Ergo 1.0 is an open-weight, text-in/text-out reasoning model for coding and long-running agents. AWS publishes a 1M-token context window and up to 128K output tokens.

Console lists `POST /v1/messages` and `POST /v1/chat/completions`. In our tests, `/v1/messages` returned text, but its response was an OpenAI `chat.completion`, not an Anthropic Messages response. `/v1/chat/completions` returned HTTP 200 with empty assistant content.

Use a direct HTTP request with the headers shown below. Read `choices[0].message.content`; do not use the Anthropic SDK response parser for this route.

## Request example

Set `MIXROUTE_API_KEY` before running the example.

```bash theme={null}
curl https://api.mixroute.ai/v1/messages \
  -H "x-api-key: $MIXROUTE_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ergo-1.0",
    "messages": [{"role": "user", "content": "Reply with exactly MODEL_OK and nothing else."}],
    "max_tokens": 1024,
    "stream": false
  }'
```

This example demonstrates non-streaming text only. The Console registry lists the advertised routes separately from the behavior observed above.

## Reference

* [Console model endpoints](https://mixroute.ai/docs/api-reference/model-endpoints.md)
* [Amazon Bedrock model card](https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-amazon-ergo-1-0.html)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.