Skip to content
Rapid Router

Llama 3.1 8B Instruct

Live·Metamodel·Served by DeepInfra

Open Llama instruction model for multilingual chat, reasoning, and coding

Lowest costTools
Input / 1M
₹1.97
Output / 1M
₹3.93
Context
128K tokens
Max output
4K tokens
Input
Text
Released
2y ago

Providers

Every request goes to the cheapest healthy route and fails over to the next.

Loading the routes…

Latency and throughput appear after the first hourly test request to each provider, or once this model has traffic here. Every request goes to the cheapest healthy route and fails over to the next.

Pricing

What a call costs through Rapid Router, at the route requests go to.

Input tokens₹1.97 per 1M
Output tokens₹3.93 per 1M
Provider list priceExactly what your balance is debited; our fee is charged when you buy credits

What it supports

  • Tool calling (function calling)
  • JSON mode and structured output
  • Image input (vision)
  • Audio input
  • Extended reasoning
  • Streaming responses
  • OpenAI SDK, Anthropic SDK and any OpenAI-compatible client

Price in rupees

What Llama 3.1 8B Instruct costs through Rapid Router, converted at today's billing rate (₹98.25 per $). Top up with UPI or a card; a GST invoice follows every recharge.

RupeesUS dollars
1M input tokens₹1.97$0.020
1M output tokens₹3.93$0.040
1K input tokens₹0.002$0.00002
1K output tokens₹0.004$0.00004
A typical exchange: 1,300 tokens in, 400 out₹0.004$0.00004

Make a request

The same request you send to OpenAI today, pointed at https://rapidrouter.ai/api/v1.

curl https://rapidrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/meta-llama-3.1-8b-instruct",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

Frequently asked

What does Llama 3.1 8B Instruct cost in rupees?

Through Rapid Router, Llama 3.1 8B Instruct (meta-llama/meta-llama-3.1-8b-instruct) costs ₹1.97 per million input tokens and ₹3.93 per million output tokens, billed in Indian rupees from a prepaid balance. In dollars these are the provider's list prices, exactly what your balance is debited; the rupee figures are converted at our billing rate, the market rate plus a 4% currency margin. Our platform fee is charged once, when you buy credits.

How do I call Llama 3.1 8B Instruct through an OpenAI-compatible API?

Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to meta-llama/meta-llama-3.1-8b-instruct. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.

What is the context window of Llama 3.1 8B Instruct?

Llama 3.1 8B Instruct has a context window of 128,000 tokens on Rapid Router, and returns up to 4,096 output tokens per reply.

What can Llama 3.1 8B Instruct do?

On Rapid Router, Llama 3.1 8B Instruct supports tool calling.

Can I pay for Llama 3.1 8B Instruct in rupees with UPI?

Yes. Rapid Router bills in Indian rupees: top up with UPI or a card, get a GST invoice on every recharge, and Llama 3.1 8B Instruct is debited from that balance at the provider's list price per million tokens.

More Llama models

Compare and rank