What is Llama 2?
Meta's pre-trained generative text model family, packaged here with an OpenAI-compatible API.
Which size should I choose?
7B on g4dn.xlarge for lower cost and faster responses; 70B on g4dn.12xlarge for more capable output.
Is it compatible with the OpenAI API?
Yes. It serves the OpenAI chat, completions, embeddings and models endpoints, so OpenAI SDKs work with a new base URL.
How do I test the API?
The developer guide has a Node.js script that calls /completions, /embeddings, /chat/completions and /models and prints the results.
What if I see a 502 Bad Gateway error?
The model is still loading. Wait about 5 minutes and refresh.
What if SSL does not set up automatically?
That happens when the domain is not on Route 53. SSH in and run sudo /root/certificate_generate_standalone.sh.
Is there a free trial?
No. The listings are billed per hour of software use plus the EC2 instance.