Llama 3 8B Lunaris API

Llama 3 8B Lunaris on AIMLAPI.

Modalities
Image, TextText
In / Out price
$0.0529/$0.0529per 1M
Context window
8K tokens
Released
Aug 13, 2024

Llama 3 8B Lunaris overview

Llama 3 8B Lunaris specs

Model ID
sao10k/l3-lunaris-8b
Developer
Sao10K
Context window
8,192 tokens
Max output
7,372 tokens
Input
Image, Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

What is Llama 3 8B Lunaris API?

Where to Use Llama 3 8B Lunaris

Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.

Agentic and multi-step workflows
Reliable tool-calling and instruction-following suit agent loops that plan, call tools, and iterate.

Use cases

Roleplay and creative storytelling are documented use cases for Llama 3 8B Lunaris, which is described as a roleplaying model and as handling roleplay, creative storytelling, and multi-turn dialogue well.

General text generation and conversation are documented use cases, since the model is described as a versatile generalist with text generation and conversation capabilities.

Multi-turn dialogue is specifically called out as a strength, with the model noted for maintaining character consistency across multiple personas.

Multi-step prompts, planning, and deeper analysis are also documented as good fits for this model.

Capabilities

  • Function calling
  • Reasoning
  • Streaming
  • Structured outputs
  • Web search

Llama 3 8B Lunaris API pricing

Llama 3 8B Lunaris pricing in US dollars
UsagePriceUnit
Input$0.05291M tokens
Output$0.05291M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Llama 3 8B Lunaris vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Llama 3 8B Lunaris$0.0529$0.0529
Small 3$0.0529$0.0846
RedPajama-INCITE Chat (3B)$0.105$0.105
Gemma 3 (4B)$0.0529$0.1058
Llama 3.1 Euryale 70B v2.2$1.53$1.53

How to use the Llama 3 8B Lunaris API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "sao10k/l3-lunaris-8b",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Llama 3 8B Lunaris FAQ

What is the context window of Llama 3 8B Lunaris?

Llama 3 8B Lunaris has a 8,192 tokens context window and can return up to 16,384 tokens.

What inputs and outputs does Llama 3 8B Lunaris support?

Llama 3 8B Lunaris takes image, text as input and returns text.

What is the model ID for Llama 3 8B Lunaris?

Use sao10k/l3-lunaris-8b as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

How much does Llama 3 8B Lunaris cost?

Llama 3 8B Lunaris costs $0.0529 input and $0.0529 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does Llama 3 8B Lunaris support streaming?

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

Can Llama 3 8B Lunaris read images?

Yes, Llama 3 8B Lunaris accepts image input alongside text.

Start building with Llama 3 8B Lunaris

Llama 3 8B Lunaris API

sao10k/l3-lunaris-8b

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "sao10k/l3-lunaris-8b",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'