Llama 3 (8B) API

Llama-3 (8B) is a compact, open-source language model by Meta.
Output
$0.21 / 1M

How to use Llama 3 (8B) API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to .

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Llama 3 (8B) API Pricing

TypePrice
Input
$0.21 / 1M
Output
$0.21 / 1M

Llama 3 (8B) vs other models

ModelInputOutputContextBest for
Llama 3 (8B)
This page
$0.21 / 1M
$0.21 / 1M
$1.26 / 1M
$1.26 / 1M
$0.945 / 1M
$0.945 / 1M
$0.84 / 1M
$0.84 / 1M

Frequently asked questions

Llama 3 (8B) is priced at input $0.21 / 1M, output $0.21 / 1M.

Yes, Llama 3 (8B) can stream responses as they are generated.

Yes, Llama 3 (8B) supports both function calling and structured outputs.

Llama 3 (8B) was built by Meta.

No. The listed capabilities are function calling, streaming, and structured outputs only, with no image or video input support.

It is accessed via the v1 endpoint.

Start building with Llama 3 (8B)

Get API Key
1000+ models, one API.