Seedance 2.0 | Special Offer ✦ 10% OFF NOW
meta
meta-llama/llama-3-8b-instruct

meta-llama/llama-3-8b-instruct

8,192 context · $0.03/M input tokens · $0.04/M output tokens

Meta's latest class of model (Llama 3) launched with a variety of sizes & flavors. This 8B instruct-tuned version was optimized for high quality dialogue usecases. It has demonstrated strong...

料金

従量課金

初期費用なし、使った分だけお支払い

入力$0.03 / M Tokens
出力$0.04 / M Tokens

API 利用

以下のコード例を使用して API と連携してください:

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="meta-llama/llama-3-8b-instruct",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

モデル紹介

Meta-Llama llama-3-8b-instruct

Meta's latest class of model (Llama 3) launched with a variety of sizes & flavors

Meta's latest class of model (Llama 3) launched with a variety of sizes & flavors. This 8B instruct-tuned version was optimized for high quality dialogue usecases.

It has demonstrated strong performance compared to leading closed-source models in human evaluations.

To read more about the model release, click here. Usage of this model is subject to Meta's Acceptable Use Policy.


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 8192 context window for long document handling
  • Competitive pricing at $0.0/$0.0 per million tokens

Key Features

  • Context Window: 8192 tokens
  • Max Output: 16384 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderMeta-Llama
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window8192 tokens
Max Output16384 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.0
Output$0.0

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: meta-llama/llama-3-8b-instruct


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="meta-llama/llama-3-8b-instruct",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "meta-llama/llama-3-8b-instruct",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: meta-llama/llama-3-8b-instruct
  • Provider: Meta-Llama

情報

プロバイダーmeta
タイプllm

対応機能

入力
テキスト
出力
テキスト
コンテキスト8,192
最大出力16,384
Vision-
Function Calling✓ 対応

API アクセスガイド

Base URLhttps://llm.wavespeed.ai/v1
API エンドポイントchat/completions
モデル IDmeta-llama/llama-3-8b-instruct

Llama 3 8b Instruct API

meta-llama/llama-3-8b-instruct

Meta's latest class of model (Llama 3) launched with a variety of sizes & flavors. This 8B instruct-tuned version was optimized for high quality dialogue usecases. It has demonstrated strong...

入力

$0.03 /M

出力

$0.04 /M

コンテキスト

8K

最大出力

16K

ツール利用

対応

WaveSpeedAIでLlama 3 8b Instructを試す

統合APIを通じてLlama 3 8b Instructにアクセス — OpenAI互換、コールドスタートなし、透明な料金。

Playgroundを開く

Llama 3 8b Instructに関するよくある質問

Llama 3 8b Instruct API の料金はいくらですか?+

WaveSpeedAI の料金: 入力 100 万トークンあたり $0.03、出力 100 万トークンあたり $0.04。プロンプトキャッシュとバッチ処理は別途料金で、長く反復的なワークロードでは実効コストを下げられます。

Llama 3 8b Instruct のコンテキストウィンドウはどのくらいですか?+

Llama 3 8b Instruct はリクエストあたり最大 8K のコンテキストトークンと最大 16K の出力トークンをサポートします。

Llama 3 8b Instruct は OpenAI 互換ですか?+

はい。WaveSpeedAI は OpenAI 互換エンドポイント https://llm.wavespeed.ai/v1 で Llama 3 8b Instruct を提供します。公式 OpenAI SDK のベース URL をこちらに変更し WaveSpeedAI の API キーを設定するだけで利用可能です。

Llama 3 8b Instruct を使い始めるには?+

WaveSpeedAI にサインインし、Access Keys で API キーを作成して、上に表示されているモデル ID を指定して https://llm.wavespeed.ai/v1/chat/completions にリクエストを送信してください。新規アカウントには Llama 3 8b Instruct を試用できる無料クレジットが付与されます。

関連 LLM API