Providers | Min (tokens/s) | Max (tokens/s) | Avg (tokens/s) |
---|---|---|---|
Anthropic | 9.35 | 45.32 | 12.55 |
Amazon Bedrock | 31 | 40.13 | 36.23 |
Vertex AI | 5.11 | 40.76 | 25.68 |
Providers | Min (ms) | Max (ms) | Avg (ms) |
---|---|---|---|
Anthropic | 672 | 780 | 724.24 |
Amazon Bedrock | 1419 | 3444 | 2056.50 |
Vertex AI | 1766 | 31222 | 6114.00 |
pythonfrom openai import OpenAI client = OpenAI( base_url="https://zenmux.ai/api/v1", api_key="<ZenMux_API_KEY>", ) completion = client.chat.completions.create( model="anthropic/claude-3.5-haiku", messages=[ { "role": "user", "content": [ { "type": "text", "text": "What is in this image?" } ] } ] ) print(completion.choices[0].message.content)